xref: /linux/drivers/vfio/pci/Kconfig (revision 7f92891778dff62303c070ac81de7b7d80de331a)
189e1f7d4SAlex Williamsonconfig VFIO_PCI
289e1f7d4SAlex Williamson	tristate "VFIO support for PCI devices"
389e1f7d4SAlex Williamson	depends on VFIO && PCI && EVENTFD
471be3423SAlex Williamson	select VFIO_VIRQFD
56d7425f1SFeng Wu	select IRQ_BYPASS_MANAGER
689e1f7d4SAlex Williamson	help
789e1f7d4SAlex Williamson	  Support for the PCI VFIO bus driver.  This is required to make
889e1f7d4SAlex Williamson	  use of PCI drivers using the VFIO framework.
989e1f7d4SAlex Williamson
1089e1f7d4SAlex Williamson	  If you don't know what to do here, say N.
1184237a82SAlex Williamson
1284237a82SAlex Williamsonconfig VFIO_PCI_VGA
1384237a82SAlex Williamson	bool "VFIO PCI support for VGA devices"
14d65530fbSKees Cook	depends on VFIO_PCI && X86 && VGA_ARB
1584237a82SAlex Williamson	help
1684237a82SAlex Williamson	  Support for VGA extension to VFIO PCI.  This exposes an additional
1784237a82SAlex Williamson	  region on VGA devices for accessing legacy VGA addresses used by
1884237a82SAlex Williamson	  BIOS and generic video drivers.
1984237a82SAlex Williamson
2084237a82SAlex Williamson	  If you don't know what to do here, say N.
211d53a3a7SFrank Blaschka
221d53a3a7SFrank Blaschkaconfig VFIO_PCI_MMAP
231d53a3a7SFrank Blaschka	depends on VFIO_PCI
241d53a3a7SFrank Blaschka	def_bool y if !S390
251d53a3a7SFrank Blaschka
261d53a3a7SFrank Blaschkaconfig VFIO_PCI_INTX
271d53a3a7SFrank Blaschka	depends on VFIO_PCI
281d53a3a7SFrank Blaschka	def_bool y if !S390
295846ff54SAlex Williamson
305846ff54SAlex Williamsonconfig VFIO_PCI_IGD
3108ca1b52SAlex Williamson	bool "VFIO PCI extensions for Intel graphics (GVT-d)"
3208ca1b52SAlex Williamson	depends on VFIO_PCI && X86
3308ca1b52SAlex Williamson	default y
3408ca1b52SAlex Williamson	help
3508ca1b52SAlex Williamson	  Support for Intel IGD specific extensions to enable direct
3608ca1b52SAlex Williamson	  assignment to virtual machines.  This includes exposing an IGD
3708ca1b52SAlex Williamson	  specific firmware table and read-only copies of the host bridge
3808ca1b52SAlex Williamson	  and LPC bridge config space.
3908ca1b52SAlex Williamson
4008ca1b52SAlex Williamson	  To enable Intel IGD assignment through vfio-pci, say Y.
41*7f928917SAlexey Kardashevskiy
42*7f928917SAlexey Kardashevskiyconfig VFIO_PCI_NVLINK2
43*7f928917SAlexey Kardashevskiy	def_bool y
44*7f928917SAlexey Kardashevskiy	depends on VFIO_PCI && PPC_POWERNV
45*7f928917SAlexey Kardashevskiy	help
46*7f928917SAlexey Kardashevskiy	  VFIO PCI support for P9 Witherspoon machine with NVIDIA V100 GPUs
47