From: Benjamin Herrenschmidt Date: Sat, 15 Jun 2013 02:13:40 +0000 (+1000) Subject: powerpc: Fix missing/delayed calls to irq_work X-Git-Tag: v3.10-rc6~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=230b3034793247f61e6a0b08c44cf415f6d92981;p=pandora-kernel.git powerpc: Fix missing/delayed calls to irq_work When replaying interrupts (as a result of the interrupt occurring while soft-disabled), in the case of the decrementer, we are exclusively testing for a pending timer target. However we also use decrementer interrupts to trigger the new "irq_work", which in this case would be missed. This change the logic to force a replay in both cases of a timer boundary reached and a decrementer interrupt having actually occurred while disabled. The former test is still useful to catch cases where a CPU having been hard-disabled for a long time completely misses the interrupt due to a decrementer rollover. CC: [v3.4+] Signed-off-by: Benjamin Herrenschmidt Tested-by: Steven Rostedt --- Reading git-diff-tree failed