summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/Kconfig
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-02-03 10:18:13 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-17 09:22:03 -0800
commitad71c96213a68dfe6d761e3ff7ac7ac267fd612a (patch)
treee1586751c7249035c128de60a5721aafa997e2d5 /drivers/pci/pcie/Kconfig
parentf67fd55fa96f7d7295b43ffbc4a97d8f55e473aa (diff)
downloadblackbird-op-linux-ad71c96213a68dfe6d761e3ff7ac7ac267fd612a.tar.gz
blackbird-op-linux-ad71c96213a68dfe6d761e3ff7ac7ac267fd612a.zip
PCI: pcie: Add support for setting default ASPM policy
Distributions may wish to provide different defaults for PCIE ASPM depending on their target audience. Provide a configuration option for choosing the default policy. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pcie/Kconfig')
-rw-r--r--drivers/pci/pcie/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig
index 72962cc92e0a..6c8bc5809787 100644
--- a/drivers/pci/pcie/Kconfig
+++ b/drivers/pci/pcie/Kconfig
@@ -55,6 +55,31 @@ config PCIEASPM_DEBUG
This enables PCI Express ASPM debug support. It will add per-device
interface to control ASPM.
+choice
+ prompt "Default ASPM policy"
+ default PCIEASPM_DEFAULT
+ depends on PCIEASPM
+
+config PCIEASPM_DEFAULT
+ bool "BIOS default"
+ depends on PCIEASPM
+ help
+ Use the BIOS defaults for PCI Express ASPM.
+
+config PCIEASPM_POWERSAVE
+ bool "Powersave"
+ depends on PCIEASPM
+ help
+ Enable PCI Express ASPM L0s and L1 where possible, even if the
+ BIOS did not.
+
+config PCIEASPM_PERFORMANCE
+ bool "Performance"
+ depends on PCIEASPM
+ help
+ Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them.
+endchoice
+
config PCIE_PME
def_bool y
depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL && ACPI
OpenPOWER on IntegriCloud