2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2021-08-26 18:39:12 +08:00
|
|
|
if PCI && MMU
|
|
|
|
config VFIO_PCI_CORE
|
|
|
|
tristate
|
2015-03-17 22:33:38 +08:00
|
|
|
select VFIO_VIRQFD
|
2015-09-18 22:29:50 +08:00
|
|
|
select IRQ_BYPASS_MANAGER
|
2021-08-26 18:39:12 +08:00
|
|
|
|
|
|
|
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
|
2012-07-31 22:16:24 +08:00
|
|
|
help
|
2021-08-26 18:39:12 +08:00
|
|
|
Support for the generic PCI VFIO bus driver which can connect any
|
|
|
|
PCI device to the VFIO framework.
|
2012-07-31 22:16:24 +08:00
|
|
|
|
|
|
|
If you don't know what to do here, say N.
|
2013-02-19 01:11:13 +08:00
|
|
|
|
2021-08-26 18:39:11 +08:00
|
|
|
if VFIO_PCI
|
2013-02-19 01:11:13 +08:00
|
|
|
config VFIO_PCI_VGA
|
2021-08-26 18:39:12 +08:00
|
|
|
bool "Generic VFIO PCI support for VGA devices"
|
2021-08-26 18:39:11 +08:00
|
|
|
depends on X86 && VGA_ARB
|
2013-02-19 01:11:13 +08:00
|
|
|
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.
|
2014-11-08 00:52:22 +08:00
|
|
|
|
2016-02-23 07:02:43 +08:00
|
|
|
config VFIO_PCI_IGD
|
2021-08-26 18:39:12 +08:00
|
|
|
bool "Generic VFIO PCI extensions for Intel graphics (GVT-d)"
|
2021-08-26 18:39:11 +08:00
|
|
|
depends on X86
|
2018-06-19 06:39:50 +08:00
|
|
|
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.
|
2021-08-26 18:39:12 +08:00
|
|
|
endif
|
2022-02-24 22:20:22 +08:00
|
|
|
|
2022-06-07 04:33:14 +08:00
|
|
|
config VFIO_PCI_ZDEV_KVM
|
|
|
|
bool "VFIO PCI extensions for s390x KVM passthrough"
|
|
|
|
depends on S390 && KVM
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Support s390x-specific extensions to enable support for enhancements
|
|
|
|
to KVM passthrough capabilities, such as interpretive execution of
|
|
|
|
zPCI instructions.
|
|
|
|
|
|
|
|
To enable s390x KVM vfio-pci extensions, say Y.
|
|
|
|
|
2022-02-24 22:20:22 +08:00
|
|
|
source "drivers/vfio/pci/mlx5/Kconfig"
|
|
|
|
|
2022-03-09 02:48:57 +08:00
|
|
|
source "drivers/vfio/pci/hisilicon/Kconfig"
|
|
|
|
|
2021-08-26 18:39:11 +08:00
|
|
|
endif
|