Skip to content

Commit d100ff3

Browse files
Sibi Sankarwilldeacon
authored andcommitted
iommu/arm-smmu-qcom: Request direct mapping for modem device
The modem remote processor has two access paths to DDR. One path is directly connected to DDR and another path goes through an SMMU. The SMMU path is configured to be a direct mapping because it's used by various peripherals in the modem subsystem. Typically this direct mapping is configured statically at EL2 by QHEE (Qualcomm's Hypervisor Execution Environment) before the kernel is entered. In certain firmware configuration, especially when the kernel is already in full control of the SMMU, defer programming the modem SIDs to the kernel. Let's add compatibles here so that we can have the kernel program the SIDs for the modem in these cases. Signed-off-by: Sibi Sankar <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 0602019 commit d100ff3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/iommu/arm-smmu-qcom.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ static const struct of_device_id qcom_smmu_client_of_match[] = {
1717
{ .compatible = "qcom,mdp4" },
1818
{ .compatible = "qcom,mdss" },
1919
{ .compatible = "qcom,sc7180-mdss" },
20+
{ .compatible = "qcom,sc7180-mss-pil" },
2021
{ .compatible = "qcom,sdm845-mdss" },
22+
{ .compatible = "qcom,sdm845-mss-pil" },
2123
{ }
2224
};
2325

0 commit comments

Comments
 (0)