]> git.baikalelectronics.ru Git - kernel.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)
commit41326dd9949152098b75bb5a24c3bca1ce401a7d
treed9cfe4822696f60b6cd79683ea53174f7cb74730
parent7fc40bfe060a76fa69f609c6fa1bde356f35a0c9
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