]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Add missing dependencies
authorGuenter Roeck <linux@roeck-us.net>
Sun, 10 Sep 2017 20:43:37 +0000 (13:43 -0700)
committerJoerg Roedel <jroedel@suse.de>
Tue, 19 Sep 2017 09:42:19 +0000 (11:42 +0200)
commit79b18bba29890e4d19791c88629ca5d1b09517ed
tree6d75f5bcc9fb9689f3cb7c81ea91ac06ac9ec203
parent2018862bdad13479b663e0e9615d7c6fcaa89285
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 <linux@roeck-us.net>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/Kconfig