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)
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

Simple merge