[tip: irq/drivers] irqchip/imx-mu-msi: Fix MSI dispatch through the parent domain
From: tip-bot2 for Peng Fan
Date: Tue Dec 01 2026 - 04:09:45 EST
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: f4d1b28288245264ee6b8c15d7a119ba609e027d
Gitweb: https://git.kernel.org/tip/f4d1b28288245264ee6b8c15d7a119ba609e027d
Author: Peng Fan <peng.fan@xxxxxxx>
AuthorDate: Sun, 15 Nov 2026 22:11:25 +08:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Tue, 01 Dec 2026 10:05:24 +01:00
irqchip/imx-mu-msi: Fix MSI dispatch through the parent domain
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>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
Link: https://patch.msgid.link/20261115-imx-mu-msi-v1-1-8beb58854ca4@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 54e8d15..3366fc4 100644
--- a/drivers/irqchip/irq-imx-mu-msi.c
+++ b/drivers/irqchip/irq-imx-mu-msi.c
@@ -237,6 +237,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;
}