]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "powerpc: Do not call ppc_md.panic in fadump panic notifier"
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 4 Dec 2017 05:27:25 +0000 (16:27 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Dec 2017 12:21:46 +0000 (23:21 +1100)
commit5d039ddae7114fe51699df1bb8addf9dc9f32ddb
tree341a012d6b6d82c2f825d617b4ecd91f3911398d
parent2fe8ac099597f722752b7ea23580cf40869f4351
Revert "powerpc: Do not call ppc_md.panic in fadump panic notifier"

This reverts commit 7cdd7e95c62c048d84f8e8e9eb103ceea81cd2c9.

That commit tried to fix problems with panic on powerpc in certain
circumstances, where some output from the generic panic code was being
dropped.

Unfortunately, it breaks things worse in other circumstances. In
particular when running a PAPR guest, it will now attempt to reboot
instead of informing the hypervisor (KVM or PowerVM) that the guest
has crashed. The crash notification is important to some
virtualization management layers.

Revert it for now until we can come up with a better solution.

Fixes: 7cdd7e95c62c ("powerpc: Do not call ppc_md.panic in fadump panic notifier")
Cc: stable@vger.kernel.org # v4.14+
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[mpe: Tweak change log a bit]
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