On Sat, 21 Jan 2023 20:26:18 +1000, Nicholas Piggin wrote:
> Interrupt handlers called by soft-pending irq replay code can run
> softirqs, softirq replay enables and disables local irqs, which allows
> interrupts to come in including soft-masked interrupts, and it can
> cause pending irqs to be
Interrupt handlers called by soft-pending irq replay code can run
softirqs, softirq replay enables and disables local irqs, which allows
interrupts to come in including soft-masked interrupts, and it can
cause pending irqs to be replayed again. That makes the soft irq replay
state machine and
Use irq_enter/irq_exit around irq replay to prevent softirqs running
while interrupts are being replayed. Instead they run at the irq_exit()
call where reentrancy is less problematic. A new PACA_IRQ_REPLAYING is
added to prevent interrupt handlers hard-enabling EE while being
replayed.
---
I