powerpc/powernv: Handle compound PE in config accessors
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Mon, 21 Jul 2014 04:42:35 +0000 (14:42 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 06:33:39 +0000 (16:33 +1000)
commit98fd7002878385bd542def73eac34acc75f683ee
tree9a38feddddadf9f19b78b9f537b7fc06c27dbec8
parent5828790931901329c5e2c5ec0baf1c3c2b74967f
powerpc/powernv: Handle compound PE in config accessors

The PCI config accessors check for PE frozen state and clear it if
EEH isn't functional. The patch handles compound PE in config accessors
if PHB supports it. For consistency, all PEs will be put into frozen
state if any one in compound group gets frozen by hardware.

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