PCI: ignore pre-1.1 ASPM quirking when ASPM is disabled
authorMatthew Garrett <mjg@redhat.com>
Tue, 6 Mar 2012 18:41:49 +0000 (13:41 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 8 Mar 2012 04:26:47 +0000 (20:26 -0800)
commit4949be16822e92a18ea0cc1616319926628092ee
tree51bc0b8620f0e5e0b788803d36d2d71aff7e4e73
parent4f262acfde22b63498b5e4f165e53d3bb4e96400
PCI: ignore pre-1.1 ASPM quirking when ASPM is disabled

Right now we won't touch ASPM state if ASPM is disabled, except in the case
where we find a device that appears to be too old to reliably support ASPM.
Right now we'll clear it in that case, which is almost certainly the wrong
thing to do. The easiest way around this is just to disable the blacklisting
when ASPM is disabled.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aspm.c