Merge branch 'pm-core'
[linux-2.6-block.git] / drivers / vfio / Kconfig
CommitLineData
73fa0d10
AW
1config VFIO_IOMMU_TYPE1
2 tristate
3 depends on VFIO
4 default n
5
5ffd229c
AK
6config VFIO_IOMMU_SPAPR_TCE
7 tristate
8 depends on VFIO && SPAPR_TCE_IOMMU
9 default n
10
92d18a68
GS
11config VFIO_SPAPR_EEH
12 tristate
13 depends on EEH && VFIO_IOMMU_SPAPR_TCE
14 default n
15
71be3423
AW
16config VFIO_VIRQFD
17 tristate
18 depends on VFIO && EVENTFD
19 default n
20
cba3345c
AW
21menuconfig 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)
5b25199e 25 select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES)
92d18a68 26 select VFIO_SPAPR_EEH if (PPC_POWERNV || PPC_PSERIES)
4379d2ae 27 select ANON_INODES
cba3345c
AW
28 help
29 VFIO provides a framework for secure userspace device drivers.
30 See Documentation/vfio.txt for more details.
31
32 If you don't know what to do here, say N.
89e1f7d4
AW
33
34source "drivers/vfio/pci/Kconfig"
53161532 35source "drivers/vfio/platform/Kconfig"
6d7425f1 36source "virt/lib/Kconfig"