]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/eeh: Check PCIe link after reset
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 27 Jun 2013 05:46:43 +0000 (13:46 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 01:10:31 +0000 (11:10 +1000)
commit652defed48757ae0dcc851beeb8fdd484bad40c6
treedac3a678e939cd4e5a724a3dd302ee8c2ce1f65b
parentc35ae1796bd4865bad322645a7edb92d223dfb51
powerpc/eeh: Check PCIe link after reset

After reset (e.g. complete reset) in order to bring the fenced PHB
back, the PCIe link might not be ready yet. The patch intends to
make sure the PCIe link is ready before accessing its subordinate
PCI devices. The patch also fixes that wrong values restored to
PCI_COMMAND register for PCI bridges.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/eeh_pe.c