diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-09-25 13:01:28 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2018-09-25 13:01:28 -0600 |
commit | cf3f98c7f466a7c79458cdeb779afb9309e243e0 (patch) | |
tree | 4d21e24e766d2df163ca27974a4d5fadb4d51176 /drivers/vfio | |
parent | db04264fe9bc0f2b62e036629f9afb530324b693 (diff) | |
download | linux-stable-cf3f98c7f466a7c79458cdeb779afb9309e243e0.tar.gz linux-stable-cf3f98c7f466a7c79458cdeb779afb9309e243e0.tar.bz2 linux-stable-cf3f98c7f466a7c79458cdeb779afb9309e243e0.zip |
drivers/vfio: Allow type-1 IOMMU instantiation with all ARM/ARM64 IOMMUs
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>
Diffstat (limited to 'drivers/vfio')
-rw-r--r-- | drivers/vfio/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig index c84333eb5eb5..9de5ed38da83 100644 --- a/drivers/vfio/Kconfig +++ b/drivers/vfio/Kconfig @@ -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. |