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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Mar 2012 16:02:19 +0000 (09:02 -0700)
commitf043ddb60c84ea64a23b755004572afe922e653c
treef7e20692fe9f029fa18774ba90d31c0a30f46870
parentc042d55ecd82863d6d159e24187c3a1ea45ed669
PCI: ignore pre-1.1 ASPM quirking when ASPM is disabled

commit 4949be16822e92a18ea0cc1616319926628092ee upstream.

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>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pcie/aspm.c