]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Add restore_config operation
authorGavin Shan <shangw@linux.vnet.ibm.com>
Fri, 3 Jan 2014 09:47:12 +0000 (17:47 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 15 Jan 2014 02:46:46 +0000 (13:46 +1100)
commitca9c1c1da141934922c70439030c6d6be474e75d
treee6d2d0176e0b7453bd39898c6f4d30b0e182f162
parenta95500dc803d9d55963dc25f96f488f0fe33ce45
powerpc/eeh: Add restore_config operation

After reset on the specific PE or PHB, we never configure AER
correctly on PowerNV platform. We needn't care it on pSeries
platform. The patch introduces additional EEH operation eeh_ops::
restore_config() so that we have chance to configure AER correctly
for PowerNV platform.

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