powerpc/powernv: Handle compound PE
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Mon, 21 Jul 2014 04:42:33 +0000 (14:42 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 06:33:30 +0000 (16:33 +1000)
commit49dec9222f14a01b2de7b11e3de5adc204a74302
treebbb7ea6205868a7bad65d32f64f42c6ccccf93c2
parentc979c70ed176518dfb32eaf8a7ac58f41ae21de1
powerpc/powernv: Handle compound PE

The patch introduces 3 PHB callbacks: compound PE state retrieval,
force freezing and unfreezing compound PE. The PCI config accessors
and PowerNV EEH backend can use them in subsequent patches.

We don't export the capability of compound PE to EEH core, which
helps avoiding more complexity to EEH core.

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