Re: Revert "powerpc: Do not call ppc_md.panic in fadump panic notifier"

From: Michael Ellerman
Date: Wed Dec 06 2017 - 08:00:09 EST


On Mon, 2017-12-04 at 05:27:25 UTC, David Gibson wrote:
> This reverts commit a3b2cb30f252b21a6f962e0dd107c8b897ca65e4.
>
> The earlier patch 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.
>
> Since the circumstances in which the original patch helped are
> somewhat obscure, revert it for now until we figure out how to do it
> properly.
>
> Signed-off-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/ab9dbf771ff9b6b7e814e759213ed0

cheers