]> 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)
commit0f1af224eb279ae2f97b06eab7fb73c4f5775b33
tree6d75f5bcc9fb9689f3cb7c81ea91ac06ac9ec203
parent384fde7ed224f283f11ef2a592b05d4a29492aa8
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