Re: powerpc/64: Fix __check_irq_replay missing decrementer interrupt

2017-08-03 Thread Michael Ellerman
On Tue, 2017-08-01 at 13:59:28 UTC, Nicholas Piggin wrote: > If the decrementer wraps and de-asserts the decrementer exception while > hard-disabled, __check_irq_replay has a test to notice the wrap when > interrupts are re-enabled. > > The decrementer check must be done when clearing the

[PATCH] powerpc/64: Fix __check_irq_replay missing decrementer interrupt

2017-08-01 Thread Nicholas Piggin
If the decrementer wraps and de-asserts the decrementer exception while hard-disabled, __check_irq_replay has a test to notice the wrap when interrupts are re-enabled. The decrementer check must be done when clearing the PACA_IRQ_HARD_DIS flag, not when the PACA_IRQ_DEC flag is tested. Previously