commit | 652defed48757ae0dcc851beeb8fdd484bad40c6 | [log] [tgz] |
---|---|---|
author | Gavin Shan <shangw@linux.vnet.ibm.com> | Thu Jun 27 13:46:43 2013 +0800 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jul 01 11:10:31 2013 +1000 |
tree | dac3a678e939cd4e5a724a3dd302ee8c2ce1f65b | |
parent | c35ae1796bd4865bad322645a7edb92d223dfb51 [diff] |
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>