Commit | Line | Data |
---|---|---|
73fa0d10 AW |
1 | config VFIO_IOMMU_TYPE1 |
2 | tristate | |
3 | depends on VFIO | |
4 | default n | |
5 | ||
5ffd229c AK |
6 | config VFIO_IOMMU_SPAPR_TCE |
7 | tristate | |
8 | depends on VFIO && SPAPR_TCE_IOMMU | |
d88423f7 | 9 | default VFIO |
5ffd229c | 10 | |
92d18a68 GS |
11 | config VFIO_SPAPR_EEH |
12 | tristate | |
13 | depends on EEH && VFIO_IOMMU_SPAPR_TCE | |
d88423f7 | 14 | default VFIO |
92d18a68 | 15 | |
71be3423 AW |
16 | config VFIO_VIRQFD |
17 | tristate | |
18 | depends on VFIO && EVENTFD | |
19 | default n | |
20 | ||
cba3345c AW |
21 | menuconfig VFIO |
22 | tristate "VFIO Non-Privileged userspace driver framework" | |
23 | depends on IOMMU_API | |
8a0a01bf | 24 | select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU || ARM_SMMU_V3) |
4379d2ae | 25 | select ANON_INODES |
cba3345c AW |
26 | help |
27 | VFIO provides a framework for secure userspace device drivers. | |
28 | See Documentation/vfio.txt for more details. | |
29 | ||
30 | If you don't know what to do here, say N. | |
89e1f7d4 | 31 | |
03a76b60 AW |
32 | menuconfig VFIO_NOIOMMU |
33 | bool "VFIO No-IOMMU support" | |
34 | depends on VFIO | |
35 | help | |
36 | VFIO is built on the ability to isolate devices using the IOMMU. | |
37 | Only with an IOMMU can userspace access to DMA capable devices be | |
38 | considered secure. VFIO No-IOMMU mode enables IOMMU groups for | |
39 | devices without IOMMU backing for the purpose of re-using the VFIO | |
40 | infrastructure in a non-secure mode. Use of this mode will result | |
41 | in an unsupportable kernel and will therefore taint the kernel. | |
42 | Device assignment to virtual machines is also not possible with | |
43 | this mode since there is no IOMMU to provide DMA translation. | |
44 | ||
45 | If you don't know what to do here, say N. | |
46 | ||
89e1f7d4 | 47 | source "drivers/vfio/pci/Kconfig" |
53161532 | 48 | source "drivers/vfio/platform/Kconfig" |
7b96953b | 49 | source "drivers/vfio/mdev/Kconfig" |
6d7425f1 | 50 | source "virt/lib/Kconfig" |