]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commita4aaeccc7a91e24cc17f72a7eb2f586f5c3d811d
tree6d75f5bcc9fb9689f3cb7c81ea91ac06ac9ec203
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
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