xref: /linux/drivers/vfio/pci/Kconfig (revision c435c54639aa5513ab877c8b014dd83d4ce6b40e)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27fa005caSMax Gurtovoyif PCI && MMU
37fa005caSMax Gurtovoyconfig VFIO_PCI_CORE
47fa005caSMax Gurtovoy	tristate
571be3423SAlex Williamson	select VFIO_VIRQFD
66d7425f1SFeng Wu	select IRQ_BYPASS_MANAGER
77fa005caSMax Gurtovoy
87fa005caSMax Gurtovoyconfig VFIO_PCI_MMAP
97fa005caSMax Gurtovoy	def_bool y if !S390
107fa005caSMax Gurtovoy
117fa005caSMax Gurtovoyconfig VFIO_PCI_INTX
127fa005caSMax Gurtovoy	def_bool y if !S390
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
47*c435c546SMatthew Rosatoconfig VFIO_PCI_ZDEV_KVM
48*c435c546SMatthew Rosato	bool "VFIO PCI extensions for s390x KVM passthrough"
49*c435c546SMatthew Rosato	depends on S390 && KVM
50*c435c546SMatthew Rosato	default y
51*c435c546SMatthew Rosato	help
52*c435c546SMatthew Rosato	  Support s390x-specific extensions to enable support for enhancements
53*c435c546SMatthew Rosato	  to KVM passthrough capabilities, such as interpretive execution of
54*c435c546SMatthew Rosato	  zPCI instructions.
55*c435c546SMatthew Rosato
56*c435c546SMatthew Rosato	  To enable s390x KVM vfio-pci extensions, say Y.
57*c435c546SMatthew Rosato
586fadb021SYishai Hadassource "drivers/vfio/pci/mlx5/Kconfig"
596fadb021SYishai Hadas
60ee3a5b23SShameer Kolothumsource "drivers/vfio/pci/hisilicon/Kconfig"
61ee3a5b23SShameer Kolothum
6285c94dcfSJason Gunthorpeendif
63