]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6020a8a7e6d1ede123f7d2539598079914f1cca9
treebab70ed39ea336741a5457cf8adabac801de3901
parentce080cae2a706b2bb7d96f64236cb369c0aabcd0
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