Files
linux/arch/powerpc/kernel
Nicholas Piggin 8defc2a5dd powerpc/64s/interrupt: Fix decrementer storm
The decrementer exception can fail to be cleared when the interrupt
returns in the case where the decrementer wraps with the next timer
still beyond decrementer_max. This results in a decrementer interrupt
storm. This is triggerable with small decrementer system with hard
and soft watchdogs disabled.

Fix this by always programming the decrementer if there was no timer.

Fixes: 0faf20a1ad ("powerpc/64s/interrupt: Don't enable MSR[EE] in irq handlers unless perf is in use")
Reported-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2022-01-25 16:50:10 +11:00
..
2021-12-01 00:06:44 +01:00
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:20 +11:00
2021-12-09 22:41:20 +11:00
…
2020-12-04 01:01:09 +11:00
2021-12-09 22:41:19 +11:00
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:21 +11:00
…
…
2021-04-30 11:20:40 -07:00
…
…
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:21 +11:00
2021-11-16 21:24:16 +11:00
…
…
2021-12-13 12:04:45 -06:00
…
2021-08-19 09:02:55 +09:00
2021-12-09 22:41:21 +11:00