blob: 06cd48d59258c9872dc43345b5ab60a8d4388a5a [file] [log] [blame]
Alex Williamson73fa0d12012-07-31 08:16:23 -06001config VFIO_IOMMU_TYPE1
2 tristate
3 depends on VFIO
4 default n
5
Alexey Kardashevskiy5ffd2292013-05-21 13:33:10 +10006config VFIO_IOMMU_SPAPR_TCE
7 tristate
8 depends on VFIO && SPAPR_TCE_IOMMU
9 default n
10
Gavin Shan92d18a62014-08-08 10:36:20 -060011config VFIO_SPAPR_EEH
12 tristate
13 depends on EEH && VFIO_IOMMU_SPAPR_TCE
14 default n
15
Alex Williamson71be3422015-03-17 08:33:38 -060016config VFIO_VIRQFD
17 tristate
18 depends on VFIO && EVENTFD
19 default n
20
Alex Williamsoncba33452012-07-31 08:16:22 -060021menuconfig VFIO
22 tristate "VFIO Non-Privileged userspace driver framework"
23 depends on IOMMU_API
Will Deacon8a0a01b2015-05-27 17:26:00 +010024 select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU || ARM_SMMU_V3)
Alexey Kardashevskiy5b251992013-05-21 13:33:11 +100025 select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES)
Gavin Shan92d18a62014-08-08 10:36:20 -060026 select VFIO_SPAPR_EEH if (PPC_POWERNV || PPC_PSERIES)
Alex Williamsoncba33452012-07-31 08:16:22 -060027 help
28 VFIO provides a framework for secure userspace device drivers.
29 See Documentation/vfio.txt for more details.
30
31 If you don't know what to do here, say N.
Alex Williamson89e1f7d2012-07-31 08:16:24 -060032
Alex Williamson03a76b62015-12-21 15:13:33 -070033menuconfig VFIO_NOIOMMU
34 bool "VFIO No-IOMMU support"
35 depends on VFIO
36 help
37 VFIO is built on the ability to isolate devices using the IOMMU.
38 Only with an IOMMU can userspace access to DMA capable devices be
39 considered secure. VFIO No-IOMMU mode enables IOMMU groups for
40 devices without IOMMU backing for the purpose of re-using the VFIO
41 infrastructure in a non-secure mode. Use of this mode will result
42 in an unsupportable kernel and will therefore taint the kernel.
43 Device assignment to virtual machines is also not possible with
44 this mode since there is no IOMMU to provide DMA translation.
45
46 If you don't know what to do here, say N.
47
Alex Williamson89e1f7d2012-07-31 08:16:24 -060048source "drivers/vfio/pci/Kconfig"
Antonios Motakis53161532015-03-16 14:08:44 -060049source "drivers/vfio/platform/Kconfig"
Feng Wu6d7425f2015-09-18 22:29:50 +080050source "virt/lib/Kconfig"