]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Disable EEH on reboot
authorGavin Shan <shangw@linux.vnet.ibm.com>
Wed, 12 Feb 2014 07:24:56 +0000 (15:24 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 17 Feb 2014 00:19:39 +0000 (11:19 +1100)
commit1eb070fc97237d13166115cf309216153eaaf85c
tree0e4a3439cd8b3675f5a2cac4d4a010fd00698e23
parente7bfbffa646c264179c8abb22a9f2e615de3c549
powerpc/eeh: Disable EEH on reboot

We possiblly detect EEH errors during reboot, particularly in kexec
path, but it's impossible for device drivers and EEH core to handle
or recover them properly.

The patch registers one reboot notifier for EEH and disable EEH
subsystem during reboot. That means the EEH errors is going to be
cleared by hardware reset or second kernel during early stage of
PCI probe.

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