linux-next/drivers/bus/fsl-mc
Diana Craciun 998fb7badf bus/fsl-mc: Refactor the MSI domain creation in the DPRC driver
The DPRC driver is not taking into account the msi-map property
and assumes that the icid is the same as the stream ID. Although
this assumption is correct, generalize the code to include a
translation between icid and streamID.

Furthermore do not just copy the MSI domain from parent (for child
containers), but use the information provided by the msi-map property.

If the msi-map property is missing from the device tree retain the old
behaviour for backward compatibility ie the child DPRC objects
inherit the MSI domain from the parent.

Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200619082013.13661-12-lorenzo.pieralisi@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2020-07-28 15:51:32 +01:00
..
dpbp.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpcon.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpmcp.c bus: fsl-mc: change mc_command in fsl_mc_command 2018-03-23 15:52:48 +01:00
dprc-driver.c bus/fsl-mc: Refactor the MSI domain creation in the DPRC driver 2020-07-28 15:51:32 +01:00
dprc.c bus: fsl-mc: add the fsl_mc_get_endpoint function 2019-10-31 14:19:45 -07:00
fsl-mc-allocator.c bus: fsl-mc: remove explicit device_link_del 2019-08-16 14:17:35 -05:00
fsl-mc-bus.c bus/fsl-mc: Refactor the MSI domain creation in the DPRC driver 2020-07-28 15:51:32 +01:00
fsl-mc-msi.c bus/fsl-mc: Refactor the MSI domain creation in the DPRC driver 2020-07-28 15:51:32 +01:00
fsl-mc-private.h bus/fsl-mc: Refactor the MSI domain creation in the DPRC driver 2020-07-28 15:51:32 +01:00
Kconfig staging: fsl-mc: merge fix for CONFIG_FSL_MC_BUS moving 2018-02-26 15:33:47 +01:00
Makefile staging: fsl-mc: Move DPCON out of staging 2018-03-14 13:18:42 +01:00
mc-io.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
mc-sys.c bus: fsl-mc: change mc_command in fsl_mc_command 2018-03-23 15:52:48 +01:00