]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/arm-smmu-qcom: add sdm670 adreno iommu compatible
authorRichard Acayan <mailingradian@gmail.com>
Thu, 14 Nov 2024 00:47:16 +0000 (19:47 -0500)
committerWill Deacon <will@kernel.org>
Mon, 9 Dec 2024 19:09:10 +0000 (19:09 +0000)
commit42314738906380cbd3b6e9caf3ad34e1b2d66035
treef19fd34abfb3a610b771717c9287a82148cb4064
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4
iommu/arm-smmu-qcom: add sdm670 adreno iommu compatible

Add the compatible for the separate IOMMU on SDM670 for the Adreno GPU.

This IOMMU has the compatible strings:

"qcom,sdm670-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2"

While the SMMU 500 doesn't need an entry for this specific SoC, the
SMMU v2 compatible should have its own entry, as the fallback entry in
arm-smmu.c handles "qcom,smmu-v2" without per-process page table support
unless there is an entry here. This entry can't be the
"qcom,adreno-smmu" compatible because dedicated GPU IOMMUs can also be
SMMU 500 with different handling.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241114004713.42404-6-mailingradian@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c