1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyunconfig VFIO_PCI 3*4882a593Smuzhiyun tristate "VFIO support for PCI devices" 4*4882a593Smuzhiyun depends on VFIO && PCI && EVENTFD 5*4882a593Smuzhiyun depends on MMU 6*4882a593Smuzhiyun select VFIO_VIRQFD 7*4882a593Smuzhiyun select IRQ_BYPASS_MANAGER 8*4882a593Smuzhiyun help 9*4882a593Smuzhiyun Support for the PCI VFIO bus driver. This is required to make 10*4882a593Smuzhiyun use of PCI drivers using the VFIO framework. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun If you don't know what to do here, say N. 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunconfig VFIO_PCI_VGA 15*4882a593Smuzhiyun bool "VFIO PCI support for VGA devices" 16*4882a593Smuzhiyun depends on VFIO_PCI && X86 && VGA_ARB 17*4882a593Smuzhiyun help 18*4882a593Smuzhiyun Support for VGA extension to VFIO PCI. This exposes an additional 19*4882a593Smuzhiyun region on VGA devices for accessing legacy VGA addresses used by 20*4882a593Smuzhiyun BIOS and generic video drivers. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun If you don't know what to do here, say N. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyunconfig VFIO_PCI_MMAP 25*4882a593Smuzhiyun depends on VFIO_PCI 26*4882a593Smuzhiyun def_bool y if !S390 27*4882a593Smuzhiyun 28*4882a593Smuzhiyunconfig VFIO_PCI_INTX 29*4882a593Smuzhiyun depends on VFIO_PCI 30*4882a593Smuzhiyun def_bool y if !S390 31*4882a593Smuzhiyun 32*4882a593Smuzhiyunconfig VFIO_PCI_IGD 33*4882a593Smuzhiyun bool "VFIO PCI extensions for Intel graphics (GVT-d)" 34*4882a593Smuzhiyun depends on VFIO_PCI && X86 35*4882a593Smuzhiyun default y 36*4882a593Smuzhiyun help 37*4882a593Smuzhiyun Support for Intel IGD specific extensions to enable direct 38*4882a593Smuzhiyun assignment to virtual machines. This includes exposing an IGD 39*4882a593Smuzhiyun specific firmware table and read-only copies of the host bridge 40*4882a593Smuzhiyun and LPC bridge config space. 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun To enable Intel IGD assignment through vfio-pci, say Y. 43*4882a593Smuzhiyun 44*4882a593Smuzhiyunconfig VFIO_PCI_NVLINK2 45*4882a593Smuzhiyun def_bool y 46*4882a593Smuzhiyun depends on VFIO_PCI && PPC_POWERNV && SPAPR_TCE_IOMMU 47*4882a593Smuzhiyun help 48*4882a593Smuzhiyun VFIO PCI support for P9 Witherspoon machine with NVIDIA V100 GPUs 49*4882a593Smuzhiyun 50*4882a593Smuzhiyunconfig VFIO_PCI_ZDEV 51*4882a593Smuzhiyun bool "VFIO PCI ZPCI device CLP support" 52*4882a593Smuzhiyun depends on VFIO_PCI && S390 53*4882a593Smuzhiyun default y 54*4882a593Smuzhiyun help 55*4882a593Smuzhiyun Enabling this option exposes VFIO capabilities containing hardware 56*4882a593Smuzhiyun configuration for zPCI devices. This enables userspace (e.g. QEMU) 57*4882a593Smuzhiyun to supply proper configuration values instead of hard-coded defaults 58*4882a593Smuzhiyun for zPCI devices passed through via VFIO on s390. 59*4882a593Smuzhiyun 60*4882a593Smuzhiyun Say Y here. 61