Kconfig 1.3 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
2 3 4
if PCI && MMU
config VFIO_PCI_CORE
	tristate
5
	select VFIO_VIRQFD
6
	select IRQ_BYPASS_MANAGER
7 8 9 10 11 12 13 14 15 16

config VFIO_PCI_MMAP
	def_bool y if !S390

config VFIO_PCI_INTX
	def_bool y if !S390

config VFIO_PCI
	tristate "Generic VFIO support for any PCI device"
	select VFIO_PCI_CORE
A
Alex Williamson 已提交
17
	help
18 19
	  Support for the generic PCI VFIO bus driver which can connect any
	  PCI device to the VFIO framework.
A
Alex Williamson 已提交
20 21

	  If you don't know what to do here, say N.
22

23
if VFIO_PCI
24
config VFIO_PCI_VGA
25
	bool "Generic VFIO PCI support for VGA devices"
26
	depends on X86 && VGA_ARB
27 28 29 30 31 32
	help
	  Support for VGA extension to VFIO PCI.  This exposes an additional
	  region on VGA devices for accessing legacy VGA addresses used by
	  BIOS and generic video drivers.

	  If you don't know what to do here, say N.
F
Frank Blaschka 已提交
33

34
config VFIO_PCI_IGD
35
	bool "Generic VFIO PCI extensions for Intel graphics (GVT-d)"
36
	depends on X86
37 38 39 40 41 42 43 44
	default y
	help
	  Support for Intel IGD specific extensions to enable direct
	  assignment to virtual machines.  This includes exposing an IGD
	  specific firmware table and read-only copies of the host bridge
	  and LPC bridge config space.

	  To enable Intel IGD assignment through vfio-pci, say Y.
45
endif
46 47 48

source "drivers/vfio/pci/mlx5/Kconfig"

49 50
source "drivers/vfio/pci/hisilicon/Kconfig"

51
endif