Files
linux/arch/powerpc/kernel
Christophe Leroy daf00ae71d powerpc/traps: restore recoverability of machine_check interrupts
commit b96672dd84 ("powerpc: Machine check interrupt is a non-
maskable interrupt") added a call to nmi_enter() at the beginning of
machine check restart exception handler. Due to that, in_interrupt()
always returns true regardless of the state before entering the
exception, and die() panics even when the system was not already in
interrupt.

This patch calls nmi_exit() before calling die() in order to restore
the interrupt state we had before calling nmi_enter()

Fixes: b96672dd84 ("powerpc: Machine check interrupt is a non-maskable interrupt")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-10-20 13:26:47 +11:00
..
2018-06-03 21:19:40 +10:00
2018-07-30 22:47:53 +10:00
2018-08-13 15:59:06 +10:00
2017-12-11 13:03:35 +11:00
2018-10-03 16:12:47 +10:00
2018-03-31 09:09:36 +11:00
2018-10-09 16:51:05 +11:00
2018-05-25 12:04:46 +10:00