Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # PCI Express Port Bus Configuration |
| 3 | # |
| 4 | config PCIEPORTBUS |
| 5 | bool "PCI Express support" |
| 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 |
| 17 | tristate "PCI Express Hotplug driver" |
| 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 | |
| 23 | To compile this driver as a module, choose M here: the |
| 24 | module will be called pciehp. |
| 25 | |
| 26 | When in doubt, say N. |
| 27 | |
Zhang, Yanmin | 6c2b374 | 2006-07-31 15:21:33 +0800 | [diff] [blame] | 28 | source "drivers/pci/pcie/aer/Kconfig" |
Shaohua Li | 7d715a6 | 2008-02-25 09:46:41 +0800 | [diff] [blame] | 29 | |
| 30 | # |
| 31 | # PCI Express ASPM |
| 32 | # |
| 33 | config PCIEASPM |
Matthew Garrett | ea5f9fc | 2010-06-22 17:03:03 -0400 | [diff] [blame] | 34 | bool "PCI Express ASPM control" if EMBEDDED |
| 35 | depends on PCI && PCIEPORTBUS |
| 36 | default y |
Shaohua Li | 7d715a6 | 2008-02-25 09:46:41 +0800 | [diff] [blame] | 37 | help |
Matthew Garrett | ea5f9fc | 2010-06-22 17:03:03 -0400 | [diff] [blame] | 38 | This enables OS control over PCI Express ASPM (Active State |
| 39 | Power Management) and Clock Power Management. ASPM supports |
| 40 | state L0/L0s/L1. |
Shaohua Li | 7d715a6 | 2008-02-25 09:46:41 +0800 | [diff] [blame] | 41 | |
Matthew Garrett | ea5f9fc | 2010-06-22 17:03:03 -0400 | [diff] [blame] | 42 | ASPM is initially set up the the firmware. With this option enabled, |
| 43 | Linux can modify this state in order to disable ASPM on known-bad |
| 44 | hardware or configurations and enable it when known-safe. |
| 45 | |
| 46 | ASPM can be disabled or enabled at runtime via |
| 47 | /sys/module/pcie_aspm/parameters/policy |
| 48 | |
| 49 | When in doubt, say Y. |
Shaohua Li | 7d715a6 | 2008-02-25 09:46:41 +0800 | [diff] [blame] | 50 | config PCIEASPM_DEBUG |
| 51 | bool "Debug PCI Express ASPM" |
| 52 | depends on PCIEASPM |
| 53 | default n |
| 54 | help |
| 55 | This enables PCI Express ASPM debug support. It will add per-device |
| 56 | interface to control ASPM. |
Rafael J. Wysocki | c7f4865 | 2010-02-17 23:39:08 +0100 | [diff] [blame] | 57 | |
| 58 | config PCIE_PME |
| 59 | def_bool y |
| 60 | depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL && ACPI |