blob: 5e2e1b9a9fd3af111dfee7385f315cbfed1f792d [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Alex Williamson89e1f7d2012-07-31 08:16:24 -06002config VFIO_PCI
3 tristate "VFIO support for PCI devices"
4 depends on VFIO && PCI && EVENTFD
Randy Dunlap2a55ca32021-05-15 12:08:56 -07005 depends on MMU
Alex Williamson71be3422015-03-17 08:33:38 -06006 select VFIO_VIRQFD
Feng Wu6d7425f2015-09-18 22:29:50 +08007 select IRQ_BYPASS_MANAGER
Alex Williamson89e1f7d2012-07-31 08:16:24 -06008 help
9 Support for the PCI VFIO bus driver. This is required to make
10 use of PCI drivers using the VFIO framework.
11
12 If you don't know what to do here, say N.
Alex Williamson84237a82013-02-18 10:11:13 -070013
14config VFIO_PCI_VGA
15 bool "VFIO PCI support for VGA devices"
Kees Cookd65530f2013-02-24 09:59:44 -070016 depends on VFIO_PCI && X86 && VGA_ARB
Alex Williamson84237a82013-02-18 10:11:13 -070017 help
18 Support for VGA extension to VFIO PCI. This exposes an additional
19 region on VGA devices for accessing legacy VGA addresses used by
20 BIOS and generic video drivers.
21
22 If you don't know what to do here, say N.
Frank Blaschka1d53a3a2014-11-07 09:52:22 -070023
24config VFIO_PCI_MMAP
25 depends on VFIO_PCI
26 def_bool y if !S390
27
28config VFIO_PCI_INTX
29 depends on VFIO_PCI
30 def_bool y if !S390
Alex Williamson5846ff52016-02-22 16:02:43 -070031
32config VFIO_PCI_IGD
Alex Williamson08ca1b52018-06-18 16:39:50 -060033 bool "VFIO PCI extensions for Intel graphics (GVT-d)"
34 depends on VFIO_PCI && X86
35 default y
36 help
37 Support for Intel IGD specific extensions to enable direct
38 assignment to virtual machines. This includes exposing an IGD
39 specific firmware table and read-only copies of the host bridge
40 and LPC bridge config space.
41
42 To enable Intel IGD assignment through vfio-pci, say Y.