]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Do not call ppc_md.panic in fadump panic notifier
authorNicholas Piggin <npiggin@gmail.com>
Wed, 5 Jul 2017 03:56:25 +0000 (13:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:01 +0000 (14:26 +1000)
commit45410691fafea94dd3af5359565d113afc8430fa
treebf86a40c29ce9aebfdb76284435a8f09badaf818
parent160cb7582e09e7f35a99fbb51aeace6fed4bea37
powerpc: Do not call ppc_md.panic in fadump panic notifier

If fadump is not registered, and no other crash or debug handlers are
registered, the powerpc panic handler stops the guest before the
generic panic code can push out debug information to the console.

Currently, system reset injection causes the guest to silently stop.

Stop calling ppc_md.panic in the panic notifier. crash_fadump already
does rtas_os_term() to terminate the guest if fadump is registered.

Remove ppc_md.panic. Move fadump panic notifier into fadump code.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/machdep.h
arch/powerpc/include/asm/setup.h
arch/powerpc/kernel/fadump.c
arch/powerpc/kernel/setup-common.c
arch/powerpc/platforms/ps3/setup.c
arch/powerpc/platforms/pseries/setup.c