]> 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)
commit7466582d3504d310d031031cc2b3e735180440a1
tree0e4a3439cd8b3675f5a2cac4d4a010fd00698e23
parent1a5e2f8338e6e7416e322d4123ca98f1fea3ccf1
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