powerpc: Machine check interrupt is a non-maskable interrupt
authorNicholas Piggin <npiggin@gmail.com>
Wed, 19 Jul 2017 06:59:12 +0000 (16:59 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:04 +0000 (14:26 +1000)
commitb96672dd840f2231c3e0804842d380c401739733
treef3ac7fc5ba4f7d47a84874998ae6987fc72ac77b
parent6fcd6baa90aeec9dcbe30786e15c125bf50503b2
powerpc: Machine check interrupt is a non-maskable interrupt

Use nmi_enter similarly to system reset interrupts. This uses NMI
printk NMI buffers and turns off various debugging facilities that
helps avoid tripping on ourselves or other CPUs.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c