]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCIe: ASPM: Break out of endless loop waiting for PCI config bits to switch
authorThomas Renninger <trenn@suse.de>
Tue, 9 Dec 2008 12:05:09 +0000 (13:05 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 9 Dec 2008 22:59:24 +0000 (14:59 -0800)
commit2a42d9dba7842422ffb2c02e75288a8bc2fd5065
treed9cfe4822696f60b6cd79683ea53174f7cb74730
parent3b5dd45e947ecd21491e1658fba7bb4bc4a54995
PCIe: ASPM: Break out of endless loop waiting for PCI config bits to switch

Makes a Compaq 6735s boot reliably again.  It used to hang in the loop
on some boots.  Give the link one second to train, otherwise break out
of the loop and reset the previously set clock bits.

Cc: stable@vger.kernel.org
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aspm.c