commit | c35ae1796bd4865bad322645a7edb92d223dfb51 | [log] [tgz] |
---|---|---|
author | Gavin Shan <shangw@linux.vnet.ibm.com> | Thu Jun 27 13:46:42 2013 +0800 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jul 01 11:10:31 2013 +1000 |
tree | 0c8eb255dc4b996f4b17813ed287ba4a1c189e22 | |
parent | 090b9284d72561644d17a6e568d29c9e472c9865 [diff] |
powerpc/eeh: Don't collect PCI-CFG data on PHB When the PHB is fenced or dead, it's pointless to collect the data from PCI config space of subordinate PCI devices since it should return 0xFF's. The patch also fixes overwritten buffer while getting PCI config data. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>