On Thu, 13 Oct 2022 16:44:18 +1000, Nicholas Piggin wrote:
It's possible for an interrupt returning to an irqs-disabled context to
lose a pending soft-masked irq because it branches to part of the exit
code for irqs-enabled contexts, which is meant to clear only the
PACA_IRQS_HARD_DIS flag from PACAIRQHAPPENED by zeroing the byte. This
just looks like a simple thinko from a recent commit (if there was no
hard mask pending, there would be no reason to clear it anyway).
[...]
Applied to powerpc/fixes.
[1/1] powerpc/64s/interrupt: Fix lost interrupts when returning to soft-masked context
https://git.kernel.org/powerpc/c/a4cb3651a174366cc85a677da9e3681fbe97fdae
cheers