OpenCloudOS-Kernel/drivers/pci/pcie
Bjorn Helgaas 2add0ec14c PCI/ASPM: Warn when driver asks to disable ASPM, but we can't do it
Some devices have hardware problems related to using ASPM.  Drivers for
these devices use pci_disable_link_state() to prevent their device from
entering L0s or L1.  But on platforms where the OS doesn't have permission
to manage ASPM, pci_disable_link_state() doesn't actually disable ASPM.

Windows has a similar mechanism ("PciASPMOptOut"), and when the OS doesn't
have control of ASPM, it doesn't actually disable ASPM either.

This patch just adds a warning in dmesg about the fact that
pci_disable_link_state() is doing nothing.

Reported-by: Emmanuel Grumbach <egrumbach@gmail.com>
Reference: https://lkml.kernel.org/r/CANUX_P3F5YhbZX3WGU-j1AGpbXb_T9Bis2ErhvKkFMtDvzatVQ@mail.gmail.com
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=57331
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2013-05-21 10:56:51 -06:00
..
aer Merge branch 'pci/cleanup' into next 2013-04-17 10:31:34 -06:00
Kconfig PCI: Remove unnecessary dependencies between PME and ACPI 2013-04-15 14:30:44 -06:00
Makefile PCI: PCIe: Move PCIe PME code to the pcie directory 2010-08-24 13:47:48 -07:00
aspm.c PCI/ASPM: Warn when driver asks to disable ASPM, but we can't do it 2013-05-21 10:56:51 -06:00
pme.c PCI: Remove unnecessary dependencies between PME and ACPI 2013-04-15 14:30:44 -06:00
portdrv.h PCI: Remove "extern" from function declarations 2013-04-17 10:21:17 -06:00
portdrv_acpi.c PCI: Fix missing prototype for pcie_port_acpi_setup() 2013-04-12 11:17:47 -06:00
portdrv_bus.c PCI: Introduce pci_pcie_type(dev) to replace pci_dev->pcie_type 2012-08-23 09:40:57 -06:00
portdrv_core.c PCI: Use PCI Express Capability accessor 2013-01-30 21:24:39 -07:00
portdrv_pci.c PCI changes for the v3.10 merge window: 2013-04-29 09:30:25 -07:00