[tip: irq/drivers] irqchip/bcm2712-mip: Drop MSI_CHIP_FLAG_SET_ACK
From: tip-bot2 for Joshua Covington
Date: Tue Dec 01 2026 - 15:16:30 EST
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: d62655b0b33259243a187eebdda14a5f01cad4c6
Gitweb: https://git.kernel.org/tip/d62655b0b33259243a187eebdda14a5f01cad4c6
Author: Joshua Covington <joshuacov@xxxxxxxxx>
AuthorDate: Sat, 21 Nov 2026 16:38:09
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Tue, 01 Dec 2026 21:12:22 +01:00
irqchip/bcm2712-mip: Drop MSI_CHIP_FLAG_SET_ACK
Commit f35508b93a2f ("irqchip/irq-bcm2712-mip: Set EOI/ACK flags in
msi_parent_ops") made the PCI MSI device chips ack through
irq_chip_ack_parent(). Neither the MIP middle chip nor the GIC below it
implements irq_ack, so any ack is a NULL pointer call.
The MIP vectors are handled by handle_fasteoi_irq(), which never acks,
so this only shows when mask_ack_irq() runs, e.g. when a chained
handler is removed. The RP1 driver does that on every teardown since
commit 82aa033fef52 ("misc: rp1: clear chained IRQ handlers on
teardown"), and the kernel panics:
pc : 0x0
lr : irq_chip_ack_parent+0x1c/0x28
Call trace:
__irq_do_set_handler+0x248/0x24c
irq_set_chained_handler_and_data+0x6c/0x94
rp1_unregister_interrupts+0x3c/0xa8
The MIP hierarchy has no use for an ack, like the drivers fixed by
commit fb0ea6e4878a ("irqchip: Drop MSI_CHIP_FLAG_SET_ACK from
unsuspecting MSI drivers").
Fixes: f35508b93a2f ("irqchip/irq-bcm2712-mip: Set EOI/ACK flags in msi_parent_ops")
Signed-off-by: Joshua Covington <joshuacov@xxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Reviewed-by: Andrea della Porta <andrea.porta@xxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
Link: https://patch.msgid.link/20261121163809.86620-1-joshuacov@xxxxxxxxx
---
drivers/irqchip/irq-bcm2712-mip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-bcm2712-mip.c b/drivers/irqchip/irq-bcm2712-mip.c
index a0f45df..5a13bb4 100644
--- a/drivers/irqchip/irq-bcm2712-mip.c
+++ b/drivers/irqchip/irq-bcm2712-mip.c
@@ -172,7 +172,7 @@ static const struct irq_domain_ops mip_middle_domain_ops = {
static const struct msi_parent_ops mip_msi_parent_ops = {
.supported_flags = MIP_MSI_FLAGS_SUPPORTED,
.required_flags = MIP_MSI_FLAGS_REQUIRED,
- .chip_flags = MSI_CHIP_FLAG_SET_EOI | MSI_CHIP_FLAG_SET_ACK,
+ .chip_flags = MSI_CHIP_FLAG_SET_EOI,
.bus_select_token = DOMAIN_BUS_GENERIC_MSI,
.bus_select_mask = MATCH_PCI_MSI,
.prefix = "MIP-MSI-",