[tip: irq/core] genirq: Resend pending interrupts after handle_simple_irq()
From: tip-bot2 for Avi Weiss
Date: Mon Nov 09 2026 - 09:16:26 EST
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 1aed0e209f0c3bb1f28d4d69c2fc23528d30981e
Gitweb: https://git.kernel.org/tip/1aed0e209f0c3bb1f28d4d69c2fc23528d30981e
Author: Avi Weiss <thnkslprpt@xxxxxxxxx>
AuthorDate: Sun, 01 Nov 2026 12:16:35 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Mon, 09 Nov 2026 14:59:39 +01:00
genirq: Resend pending interrupts after handle_simple_irq()
Commit 2c9e7f857400 ("genirq: Teach handle_simple_irq() to resend an
in-progress interrupt") sets IRQS_PENDING when an interrupt arrives
while another CPU is handling the IRQ. However, handle_simple_irq()
does not check for the pending interrupt after the initial handling
completes, so no resend is requested and the interrupt remains pending
without being signalled.
Check IRQS_PENDING after handle_irq_event() and request a resend, as
handle_fasteoi_irq() already does.
Fixes: 2c9e7f857400 ("genirq: Teach handle_simple_irq() to resend an in-progress interrupt")
Signed-off-by: Avi Weiss <thnkslprpt@xxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Reviewed-by: Marc Zyngier <maz@xxxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
Link: https://patch.msgid.link/20261101101635.270221-1-thnkslprpt@xxxxxxxxx
---
kernel/irq/chip.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index de754db..4a131dd 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -626,6 +626,8 @@ void handle_simple_irq(struct irq_desc *desc)
kstat_incr_irqs_this_cpu(desc);
handle_irq_event(desc);
+ if (unlikely(desc->istate & IRQS_PENDING))
+ check_irq_resend(desc, false);
}
EXPORT_SYMBOL_GPL(handle_simple_irq);