0001 # SPDX-License-Identifier: GPL-2.0-only
0002 if PCI && MMU
0003 config VFIO_PCI_CORE
0004 tristate
0005 select VFIO_VIRQFD
0006 select IRQ_BYPASS_MANAGER
0007
0008 config VFIO_PCI_MMAP
0009 def_bool y if !S390
0010
0011 config VFIO_PCI_INTX
0012 def_bool y if !S390
0013
0014 config VFIO_PCI
0015 tristate "Generic VFIO support for any PCI device"
0016 select VFIO_PCI_CORE
0017 help
0018 Support for the generic PCI VFIO bus driver which can connect any
0019 PCI device to the VFIO framework.
0020
0021 If you don't know what to do here, say N.
0022
0023 if VFIO_PCI
0024 config VFIO_PCI_VGA
0025 bool "Generic VFIO PCI support for VGA devices"
0026 depends on X86 && VGA_ARB
0027 help
0028 Support for VGA extension to VFIO PCI. This exposes an additional
0029 region on VGA devices for accessing legacy VGA addresses used by
0030 BIOS and generic video drivers.
0031
0032 If you don't know what to do here, say N.
0033
0034 config VFIO_PCI_IGD
0035 bool "Generic VFIO PCI extensions for Intel graphics (GVT-d)"
0036 depends on X86
0037 default y
0038 help
0039 Support for Intel IGD specific extensions to enable direct
0040 assignment to virtual machines. This includes exposing an IGD
0041 specific firmware table and read-only copies of the host bridge
0042 and LPC bridge config space.
0043
0044 To enable Intel IGD assignment through vfio-pci, say Y.
0045 endif
0046
0047 config VFIO_PCI_ZDEV_KVM
0048 bool "VFIO PCI extensions for s390x KVM passthrough"
0049 depends on S390 && KVM
0050 default y
0051 help
0052 Support s390x-specific extensions to enable support for enhancements
0053 to KVM passthrough capabilities, such as interpretive execution of
0054 zPCI instructions.
0055
0056 To enable s390x KVM vfio-pci extensions, say Y.
0057
0058 source "drivers/vfio/pci/mlx5/Kconfig"
0059
0060 source "drivers/vfio/pci/hisilicon/Kconfig"
0061
0062 endif