]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: keep ASPM link state consistent throughout PCIe hierarchy
authorShaohua Li <shaohua.li@intel.com>
Fri, 19 Dec 2008 01:27:42 +0000 (09:27 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 25 Jan 2009 00:41:32 +0000 (16:41 -0800)
commite361713ccd13a6df0129786b0b108a36587b83c7
tree551cc8a5c1c3096c63bf98641e989e1acd5fcbad
parentc5d8afab63194a50e6dfc6b0b03a604a7de6d5a3
PCI: keep ASPM link state consistent throughout PCIe hierarchy

commit 46bbdfa44cfc0d352148a0dc33ba9f6db02ccdf0 upstream.

In a PCIe hierarchy with a switch present, if the link state of an
endpoint device is changed, we must check the whole hierarchy from the
endpoint device to root port, and for each link in the hierarchy, the new
link state should be configured. Previously, the implementation checked
the state but forgot to configure the links between root port to switch.
Fixes Novell bz #448987.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Tested-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/aspm.c