]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Don't clear ASPM bits when the FADT declares it's unsupported
authorMatthew Garrett <mjg59@coreos.com>
Tue, 7 Apr 2015 18:07:00 +0000 (11:07 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 9 Apr 2015 19:20:11 +0000 (14:20 -0500)
commit99f88f4d9ddb613f25241e5ef1aba04c0a694191
tree5658630a603c2fa28fe5dc54502a0ac4c3bebe43
parent518f9e1316f35d3bfa1f7ba4e21635d69815d19d
PCI: Don't clear ASPM bits when the FADT declares it's unsupported

Communications with a hardware vendor confirm that the expected behaviour
on systems that set the FADT ASPM disable bit but which still grant full
PCIe control is for the OS to leave any BIOS configuration intact and
refuse to touch the ASPM bits.  This mimics the behaviour of Windows.

Signed-off-by: Matthew Garrett <mjg59@coreos.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/acpi/pci_root.c
drivers/pci/pcie/aspm.c
include/linux/pci-aspm.h