powerpc/64s/interrupt: masked handler debug check for previous hard disable
authorNicholas Piggin <npiggin@gmail.com>
Mon, 26 Sep 2022 05:43:03 +0000 (15:43 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2022 09:22:11 +0000 (19:22 +1000)
commitc39fb71a54f09977eba7584ef0eebb25047097c6
tree37cc3564cbc950e8daff64e9dcd52c3961732e1c
parent9524f2278f2e6925f147d9140c83f658e7a7c84f
powerpc/64s/interrupt: masked handler debug check for previous hard disable

Prior changes eliminated cases of masked PACA_IRQ_MUST_HARD_MASK
interrupts that re-fire due to MSR[EE] being enabled while they are
pending. Add a debug check in the masked interrupt handler to catch
if this occurs.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220926054305.2671436-6-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S