xref: /linux/drivers/vfio/pci/Kconfig (revision ee3a5b2359e0e5bf6198ffb3b330a12deacebf0f)
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
476fadb021SYishai Hadassource "drivers/vfio/pci/mlx5/Kconfig"
486fadb021SYishai Hadas
49*ee3a5b23SShameer Kolothumsource "drivers/vfio/pci/hisilicon/Kconfig"
50*ee3a5b23SShameer Kolothum
5185c94dcfSJason Gunthorpeendif
52