Re: powerpc/traps: restore recoverability of machine_check interrupts

2018-10-22 Thread Michael Ellerman
On Sat, 2018-10-13 at 09:16:22 UTC, Christophe Leroy wrote: > 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 regardle

Re: [PATCH] powerpc/traps: restore recoverability of machine_check interrupts

2018-10-15 Thread Nicholas Piggin
On Mon, 15 Oct 2018 09:40:50 +0200 Christophe LEROY wrote: > Cc: sta...@vger.kernel.org > > Le 13/10/2018 à 11:16, Christophe Leroy a écrit : > > commit b96672dd840f ("powerpc: Machine check interrupt is a non- > > maskable interrupt") added a call to nmi_enter() at the beginning of > > machine

Re: [PATCH] powerpc/traps: restore recoverability of machine_check interrupts

2018-10-15 Thread Christophe LEROY
Cc: sta...@vger.kernel.org Le 13/10/2018 à 11:16, Christophe Leroy a écrit : 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

[PATCH] powerpc/traps: restore recoverability of machine_check interrupts

2018-10-13 Thread Christophe Leroy
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