hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/vfio/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config VFIO_IOMMU_TYPE1
23 tristate
34 depends on VFIO
....@@ -20,11 +21,11 @@
2021
2122 menuconfig VFIO
2223 tristate "VFIO Non-Privileged userspace driver framework"
23
- depends on IOMMU_API
24
- select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU || ARM_SMMU_V3)
24
+ select IOMMU_API
25
+ select VFIO_IOMMU_TYPE1 if MMU && (X86 || S390 || ARM || ARM64)
2526 help
2627 VFIO provides a framework for secure userspace device drivers.
27
- See Documentation/vfio.txt for more details.
28
+ See Documentation/driver-api/vfio.rst for more details.
2829
2930 If you don't know what to do here, say N.
3031
....@@ -46,4 +47,5 @@
4647 source "drivers/vfio/pci/Kconfig"
4748 source "drivers/vfio/platform/Kconfig"
4849 source "drivers/vfio/mdev/Kconfig"
50
+source "drivers/vfio/fsl-mc/Kconfig"
4951 source "virt/lib/Kconfig"