diff options
author | Shaohua Li <shaohua.li@intel.com> | 2008-07-23 10:32:24 +0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-07-28 14:56:09 -0700 |
commit | 5fde244d39b88625ac578d83e6625138714de031 (patch) | |
tree | e50762b22a94f7f7990c9dbab699a857da0982eb /drivers/pci/pcie | |
parent | ce6fce4295ba727b36fdc73040e444bd1aae64cd (diff) | |
download | kernel_samsung_tuna-5fde244d39b88625ac578d83e6625138714de031.zip kernel_samsung_tuna-5fde244d39b88625ac578d83e6625138714de031.tar.gz kernel_samsung_tuna-5fde244d39b88625ac578d83e6625138714de031.tar.bz2 |
PCI: disable ASPM per ACPI FADT setting
The ACPI FADT table includes an ASPM control bit. If the bit is set, do
not enable ASPM since it may indicate that the platform doesn't actually
support the feature.
Tested-by: Jack Howarth <howarth@bromo.msbb.uc.edu>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pcie')
-rw-r--r-- | drivers/pci/pcie/aspm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c index f824955..759c51a 100644 --- a/drivers/pci/pcie/aspm.c +++ b/drivers/pci/pcie/aspm.c @@ -808,6 +808,11 @@ static int __init pcie_aspm_disable(char *str) __setup("pcie_noaspm", pcie_aspm_disable); +void pcie_no_aspm(void) +{ + aspm_disabled = 1; +} + #ifdef CONFIG_ACPI #include <acpi/acpi_bus.h> #include <linux/pci-acpi.h> |