xref: /linux/drivers/vfio/pci/Kconfig (revision 1260ed77798502de9c98020040d2995008de10cc)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "VFIO support for PCI devices"
3	depends on PCI && MMU
4
5config VFIO_PCI_CORE
6	tristate
7	select VFIO_VIRQFD
8	select IRQ_BYPASS_MANAGER
9
10config VFIO_PCI_INTX
11	def_bool y if !S390
12	depends on VFIO_PCI_CORE
13
14config VFIO_PCI
15	tristate "Generic VFIO support for any PCI device"
16	select VFIO_PCI_CORE
17	help
18	  Support for the generic PCI VFIO bus driver which can connect any
19	  PCI device to the VFIO framework.
20
21	  If you don't know what to do here, say N.
22
23if VFIO_PCI
24config VFIO_PCI_VGA
25	bool "Generic VFIO PCI support for VGA devices"
26	depends on X86 && VGA_ARB
27	help
28	  Support for VGA extension to VFIO PCI.  This exposes an additional
29	  region on VGA devices for accessing legacy VGA addresses used by
30	  BIOS and generic video drivers.
31
32	  If you don't know what to do here, say N.
33
34config VFIO_PCI_IGD
35	bool "Generic VFIO PCI extensions for Intel graphics (GVT-d)"
36	depends on X86
37	default y
38	help
39	  Support for Intel IGD specific extensions to enable direct
40	  assignment to virtual machines.  This includes exposing an IGD
41	  specific firmware table and read-only copies of the host bridge
42	  and LPC bridge config space.
43
44	  To enable Intel IGD assignment through vfio-pci, say Y.
45endif
46
47config VFIO_PCI_ZDEV_KVM
48	bool "VFIO PCI extensions for s390x KVM passthrough"
49	depends on S390 && KVM
50	default y
51	help
52	  Support s390x-specific extensions to enable support for enhancements
53	  to KVM passthrough capabilities, such as interpretive execution of
54	  zPCI instructions.
55
56	  To enable s390x KVM vfio-pci extensions, say Y.
57
58source "drivers/vfio/pci/mlx5/Kconfig"
59
60source "drivers/vfio/pci/hisilicon/Kconfig"
61
62source "drivers/vfio/pci/pds/Kconfig"
63
64source "drivers/vfio/pci/virtio/Kconfig"
65
66source "drivers/vfio/pci/nvgrace-gpu/Kconfig"
67
68source "drivers/vfio/pci/qat/Kconfig"
69
70endmenu
71