Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Alex Williamson | 89e1f7d | 2012-07-31 08:16:24 -0600 | [diff] [blame] | 2 | config VFIO_PCI |
| 3 | tristate "VFIO support for PCI devices" |
| 4 | depends on VFIO && PCI && EVENTFD |
Randy Dunlap | 2a55ca3 | 2021-05-15 12:08:56 -0700 | [diff] [blame] | 5 | depends on MMU |
Alex Williamson | 71be342 | 2015-03-17 08:33:38 -0600 | [diff] [blame] | 6 | select VFIO_VIRQFD |
Feng Wu | 6d7425f | 2015-09-18 22:29:50 +0800 | [diff] [blame] | 7 | select IRQ_BYPASS_MANAGER |
Alex Williamson | 89e1f7d | 2012-07-31 08:16:24 -0600 | [diff] [blame] | 8 | 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 Williamson | 84237a8 | 2013-02-18 10:11:13 -0700 | [diff] [blame] | 13 | |
| 14 | config VFIO_PCI_VGA |
| 15 | bool "VFIO PCI support for VGA devices" |
Kees Cook | d65530f | 2013-02-24 09:59:44 -0700 | [diff] [blame] | 16 | depends on VFIO_PCI && X86 && VGA_ARB |
Alex Williamson | 84237a8 | 2013-02-18 10:11:13 -0700 | [diff] [blame] | 17 | 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 Blaschka | 1d53a3a | 2014-11-07 09:52:22 -0700 | [diff] [blame] | 23 | |
| 24 | config VFIO_PCI_MMAP |
| 25 | depends on VFIO_PCI |
| 26 | def_bool y if !S390 |
| 27 | |
| 28 | config VFIO_PCI_INTX |
| 29 | depends on VFIO_PCI |
| 30 | def_bool y if !S390 |
Alex Williamson | 5846ff5 | 2016-02-22 16:02:43 -0700 | [diff] [blame] | 31 | |
| 32 | config VFIO_PCI_IGD |
Alex Williamson | 08ca1b5 | 2018-06-18 16:39:50 -0600 | [diff] [blame] | 33 | 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. |