Skip to content

Commit a4aaecc

Browse files
groeckjoergroedel
authored andcommitted
iommu: Add missing dependencies
parisc:allmodconfig, xtensa:allmodconfig, and possibly others generate the following Kconfig warning. warning: (IPMMU_VMSA && ARM_SMMU && ARM_SMMU_V3 && QCOM_IOMMU) selects IOMMU_IO_PGTABLE_LPAE which has unmet direct dependencies (IOMMU_SUPPORT && HAS_DMA && (ARM || ARM64 || COMPILE_TEST && !GENERIC_ATOMIC64)) IOMMU_IO_PGTABLE_LPAE depends on (COMPILE_TEST && !GENERIC_ATOMIC64), so any configuration option selecting it needs to have the same dependencies. Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent 2bd6bf0 commit a4aaecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/iommu/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ config EXYNOS_IOMMU_DEBUG
278278
config IPMMU_VMSA
279279
bool "Renesas VMSA-compatible IPMMU"
280280
depends on ARM || IOMMU_DMA
281-
depends on ARCH_RENESAS || COMPILE_TEST
281+
depends on ARCH_RENESAS || (COMPILE_TEST && !GENERIC_ATOMIC64)
282282
select IOMMU_API
283283
select IOMMU_IO_PGTABLE_LPAE
284284
select ARM_DMA_USE_IOMMU
@@ -373,7 +373,7 @@ config MTK_IOMMU_V1
373373
config QCOM_IOMMU
374374
# Note: iommu drivers cannot (yet?) be built as modules
375375
bool "Qualcomm IOMMU Support"
376-
depends on ARCH_QCOM || COMPILE_TEST
376+
depends on ARCH_QCOM || (COMPILE_TEST && !GENERIC_ATOMIC64)
377377
select IOMMU_API
378378
select IOMMU_IO_PGTABLE_LPAE
379379
select ARM_DMA_USE_IOMMU

0 commit comments

Comments
 (0)