summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/mmu.h
diff options
context:
space:
mode:
authorChristophe Leroy2018-10-13 11:16:22 +0200
committerMichael Ellerman2018-10-20 04:26:47 +0200
commitdaf00ae71dad8aa05965713c62558aeebf2df48e (patch)
treeedbe832761588a0b06835ec2e612bb5fa6a61b3c /arch/s390/include/asm/mmu.h
parentpowerpc/64/module: REL32 relocation range check (diff)
downloadkernel-qcow2-linux-daf00ae71dad8aa05965713c62558aeebf2df48e.tar.gz
kernel-qcow2-linux-daf00ae71dad8aa05965713c62558aeebf2df48e.tar.xz
kernel-qcow2-linux-daf00ae71dad8aa05965713c62558aeebf2df48e.zip
powerpc/traps: restore recoverability of machine_check interrupts
commit b96672dd840f ("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: b96672dd840f ("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>
Diffstat (limited to 'arch/s390/include/asm/mmu.h')
0 files changed, 0 insertions, 0 deletions