Kconfig 1.6 KB

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