1 # SPDX-License-Identifier: GPL-2.0
6 source "drivers/pci/pcie/Kconfig"
9 bool "Message Signaled Interrupts (MSI and MSI-X)"
11 select GENERIC_MSI_IRQ
13 This allows device drivers to enable MSI (Message Signaled
14 Interrupts). Message Signaled Interrupts enable a device to
15 generate an interrupt using an inbound Memory Write on its
16 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
22 If you don't know what to do here, say Y.
24 config PCI_MSI_IRQ_DOMAIN
25 def_bool ARC || ARM || ARM64 || X86
27 select GENERIC_MSI_IRQ_DOMAIN
31 bool "Enable PCI quirk workarounds" if EXPERT
34 This enables workarounds for various PCI chipset bugs/quirks.
35 Disable this only if your target machine is unaffected by PCI
40 depends on PCI && DEBUG_KERNEL
42 Say Y here if you want the PCI core to produce a bunch of debug
43 messages to the system log. Select this if you are having a
44 problem with PCI support and want to see more of what is going on.
48 config PCI_REALLOC_ENABLE_AUTO
49 bool "Enable PCI resource re-allocation detection"
53 Say Y here if you want the PCI core to detect if PCI resource
54 re-allocation needs to be enabled. You can always use pci=realloc=on
55 or pci=realloc=off to override it. It will automatically
56 re-allocate PCI resources if SR-IOV BARs have not been allocated by
62 tristate "PCI Stub driver"
65 Say Y or M here if you want be able to reserve a PCI device
66 when it is going to be assigned to a guest operating system.
71 tristate "PCI PF Stub driver"
75 Say Y or M here if you want to enable support for devices that
76 require SR-IOV support, while at the same time the PF itself is
77 not providing any actual services on the host itself such as
78 storage or networking.
82 config XEN_PCIDEV_FRONTEND
83 tristate "Xen PCI Frontend"
84 depends on PCI && X86 && XEN
86 select XEN_XENBUS_FRONTEND
89 The PCI device frontend driver allows the kernel to import arbitrary
90 PCI devices from a PCI backend to support PCI driver domains.
98 config PCI_LOCKLESS_CONFIG
101 config PCI_BRIDGE_EMUL
105 bool "PCI IOV support"
109 I/O Virtualization is a PCI feature supported by some devices
110 which allows them to create virtual devices which share their
116 bool "PCI PRI support"
120 PRI is the PCI Page Request Interface. It allows PCI devices that are
121 behind an IOMMU to recover from page faults.
126 bool "PCI PASID support"
130 Process Address Space Identifiers (PASIDs) can be used by PCI devices
131 to access more than one IO address space at the same time. To make
132 use of this feature an IOMMU is required which also supports PASIDs.
133 Select this option if you have such an IOMMU and want to compile the
134 driver for it into your kernel.
139 bool "PCI peer-to-peer transfer support"
140 depends on PCI && ZONE_DEVICE
141 select GENERIC_ALLOCATOR
143 Enableѕ drivers to do PCI peer-to-peer transactions to and from
144 BARs that are exposed in other devices that are the part of
145 the hierarchy where peer-to-peer DMA is guaranteed by the PCI
146 specification to work (ie. anything below a single PCI bridge).
148 Many PCIe root complexes do not support P2P transactions and
149 it's hard to tell which support it at all, so at this time,
150 P2P DMA transations must be between devices behind the same root
156 def_bool y if (DMI || ACPI)
161 tristate "Hyper-V PCI Frontend"
162 depends on PCI && X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64
164 The PCI device frontend driver allows the kernel to import arbitrary
165 PCI devices from a PCI backend to support PCI driver domains.
167 source "drivers/pci/hotplug/Kconfig"
168 source "drivers/pci/controller/Kconfig"
169 source "drivers/pci/endpoint/Kconfig"
170 source "drivers/pci/switch/Kconfig"