powerpc/xics: Harden xics hypervisor backend
authorAnton Blanchard <anton@samba.org>
Thu, 24 Nov 2011 19:39:36 +0000 (19:39 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Sep 2012 14:04:42 +0000 (15:04 +0100)
commit4d676c891354e871351e741eedf6a909ebffd265
treec168a751015fb28833f5ddc7608e077e42c56570
parent33b29c62b42b09fae45b78535d315541ad65d321
powerpc/xics: Harden xics hypervisor backend

commit 3ce21cdfe93efffa4ffba9cf3ca2576d3d60d6dc upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/powerpc/sysdev/xics/icp-hv.c