[PATCH 2/4] iommu: arm-smmu-qcom: use identity domain for Shikra q6apm DAI
Mohit Sharma
mohit.sharma at oss.qualcomm.com
Thu Nov 19 08:47:03 PST 2026
Shikra's q6apm DAI is hosted on the modem DSP under SMMU stream ID
0x1cc. Its firmware consumes the SID-tagged shared-memory addresses as
physical addresses, so a translating domain leaves those addresses
unmapped and causes context faults when Linux owns the SMMU under EL2.
Add the Shikra q6apm DAI compatible to the Qualcomm SMMU client match
table. This selects an identity domain for this stream while retaining
an SMMU mapping scoped to its own stream ID.
Co-developed-by: Ajay Kumar Nandam <ajay.nandam at oss.qualcomm.com>
Signed-off-by: Ajay Kumar Nandam <ajay.nandam at oss.qualcomm.com>
Signed-off-by: Mohit Sharma <mohit.sharma at oss.qualcomm.com>
diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index a0550740185f..b340ca5f5117 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -435,6 +435,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = {
{ .compatible = "qcom,sdm670-mdss" },
{ .compatible = "qcom,sdm845-mdss" },
{ .compatible = "qcom,sdm845-mss-pil" },
+ { .compatible = "qcom,shikra-q6apm-dais" },
{ .compatible = "qcom,sm6115-mdss" },
{ .compatible = "qcom,sm6350-mdss" },
{ .compatible = "qcom,sm6375-mdss" },
--
2.34.1
More information about the linux-arm-kernel
mailing list