powerpc/xics: Harden xics hypervisor backend
authorAnton Blanchard <anton@samba.org>
Thu, 24 Nov 2011 19:39:36 +0000 (19:39 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Nov 2011 00:42:09 +0000 (11:42 +1100)
commit3ce21cdfe93efffa4ffba9cf3ca2576d3d60d6dc
tree463576e41c593246365e7e41cfcd3c0197718967
parent3bfd0c9c8f9cd2c09cf3e5376c7113eec3370ebd
powerpc/xics: Harden xics hypervisor backend

During kdump stress testing I sometimes see the kdump kernel panic
with:

  Interrupt 0x306 (real) is invalid, disabling it.
  Kernel panic - not syncing: bad return code EOI - rc = -4, value=ff000306

Instead of panicing print the error message, dump the stack the first
time it happens and continue on. Add some more information to the
debug messages as well.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/xics/icp-hv.c