android_kernel_xiaomi_sdm845/drivers/pci/pcie
Matthew Garrett 2f671e2dbf PCI: Disable ASPM if BIOS asks us to
We currently refuse to touch the ASPM registers if the BIOS tells us that
ASPM isn't supported. This can cause problems if the BIOS has (for any
reason) enabled ASPM on some devices anyway. Change the code such that we
explicitly clear ASPM if the FADT indicates that ASPM isn't supported,
and make sure we tidy up appropriately on device removal in order to deal
with the hotplug case. If ASPM is disabled because the BIOS doesn't hand
over control then we won't touch the registers.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-12-23 12:53:08 -08:00
..
aer Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2010-10-28 11:59:52 -07:00
aspm.c PCI: Disable ASPM if BIOS asks us to 2010-12-23 12:53:08 -08:00
Kconfig PCI: Default PCIe ASPM control to on and require !EMBEDDED to disable 2010-07-30 09:29:34 -07:00
Makefile PCI: PCIe: Move PCIe PME code to the pcie directory 2010-08-24 13:47:48 -07:00
pme.c PCI: PCIe: Move PCIe PME code to the pcie directory 2010-08-24 13:47:48 -07:00
portdrv_acpi.c PCI/PCIe/AER: Disable native AER service if BIOS has precedence 2010-10-15 13:09:50 -07:00
portdrv_bus.c PCI: portdrv: remove unnecessary struct pcie_port_data 2009-12-04 15:56:19 -08:00
portdrv_core.c PCI: PCIe: Disable PCIe port services during port initialization 2010-08-24 13:47:47 -07:00
portdrv_pci.c PCI: PCIe: Remove the port driver module exit routine 2010-08-24 13:47:49 -07:00
portdrv.h PCI: PCIe: Ask BIOS for control of all native services at once 2010-08-24 13:47:33 -07:00