2012-07-31 22:16:23 +08:00
|
|
|
config VFIO_IOMMU_TYPE1
|
|
|
|
tristate
|
|
|
|
depends on VFIO
|
|
|
|
default n
|
|
|
|
|
2013-05-21 11:33:10 +08:00
|
|
|
config VFIO_IOMMU_SPAPR_TCE
|
|
|
|
tristate
|
|
|
|
depends on VFIO && SPAPR_TCE_IOMMU
|
|
|
|
default n
|
|
|
|
|
2014-08-09 00:36:20 +08:00
|
|
|
config VFIO_SPAPR_EEH
|
|
|
|
tristate
|
|
|
|
depends on EEH && VFIO_IOMMU_SPAPR_TCE
|
|
|
|
default n
|
|
|
|
|
2012-07-31 22:16:22 +08:00
|
|
|
menuconfig VFIO
|
|
|
|
tristate "VFIO Non-Privileged userspace driver framework"
|
|
|
|
depends on IOMMU_API
|
2014-11-15 00:10:59 +08:00
|
|
|
select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU)
|
2013-05-21 11:33:11 +08:00
|
|
|
select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES)
|
2014-08-09 00:36:20 +08:00
|
|
|
select VFIO_SPAPR_EEH if (PPC_POWERNV || PPC_PSERIES)
|
2014-03-28 01:58:58 +08:00
|
|
|
select ANON_INODES
|
2012-07-31 22:16:22 +08:00
|
|
|
help
|
|
|
|
VFIO provides a framework for secure userspace device drivers.
|
|
|
|
See Documentation/vfio.txt for more details.
|
|
|
|
|
|
|
|
If you don't know what to do here, say N.
|
2012-07-31 22:16:24 +08:00
|
|
|
|
|
|
|
source "drivers/vfio/pci/Kconfig"
|