xref: /linux/drivers/vfio/pci/Kconfig (revision 3719a04a80caf660f899a462cd8f3973bcfa676e)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
28cc75183SAlex Williamsonmenu "VFIO support for PCI devices"
3*8fe743b5SArnd Bergmann	depends on PCI
48cc75183SAlex Williamson
57fa005caSMax Gurtovoyconfig VFIO_PCI_CORE
67fa005caSMax Gurtovoy	tristate
771be3423SAlex Williamson	select VFIO_VIRQFD
86d7425f1SFeng Wu	select IRQ_BYPASS_MANAGER
97fa005caSMax Gurtovoy
107fa005caSMax Gurtovoyconfig VFIO_PCI_INTX
117fa005caSMax Gurtovoy	def_bool y if !S390
128cc75183SAlex Williamson	depends on VFIO_PCI_CORE
137fa005caSMax Gurtovoy
147fa005caSMax Gurtovoyconfig VFIO_PCI
157fa005caSMax Gurtovoy	tristate "Generic VFIO support for any PCI device"
167fa005caSMax Gurtovoy	select VFIO_PCI_CORE
1789e1f7d4SAlex Williamson	help
187fa005caSMax Gurtovoy	  Support for the generic PCI VFIO bus driver which can connect any
197fa005caSMax Gurtovoy	  PCI device to the VFIO framework.
2089e1f7d4SAlex Williamson
2189e1f7d4SAlex Williamson	  If you don't know what to do here, say N.
2284237a82SAlex Williamson
2385c94dcfSJason Gunthorpeif VFIO_PCI
2484237a82SAlex Williamsonconfig VFIO_PCI_VGA
257fa005caSMax Gurtovoy	bool "Generic VFIO PCI support for VGA devices"
2685c94dcfSJason Gunthorpe	depends on X86 && VGA_ARB
2784237a82SAlex Williamson	help
2884237a82SAlex Williamson	  Support for VGA extension to VFIO PCI.  This exposes an additional
2984237a82SAlex Williamson	  region on VGA devices for accessing legacy VGA addresses used by
3084237a82SAlex Williamson	  BIOS and generic video drivers.
3184237a82SAlex Williamson
3284237a82SAlex Williamson	  If you don't know what to do here, say N.
331d53a3a7SFrank Blaschka
345846ff54SAlex Williamsonconfig VFIO_PCI_IGD
357fa005caSMax Gurtovoy	bool "Generic VFIO PCI extensions for Intel graphics (GVT-d)"
3685c94dcfSJason Gunthorpe	depends on X86
3708ca1b52SAlex Williamson	default y
3808ca1b52SAlex Williamson	help
3908ca1b52SAlex Williamson	  Support for Intel IGD specific extensions to enable direct
4008ca1b52SAlex Williamson	  assignment to virtual machines.  This includes exposing an IGD
4108ca1b52SAlex Williamson	  specific firmware table and read-only copies of the host bridge
4208ca1b52SAlex Williamson	  and LPC bridge config space.
4308ca1b52SAlex Williamson
4408ca1b52SAlex Williamson	  To enable Intel IGD assignment through vfio-pci, say Y.
457fa005caSMax Gurtovoyendif
466fadb021SYishai Hadas
47c435c546SMatthew Rosatoconfig VFIO_PCI_ZDEV_KVM
48c435c546SMatthew Rosato	bool "VFIO PCI extensions for s390x KVM passthrough"
49c435c546SMatthew Rosato	depends on S390 && KVM
50c435c546SMatthew Rosato	default y
51c435c546SMatthew Rosato	help
52c435c546SMatthew Rosato	  Support s390x-specific extensions to enable support for enhancements
53c435c546SMatthew Rosato	  to KVM passthrough capabilities, such as interpretive execution of
54c435c546SMatthew Rosato	  zPCI instructions.
55c435c546SMatthew Rosato
56c435c546SMatthew Rosato	  To enable s390x KVM vfio-pci extensions, say Y.
57c435c546SMatthew Rosato
586fadb021SYishai Hadassource "drivers/vfio/pci/mlx5/Kconfig"
596fadb021SYishai Hadas
60ee3a5b23SShameer Kolothumsource "drivers/vfio/pci/hisilicon/Kconfig"
61ee3a5b23SShameer Kolothum
62fc9da661SBrett Creeleysource "drivers/vfio/pci/pds/Kconfig"
63fc9da661SBrett Creeley
64eb61eca0SYishai Hadassource "drivers/vfio/pci/virtio/Kconfig"
65eb61eca0SYishai Hadas
66701ab935SAnkit Agrawalsource "drivers/vfio/pci/nvgrace-gpu/Kconfig"
67701ab935SAnkit Agrawal
68bb208810SXin Zengsource "drivers/vfio/pci/qat/Kconfig"
69bb208810SXin Zeng
708cc75183SAlex Williamsonendmenu
71