powerpc/traps: Make unrecoverable NMIs die instead of panic
authorNicholas Piggin <npiggin@gmail.com>
Fri, 8 May 2020 04:34:07 +0000 (14:34 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:10:35 +0000 (00:10 +1000)
commit265d6e588d87194c2fe2d6c240247f0264e0c19b
treebab70ed39ea336741a5457cf8adabac801de3901
parentbbbc8032b00f8ef287894425fbdb691049e28d39
powerpc/traps: Make unrecoverable NMIs die instead of panic

System Reset and Machine Check interrupts that are not recoverable due
to being nested or interrupting when RI=0 currently panic. This is not
necessary, and can often just kill the current context and recover.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Link: https://lore.kernel.org/r/20200508043408.886394-16-npiggin@gmail.com
arch/powerpc/kernel/traps.c