xref: /linux/drivers/vfio/pci/Kconfig (revision 85c94dcffcb775bafffd6e966db49253e1b789d9)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
289e1f7d4SAlex Williamsonconfig VFIO_PCI
389e1f7d4SAlex Williamson	tristate "VFIO support for PCI devices"
4*85c94dcfSJason Gunthorpe	depends on PCI
52a55ca37SRandy Dunlap	depends on MMU
671be3423SAlex Williamson	select VFIO_VIRQFD
76d7425f1SFeng Wu	select IRQ_BYPASS_MANAGER
889e1f7d4SAlex Williamson	help
989e1f7d4SAlex Williamson	  Support for the PCI VFIO bus driver.  This is required to make
1089e1f7d4SAlex Williamson	  use of PCI drivers using the VFIO framework.
1189e1f7d4SAlex Williamson
1289e1f7d4SAlex Williamson	  If you don't know what to do here, say N.
1384237a82SAlex Williamson
14*85c94dcfSJason Gunthorpeif VFIO_PCI
1584237a82SAlex Williamsonconfig VFIO_PCI_VGA
1684237a82SAlex Williamson	bool "VFIO PCI support for VGA devices"
17*85c94dcfSJason Gunthorpe	depends on X86 && VGA_ARB
1884237a82SAlex Williamson	help
1984237a82SAlex Williamson	  Support for VGA extension to VFIO PCI.  This exposes an additional
2084237a82SAlex Williamson	  region on VGA devices for accessing legacy VGA addresses used by
2184237a82SAlex Williamson	  BIOS and generic video drivers.
2284237a82SAlex Williamson
2384237a82SAlex Williamson	  If you don't know what to do here, say N.
241d53a3a7SFrank Blaschka
251d53a3a7SFrank Blaschkaconfig VFIO_PCI_MMAP
261d53a3a7SFrank Blaschka	def_bool y if !S390
271d53a3a7SFrank Blaschka
281d53a3a7SFrank Blaschkaconfig VFIO_PCI_INTX
291d53a3a7SFrank Blaschka	def_bool y if !S390
305846ff54SAlex Williamson
315846ff54SAlex Williamsonconfig VFIO_PCI_IGD
3208ca1b52SAlex Williamson	bool "VFIO PCI extensions for Intel graphics (GVT-d)"
33*85c94dcfSJason Gunthorpe	depends on X86
3408ca1b52SAlex Williamson	default y
3508ca1b52SAlex Williamson	help
3608ca1b52SAlex Williamson	  Support for Intel IGD specific extensions to enable direct
3708ca1b52SAlex Williamson	  assignment to virtual machines.  This includes exposing an IGD
3808ca1b52SAlex Williamson	  specific firmware table and read-only copies of the host bridge
3908ca1b52SAlex Williamson	  and LPC bridge config space.
4008ca1b52SAlex Williamson
4108ca1b52SAlex Williamson	  To enable Intel IGD assignment through vfio-pci, say Y.
42*85c94dcfSJason Gunthorpe
43*85c94dcfSJason Gunthorpeendif
44