]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drivers/vfio: Allow type-1 IOMMU instantiation with all ARM/ARM64 IOMMUs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 25 Sep 2018 19:01:28 +0000 (13:01 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 25 Sep 2018 19:01:28 +0000 (13:01 -0600)
Currently the type-1 IOMMU instantiation depends on "ARM_SMMU ||
ARM_SMMU_V3", while it applies to other ARM/ARM64 platforms with an
IOMMU (e.g. Renesas VMSA-compatible IPMMUs).

Instead of extending the list of IOMMU types on ARM platforms, replace
the list by "ARM || ARM64", like other architectures do.  The feature is
still restricted to ARM/ARM64 platforms with an IOMMU by the dependency
on IOMMU_API.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/Kconfig

index c84333eb5eb59bef3ab1ee41b7aea6e0ee982c75..9de5ed38da830a9140a373a4ba0f56b7e0f65ee7 100644 (file)
@@ -21,7 +21,7 @@ config VFIO_VIRQFD
 menuconfig VFIO
        tristate "VFIO Non-Privileged userspace driver framework"
        depends on IOMMU_API
-       select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU || ARM_SMMU_V3)
+       select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM || ARM64)
        select ANON_INODES
        help
          VFIO provides a framework for secure userspace device drivers.