Skip to content
Commit 998fb7ba authored by Diana Craciun's avatar Diana Craciun Committed by Catalin Marinas
Browse files

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: default avatarDiana Craciun <diana.craciun@oss.nxp.com>
Acked-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200619082013.13661-12-lorenzo.pieralisi@arm.com
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 2bcdd8f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment