From: Shaohua Li Date: Fri, 19 Dec 2008 01:27:42 +0000 (+0800) Subject: PCI: keep ASPM link state consistent throughout PCIe hierarchy X-Git-Tag: v2.6.27.13~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2da924fad2d44f5b0be87f9b7edc791e347de7c;p=pandora-kernel.git 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 Tested-by: Andrew Patterson Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed