]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
genirq: Teach handle_simple_irq() to resend an in-progress interrupt
authorMarc Zyngier <maz@kernel.org>
Tue, 8 Jul 2025 17:33:52 +0000 (18:33 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 22 Jul 2025 20:33:00 +0000 (15:33 -0500)
commit2c9e7f857400ffecf16c49bc6d98ac43d4129fef
treea8dfc009d3f19163e2c85bdabd99654be9e8e0ce
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
genirq: Teach handle_simple_irq() to resend an in-progress interrupt

It appears that the defect outlined in 9c15eeb5362c4 ("genirq: Allow
fasteoi handler to resend interrupts on concurrent handling") also
affects some other less stellar MSI controllers, this time using
the handle_simple_irq() flow.

Teach this flow about irqd_needs_resend_when_in_progress(). Given
the invasive nature of this workaround, only this flow is updated.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20250708173404.1278635-2-maz@kernel.org
kernel/irq/chip.c