]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Improve kexec reliability
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 10 May 2013 06:59:18 +0000 (16:59 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 10 May 2013 06:59:18 +0000 (16:59 +1000)
commitec7958a02087f08b41cc114f930b3bc483828018
tree2571b5d1851a9f2bef62e92def3608f738748251
parent75fdf35c8ce45736190842d20a410db8d6412b41
powerpc/powernv: Improve kexec reliability

We add a machine_shutdown hook that frees the OPAL interrupts
(so they get masked at the source and don't fire while kexec'ing)
and which triggers an IODA reset on all the PCIe host bridges
which will have the effect of blocking all DMAs and subsequent
PCIs interrupts.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal.c
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/platforms/powernv/pci.h
arch/powerpc/platforms/powernv/powernv.h
arch/powerpc/platforms/powernv/setup.c