Re: powerpc/64s: fix may_hard_irq_enable for PMI soft masking

2018-02-08 Thread Michael Ellerman
On Sat, 2018-02-03 at 07:17:50 UTC, Nicholas Piggin wrote: > The soft IRQ masking code has to hard-disable interrupts in cases > where the exception is not cleared by the masked handler. External > interrupts used this approach for soft masking. Now recently PMU > interrupts do the same thing. >

Re: [PATCH] powerpc/64s: fix may_hard_irq_enable for PMI soft masking

2018-02-06 Thread Nicholas Piggin
On Tue, 6 Feb 2018 15:30:43 +0530 Madhavan Srinivasan wrote: > On Saturday 03 February 2018 12:47 PM, Nicholas Piggin wrote: > > vThe soft IRQ masking code has to hard-disable interrupts in cases > > where the exception is not cleared by the masked handler. External > >

Re: [PATCH] powerpc/64s: fix may_hard_irq_enable for PMI soft masking

2018-02-06 Thread Madhavan Srinivasan
On Saturday 03 February 2018 12:47 PM, Nicholas Piggin wrote: vThe soft IRQ masking code has to hard-disable interrupts in cases where the exception is not cleared by the masked handler. External interrupts used this approach for soft masking. Now recently PMU interrupts do the same thing.

[PATCH] powerpc/64s: fix may_hard_irq_enable for PMI soft masking

2018-02-02 Thread Nicholas Piggin
The soft IRQ masking code has to hard-disable interrupts in cases where the exception is not cleared by the masked handler. External interrupts used this approach for soft masking. Now recently PMU interrupts do the same thing. The soft IRQ masking code additionally allowed for interrupt handlers