Re: [PATCH] powerpc/64s: Fix unrecoverable SLB crashes due to preemption check

2020-05-13 Thread Michael Ellerman
On Sun, 3 May 2020 00:33:16 +1000, Michael Ellerman wrote: > Hugh reported that his trusty G5 crashed after a few hours under load > with an "Unrecoverable exception 380". > > The crash is in interrupt_return() where we check lazy_irq_pending(), > which calls get_paca() and with

Re: [PATCH] powerpc/64s: Fix unrecoverable SLB crashes due to preemption check

2020-05-04 Thread Michael Ellerman
Hugh Dickins writes: > On Sun, 3 May 2020, Michael Ellerman wrote: > >> Hugh reported that his trusty G5 crashed after a few hours under load >> with an "Unrecoverable exception 380". >> >> The crash is in interrupt_return() where we check lazy_irq_pending(), >> which calls get_paca() and with

[PATCH] powerpc/64s: Fix unrecoverable SLB crashes due to preemption check

2020-05-02 Thread Michael Ellerman
Hugh reported that his trusty G5 crashed after a few hours under load with an "Unrecoverable exception 380". The crash is in interrupt_return() where we check lazy_irq_pending(), which calls get_paca() and with CONFIG_DEBUG_PREEMPT=y that goes to check_preemption_disabled() via