1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "VFIO Non-Privileged userspace driver framework"
5 select VFIO_IOMMU_TYPE1 if MMU && (X86 || S390 || ARM || ARM64)
7 VFIO provides a framework for secure userspace device drivers.
8 See Documentation/driver-api/vfio.rst for more details.
10 If you don't know what to do here, say N.
13 config VFIO_IOMMU_TYPE1
17 config VFIO_IOMMU_SPAPR_TCE
19 depends on SPAPR_TCE_IOMMU
24 depends on EEH && VFIO_IOMMU_SPAPR_TCE
33 bool "VFIO No-IOMMU support"
35 VFIO is built on the ability to isolate devices using the IOMMU.
36 Only with an IOMMU can userspace access to DMA capable devices be
37 considered secure. VFIO No-IOMMU mode enables IOMMU groups for
38 devices without IOMMU backing for the purpose of re-using the VFIO
39 infrastructure in a non-secure mode. Use of this mode will result
40 in an unsupportable kernel and will therefore taint the kernel.
41 Device assignment to virtual machines is also not possible with
42 this mode since there is no IOMMU to provide DMA translation.
44 If you don't know what to do here, say N.
46 source "drivers/vfio/pci/Kconfig"
47 source "drivers/vfio/platform/Kconfig"
48 source "drivers/vfio/mdev/Kconfig"
49 source "drivers/vfio/fsl-mc/Kconfig"
52 source "virt/lib/Kconfig"