Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # PCI configuration
  4. #
  5. source "drivers/pci/pcie/Kconfig"
  6. config PCI_BUS_ADDR_T_64BIT
  7. def_bool y if (ARCH_DMA_ADDR_T_64BIT || 64BIT)
  8. depends on PCI
  9. config PCI_MSI
  10. bool "Message Signaled Interrupts (MSI and MSI-X)"
  11. depends on PCI
  12. select GENERIC_MSI_IRQ
  13. help
  14. This allows device drivers to enable MSI (Message Signaled
  15. Interrupts). Message Signaled Interrupts enable a device to
  16. generate an interrupt using an inbound Memory Write on its
  17. PCI bus instead of asserting a device IRQ pin.
  18. Use of PCI MSI interrupts can be disabled at kernel boot time
  19. by using the 'pci=nomsi' option. This disables MSI for the
  20. entire system.
  21. If you don't know what to do here, say Y.
  22. config PCI_MSI_IRQ_DOMAIN
  23. def_bool ARC || ARM || ARM64 || X86
  24. depends on PCI_MSI
  25. select GENERIC_MSI_IRQ_DOMAIN
  26. config PCI_QUIRKS
  27. default y
  28. bool "Enable PCI quirk workarounds" if EXPERT
  29. depends on PCI
  30. help
  31. This enables workarounds for various PCI chipset bugs/quirks.
  32. Disable this only if your target machine is unaffected by PCI
  33. quirks.
  34. config PCI_DEBUG
  35. bool "PCI Debugging"
  36. depends on PCI && DEBUG_KERNEL
  37. help
  38. Say Y here if you want the PCI core to produce a bunch of debug
  39. messages to the system log. Select this if you are having a
  40. problem with PCI support and want to see more of what is going on.
  41. When in doubt, say N.
  42. config PCI_REALLOC_ENABLE_AUTO
  43. bool "Enable PCI resource re-allocation detection"
  44. depends on PCI
  45. depends on PCI_IOV
  46. help
  47. Say Y here if you want the PCI core to detect if PCI resource
  48. re-allocation needs to be enabled. You can always use pci=realloc=on
  49. or pci=realloc=off to override it. It will automatically
  50. re-allocate PCI resources if SR-IOV BARs have not been allocated by
  51. the BIOS.
  52. When in doubt, say N.
  53. config PCI_STUB
  54. tristate "PCI Stub driver"
  55. depends on PCI
  56. help
  57. Say Y or M here if you want be able to reserve a PCI device
  58. when it is going to be assigned to a guest operating system.
  59. When in doubt, say N.
  60. config XEN_PCIDEV_FRONTEND
  61. tristate "Xen PCI Frontend"
  62. depends on PCI && X86 && XEN
  63. select PCI_XEN
  64. select XEN_XENBUS_FRONTEND
  65. default y
  66. help
  67. The PCI device frontend driver allows the kernel to import arbitrary
  68. PCI devices from a PCI backend to support PCI driver domains.
  69. config PCI_ATS
  70. bool
  71. config PCI_ECAM
  72. bool
  73. config PCI_LOCKLESS_CONFIG
  74. bool
  75. config PCI_IOV
  76. bool "PCI IOV support"
  77. depends on PCI
  78. select PCI_ATS
  79. help
  80. I/O Virtualization is a PCI feature supported by some devices
  81. which allows them to create virtual devices which share their
  82. physical resources.
  83. If unsure, say N.
  84. config PCI_PRI
  85. bool "PCI PRI support"
  86. depends on PCI
  87. select PCI_ATS
  88. help
  89. PRI is the PCI Page Request Interface. It allows PCI devices that are
  90. behind an IOMMU to recover from page faults.
  91. If unsure, say N.
  92. config PCI_PASID
  93. bool "PCI PASID support"
  94. depends on PCI
  95. select PCI_ATS
  96. help
  97. Process Address Space Identifiers (PASIDs) can be used by PCI devices
  98. to access more than one IO address space at the same time. To make
  99. use of this feature an IOMMU is required which also supports PASIDs.
  100. Select this option if you have such an IOMMU and want to compile the
  101. driver for it into your kernel.
  102. If unsure, say N.
  103. config PCI_LABEL
  104. def_bool y if (DMI || ACPI)
  105. depends on PCI
  106. select NLS
  107. config PCI_HYPERV
  108. tristate "Hyper-V PCI Frontend"
  109. depends on PCI && X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64
  110. help
  111. The PCI device frontend driver allows the kernel to import arbitrary
  112. PCI devices from a PCI backend to support PCI driver domains.
  113. source "drivers/pci/hotplug/Kconfig"
  114. source "drivers/pci/cadence/Kconfig"
  115. source "drivers/pci/dwc/Kconfig"
  116. source "drivers/pci/host/Kconfig"
  117. source "drivers/pci/endpoint/Kconfig"
  118. source "drivers/pci/switch/Kconfig"