[PATCH] iommu/arm: Allow disabling Qualcomm support in arm_smmu_v3
From: Aaron Kling via B4 Relay
Date: Mon Mar 10 2025 - 02:13:02 EST
From: Aaron Kling <webgeek1234@xxxxxxxxx>
If ARCH_QCOM is enabled when building arm_smmu_v3, a dependency on
qcom-scm is added, which currently cannot be disabled. Add a prompt to
ARM_SMMU_QCOM to allow disabling this dependency.
Fixes: 0f0f80d9d5db ("iommu/arm: fix ARM_SMMU_QCOM compilation")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Aaron Kling <webgeek1234@xxxxxxxxx>
---
drivers/iommu/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index ec1b5e32b9725bc1104d10e5d7a32af7b211b50a..cca0825551959e3f37cc2ea41aeae526fdb73312 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -381,6 +381,7 @@ config ARM_SMMU_MMU_500_CPRE_ERRATA
config ARM_SMMU_QCOM
def_tristate y
+ prompt "Qualcomm SMMUv3 Support"
depends on ARM_SMMU && ARCH_QCOM
select QCOM_SCM
help
---
base-commit: 1110ce6a1e34fe1fdc1bfe4ad52405f327d5083b
change-id: 20250310-b4-qcom-smmu-d4ccaf66a1ce
Best regards,
--
Aaron Kling <webgeek1234@xxxxxxxxx>