Kconfig 1.9 KB

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