]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # PCI Express Port Bus Configuration | |
3 | # | |
4 | config PCIEPORTBUS | |
d47af0bc | 5 | bool "PCI Express Port Bus support" |
1da177e4 LT |
6 | depends on PCI |
7 | help | |
8 | This automatically enables PCI Express Port Bus support. Users can | |
9 | choose Native Hot-Plug support, Advanced Error Reporting support, | |
10 | Power Management Event support and Virtual Channel support to run | |
11 | on PCI Express Ports (Root or Switch). | |
12 | ||
13 | # | |
14 | # Include service Kconfig here | |
15 | # | |
16 | config HOTPLUG_PCI_PCIE | |
c10cc483 | 17 | bool "PCI Express Hotplug driver" |
1da177e4 LT |
18 | depends on HOTPLUG_PCI && PCIEPORTBUS |
19 | help | |
20 | Say Y here if you have a motherboard that supports PCI Express Native | |
21 | Hotplug | |
22 | ||
1da177e4 LT |
23 | When in doubt, say N. |
24 | ||
6c2b374d | 25 | source "drivers/pci/pcie/aer/Kconfig" |
7d715a6c SL |
26 | |
27 | # | |
28 | # PCI Express ASPM | |
29 | # | |
30 | config PCIEASPM | |
6a108a14 | 31 | bool "PCI Express ASPM control" if EXPERT |
ea5f9fc5 MG |
32 | depends on PCI && PCIEPORTBUS |
33 | default y | |
7d715a6c | 34 | help |
ea5f9fc5 MG |
35 | This enables OS control over PCI Express ASPM (Active State |
36 | Power Management) and Clock Power Management. ASPM supports | |
37 | state L0/L0s/L1. | |
7d715a6c | 38 | |
d56641c7 | 39 | ASPM is initially set up by the firmware. With this option enabled, |
ea5f9fc5 MG |
40 | Linux can modify this state in order to disable ASPM on known-bad |
41 | hardware or configurations and enable it when known-safe. | |
42 | ||
43 | ASPM can be disabled or enabled at runtime via | |
44 | /sys/module/pcie_aspm/parameters/policy | |
45 | ||
46 | When in doubt, say Y. | |
cc73176c | 47 | |
7d715a6c SL |
48 | config PCIEASPM_DEBUG |
49 | bool "Debug PCI Express ASPM" | |
50 | depends on PCIEASPM | |
51 | default n | |
52 | help | |
53 | This enables PCI Express ASPM debug support. It will add per-device | |
54 | interface to control ASPM. | |
c7f48656 | 55 | |
ad71c962 MG |
56 | choice |
57 | prompt "Default ASPM policy" | |
58 | default PCIEASPM_DEFAULT | |
59 | depends on PCIEASPM | |
60 | ||
61 | config PCIEASPM_DEFAULT | |
cc73176c | 62 | bool "BIOS default" |
ad71c962 MG |
63 | depends on PCIEASPM |
64 | help | |
65 | Use the BIOS defaults for PCI Express ASPM. | |
66 | ||
67 | config PCIEASPM_POWERSAVE | |
cc73176c | 68 | bool "Powersave" |
ad71c962 MG |
69 | depends on PCIEASPM |
70 | help | |
71 | Enable PCI Express ASPM L0s and L1 where possible, even if the | |
72 | BIOS did not. | |
73 | ||
74 | config PCIEASPM_PERFORMANCE | |
cc73176c | 75 | bool "Performance" |
ad71c962 MG |
76 | depends on PCIEASPM |
77 | help | |
78 | Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them. | |
79 | endchoice | |
80 | ||
c7f48656 RW |
81 | config PCIE_PME |
82 | def_bool y | |
fbb988be | 83 | depends on PCIEPORTBUS && PM |
26e51571 KB |
84 | |
85 | config PCIE_DPC | |
86 | tristate "PCIe Downstream Port Containment support" | |
87 | depends on PCIEPORTBUS | |
88 | default n | |
89 | help | |
90 | This enables PCI Express Downstream Port Containment (DPC) | |
91 | driver support. DPC events from Root and Downstream ports | |
92 | will be handled by the DPC driver. If your system doesn't | |
93 | have this capability or you do not want to use this feature, | |
94 | it is safe to answer N. | |
95 | ||
96 | To compile this driver as a module, choose M here: the module | |
97 | will be called pcie-dpc. |