]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fsl-mc: Remove MSI domain propagation to sub-devices
authorMarc Zyngier <maz@kernel.org>
Tue, 24 Feb 2026 10:09:31 +0000 (10:09 +0000)
committerChristophe Leroy (CS GROUP) <chleroy@kernel.org>
Thu, 26 Feb 2026 09:48:18 +0000 (10:48 +0100)
Only the root device generates MSIs (it is the only one talking to
the ITS), so propagating the domain is pretty pointless. Remove it.

Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com> # LX2160ARDB, LS2088ARDB
Tested-by: Sascha Bischoff <sascha.bischoff@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Thomas Gleixner <tglx@kernel.org>
Link: https://lore.kernel.org/r/20260224100936.3752303-2-maz@kernel.org
Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
drivers/bus/fsl-mc/fsl-mc-bus.c

index c117745cf206541dbb4a3528cd5fa9c913f51b47..1a6c8e3c0b27fc0f308a1c19375c9310127488d1 100644 (file)
@@ -854,14 +854,12 @@ int fsl_mc_device_add(struct fsl_mc_obj_desc *obj_desc,
        } else {
                /*
                 * A non-DPRC object has to be a child of a DPRC, use the
-                * parent's ICID and interrupt domain.
+                * parent's ICID.
                 */
                mc_dev->icid = parent_mc_dev->icid;
                mc_dev->dma_mask = FSL_MC_DEFAULT_DMA_MASK;
                mc_dev->dev.dma_mask = &mc_dev->dma_mask;
                mc_dev->dev.coherent_dma_mask = mc_dev->dma_mask;
-               dev_set_msi_domain(&mc_dev->dev,
-                                  dev_get_msi_domain(&parent_mc_dev->dev));
        }
 
        /*