]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Don't collect PCI-CFG data on PHB
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 27 Jun 2013 05:46:42 +0000 (13:46 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 01:10:31 +0000 (11:10 +1000)
commitc0e842e7b222b28e001e595436edaef5094dd5b7
tree0c8eb255dc4b996f4b17813ed287ba4a1c189e22
parenta3188d668f7e698e0f4bd91f33428601c4c796f7
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>
arch/powerpc/kernel/eeh.c