powerpc/eeh: Call opal_pci_reinit() on powernv for restoring config space
authorGavin Shan <shangw@linux.vnet.ibm.com>
Fri, 3 Jan 2014 09:47:13 +0000 (17:47 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 15 Jan 2014 02:57:43 +0000 (13:57 +1100)
commit9be3becc2f99f4f2b1b697a616b1aa9e7889d68f
tree13222481d41eedb178b440b9293ec63575c2d075
parent1d350544d5bf17d835d2850004c64ca51235c771
powerpc/eeh: Call opal_pci_reinit() on powernv for restoring config space

The patch implements the EEH operation backend restore_config()
for PowerNV platform. That relies on OPAL API opal_pci_reinit()
where we reinitialize the error reporting properly after PE or
PHB reset.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/eeh-powernv.c