Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Benjamin Herrenschmidt 230b303479 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: <stable@vger.kernel.org> [v3.4+]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: Steven Rostedt <rostedt@goodmis.org>
2013-06-15 12:33:30 +10:00
..
2013-04-23 16:05:05 +10:00
2013-04-23 16:05:05 +10:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2013-04-26 16:08:17 +10:00
2013-04-08 17:39:27 +02:00
2011-11-28 21:13:18 +02:00
2011-03-31 11:26:23 -03:00
2013-05-14 16:00:17 +10:00
2013-05-14 16:00:17 +10:00
2013-05-14 16:00:17 +10:00
2011-03-31 11:26:23 -03:00
2012-11-15 15:02:44 +11:00
2013-04-18 13:03:53 +10:00
2013-04-08 17:39:27 +02:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2013-05-08 06:36:49 +10:00
2013-04-23 16:05:05 +10:00