iommu: Tidy up io-pgtable dependencies
authorRobin Murphy <robin.murphy@arm.com>
Thu, 12 Jan 2023 19:59:47 +0000 (19:59 +0000)
committerJoerg Roedel <jroedel@suse.de>
Fri, 13 Jan 2023 15:59:48 +0000 (16:59 +0100)
commitd286a58bc8f4d5cf3246481b4e38e4c0c65550ac
treee100a205001dcdf97424df2a1534d9b0fac3220b
parent8f9930fa016134ea07db4775ec596b16c3d03f05
iommu: Tidy up io-pgtable dependencies

Some io-pgtable implementations, and thus their users too, carry a
slightly odd dependency to get around the GENERIC_ATOMIC64 version of
cmpxchg64() often failing to compile. Since this is a functional
dependency, it's a bit misleading and untidy to tie it explicitly to
COMPILE_TEST while assuming that it's also implied by the other
platform/architecture options. Make things clearer by separating these
functional dependencies into distinct statements from those controlling
visibility, and since they do look a bit non-obvious to the uninitiated,
also commenting them for good measure.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/51d8c78e2ecc6696ac5907526580209ea6da167f.1673553587.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/Kconfig