| .. | .. |
|---|
| 4 | 4 | # |
|---|
| 5 | 5 | config PCIEPORTBUS |
|---|
| 6 | 6 | bool "PCI Express Port Bus support" |
|---|
| 7 | | - depends on PCI |
|---|
| 8 | 7 | help |
|---|
| 9 | | - This automatically enables PCI Express Port Bus support. Users can |
|---|
| 10 | | - choose Native Hot-Plug support, Advanced Error Reporting support, |
|---|
| 11 | | - Power Management Event support and Virtual Channel support to run |
|---|
| 12 | | - on PCI Express Ports (Root or Switch). |
|---|
| 8 | + This enables PCI Express Port Bus support. Users can then enable |
|---|
| 9 | + support for Native Hot-Plug, Advanced Error Reporting, Power |
|---|
| 10 | + Management Events, and Downstream Port Containment. |
|---|
| 13 | 11 | |
|---|
| 14 | 12 | # |
|---|
| 15 | 13 | # Include service Kconfig here |
|---|
| .. | .. |
|---|
| 27 | 25 | bool "PCI Express Advanced Error Reporting support" |
|---|
| 28 | 26 | depends on PCIEPORTBUS |
|---|
| 29 | 27 | select RAS |
|---|
| 30 | | - default y |
|---|
| 31 | 28 | help |
|---|
| 32 | 29 | This enables PCI Express Root Port Advanced Error Reporting |
|---|
| 33 | 30 | (AER) driver support. Error reporting messages sent to Root |
|---|
| .. | .. |
|---|
| 36 | 33 | config PCIEAER_INJECT |
|---|
| 37 | 34 | tristate "PCI Express error injection support" |
|---|
| 38 | 35 | depends on PCIEAER |
|---|
| 39 | | - default n |
|---|
| 36 | + select GENERIC_IRQ_INJECTION |
|---|
| 40 | 37 | help |
|---|
| 41 | 38 | This enables PCI Express Root Port Advanced Error Reporting |
|---|
| 42 | 39 | (AER) software error injector. |
|---|
| .. | .. |
|---|
| 46 | 43 | error injection can fake almost all kinds of errors with the |
|---|
| 47 | 44 | help of a user space helper tool aer-inject, which can be |
|---|
| 48 | 45 | gotten from: |
|---|
| 49 | | - http://www.kernel.org/pub/linux/utils/pci/aer-inject/ |
|---|
| 46 | + https://www.kernel.org/pub/linux/utils/pci/aer-inject/ |
|---|
| 50 | 47 | |
|---|
| 51 | 48 | # |
|---|
| 52 | 49 | # PCI Express ECRC |
|---|
| .. | .. |
|---|
| 65 | 62 | # |
|---|
| 66 | 63 | config PCIEASPM |
|---|
| 67 | 64 | bool "PCI Express ASPM control" if EXPERT |
|---|
| 68 | | - depends on PCI && PCIEPORTBUS |
|---|
| 69 | 65 | default y |
|---|
| 70 | 66 | help |
|---|
| 71 | 67 | This enables OS control over PCI Express ASPM (Active State |
|---|
| .. | .. |
|---|
| 80 | 76 | /sys/module/pcie_aspm/parameters/policy |
|---|
| 81 | 77 | |
|---|
| 82 | 78 | When in doubt, say Y. |
|---|
| 83 | | - |
|---|
| 84 | | -config PCIEASPM_DEBUG |
|---|
| 85 | | - bool "Debug PCI Express ASPM" |
|---|
| 86 | | - depends on PCIEASPM |
|---|
| 87 | | - default n |
|---|
| 88 | | - help |
|---|
| 89 | | - This enables PCI Express ASPM debug support. It will add per-device |
|---|
| 90 | | - interface to control ASPM. |
|---|
| 91 | 79 | |
|---|
| 92 | 80 | choice |
|---|
| 93 | 81 | prompt "Default ASPM policy" |
|---|
| .. | .. |
|---|
| 122 | 110 | Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them. |
|---|
| 123 | 111 | endchoice |
|---|
| 124 | 112 | |
|---|
| 113 | +config PCIEASPM_EXT |
|---|
| 114 | + tristate "Extend ASPM function" |
|---|
| 115 | + depends on PCIEASPM |
|---|
| 116 | + help |
|---|
| 117 | + This enables the extensions APIs for ASPM control. |
|---|
| 118 | + |
|---|
| 125 | 119 | config PCIE_PME |
|---|
| 126 | 120 | def_bool y |
|---|
| 127 | 121 | depends on PCIEPORTBUS && PM |
|---|
| .. | .. |
|---|
| 129 | 123 | config PCIE_DPC |
|---|
| 130 | 124 | bool "PCI Express Downstream Port Containment support" |
|---|
| 131 | 125 | depends on PCIEPORTBUS && PCIEAER |
|---|
| 132 | | - default n |
|---|
| 133 | 126 | help |
|---|
| 134 | 127 | This enables PCI Express Downstream Port Containment (DPC) |
|---|
| 135 | 128 | driver support. DPC events from Root and Downstream ports |
|---|
| .. | .. |
|---|
| 139 | 132 | |
|---|
| 140 | 133 | config PCIE_PTM |
|---|
| 141 | 134 | bool "PCI Express Precision Time Measurement support" |
|---|
| 142 | | - default n |
|---|
| 143 | | - depends on PCIEPORTBUS |
|---|
| 144 | 135 | help |
|---|
| 145 | 136 | This enables PCI Express Precision Time Measurement (PTM) |
|---|
| 146 | 137 | support. |
|---|
| 147 | 138 | |
|---|
| 148 | 139 | This is only useful if you have devices that support PTM, but it |
|---|
| 149 | 140 | is safe to enable even if you don't. |
|---|
| 141 | + |
|---|
| 142 | +config PCIE_EDR |
|---|
| 143 | + bool "PCI Express Error Disconnect Recover support" |
|---|
| 144 | + depends on PCIE_DPC && ACPI |
|---|
| 145 | + help |
|---|
| 146 | + This option adds Error Disconnect Recover support as specified |
|---|
| 147 | + in the Downstream Port Containment Related Enhancements ECN to |
|---|
| 148 | + the PCI Firmware Specification r3.2. Enable this if you want to |
|---|
| 149 | + support hybrid DPC model which uses both firmware and OS to |
|---|
| 150 | + implement DPC. |
|---|