[PATCH v2] powerpc/64: Fix perf profiling asynchronous interrupt handlers

Michael Ellerman patch-notifications at ellerman.id.au
Sun Feb 5 20:41:45 AEDT 2023


On Sat, 21 Jan 2023 20:01:56 +1000, Nicholas Piggin wrote:
> Interrupt entry sets the soft mask to IRQS_ALL_DISABLED to match the
> hard irq disabled state. So when should_hard_irq_enable() returns true
> because we want PMI interrupts in irq handlers, MSR[EE] is enabled but
> PMIs just get soft-masked. Fix this by clearing IRQS_PMI_DISABLED before
> enabling MSR[EE].
> 
> This also tidies some of the warnings, no need to duplicate them in
> both should_hard_irq_enable() and do_hard_irq_enable().
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/64: Fix perf profiling asynchronous interrupt handlers
      https://git.kernel.org/powerpc/c/c28548012ee2bac55772ef7685138bd1124b80c3

cheers


More information about the Linuxppc-dev mailing list