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

From: Peng Fan

Date: Sun Nov 15 2026 - 09:11:50 EST


From: Peng Fan <peng.fan@xxxxxxx>

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@xxxxxxx>
---
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