xref: /openbmc/linux/drivers/vfio/Kconfig (revision 93d90ad7)
1config VFIO_IOMMU_TYPE1
2	tristate
3	depends on VFIO
4	default n
5
6config VFIO_IOMMU_SPAPR_TCE
7	tristate
8	depends on VFIO && SPAPR_TCE_IOMMU
9	default n
10
11config VFIO_SPAPR_EEH
12	tristate
13	depends on EEH && VFIO_IOMMU_SPAPR_TCE
14	default n
15
16menuconfig VFIO
17	tristate "VFIO Non-Privileged userspace driver framework"
18	depends on IOMMU_API
19	select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU)
20	select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES)
21	select VFIO_SPAPR_EEH if (PPC_POWERNV || PPC_PSERIES)
22	select ANON_INODES
23	help
24	  VFIO provides a framework for secure userspace device drivers.
25	  See Documentation/vfio.txt for more details.
26
27	  If you don't know what to do here, say N.
28
29source "drivers/vfio/pci/Kconfig"
30