[PATCH 1/2] irqchip/imx-mu-msi: Fix MSI dispatch through the parent domain

Peng Fan peng.fan at linux.dev
Sun Nov 15 06:11:25 PST 2026


From: Peng Fan <peng.fan at nxp.com>

Since commit 7b2f8aa005bc ("irqchip/imx-mu-msi: Switch to MSI parent")
the driver creates the MSI parent (nexus) domain in
imx_mu_msi_domains_init(), but never stores it in msi_data->msi_domain.
The chained interrupt handler therefore calls generic_handle_domain_irq()
with a NULL domain, which resolves the hardware interrupt against
irq_default_domain instead of the MU domain. Depending on the platform
this dispatches an unrelated interrupt or drops the MSI completely.

Save the nexus domain so that the handler resolves MU channel numbers
through the domain whose reverse map was populated when the MSI was
allocated.

Fixes: 7b2f8aa005bc ("irqchip/imx-mu-msi: Switch to MSI parent")
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 drivers/irqchip/irq-imx-mu-msi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/irq-imx-mu-msi.c b/drivers/irqchip/irq-imx-mu-msi.c
index 6d7baeeb2bc8..c42ea0797624 100644
--- a/drivers/irqchip/irq-imx-mu-msi.c
+++ b/drivers/irqchip/irq-imx-mu-msi.c
@@ -238,6 +238,7 @@ static int imx_mu_msi_domains_init(struct imx_mu_msi *msi_data, struct device *d
 		return -ENOMEM;
 	}
 	parent->dev = parent->pm_dev = dev;
+	msi_data->msi_domain = parent;
 	return 0;
 }
 

-- 
2.56.0




More information about the linux-arm-kernel mailing list