Re: [PATCH] Revert "powerpc/64: irq_work avoid interrupt when called with hardware irqs enabled"

2020-04-06 Thread Michael Ellerman
On Thu, 2020-04-02 at 12:04:01 UTC, Nicholas Piggin wrote: > This reverts commit ebb37cf3ffd39fdb6ec5b07111f8bb2f11d92c5f. > > That commit does not play well with soft-masked irq state manipulations > in idle, interrupt replay, and possibly others due to tracing code > sometimes using

[PATCH] Revert "powerpc/64: irq_work avoid interrupt when called with hardware irqs enabled"

2020-04-02 Thread Nicholas Piggin
This reverts commit ebb37cf3ffd39fdb6ec5b07111f8bb2f11d92c5f. That commit does not play well with soft-masked irq state manipulations in idle, interrupt replay, and possibly others due to tracing code sometimes using irq_work_queue (e.g., in trace_hardirqs_on()). That can cause PACA_IRQ_DEC to