• David Gibson's avatar
    Revert "powerpc: Do not call ppc_md.panic in fadump panic notifier" · ab9dbf77
    David Gibson authored
    This reverts commit a3b2cb30.
    
    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: a3b2cb30 ("powerpc: Do not call ppc_md.panic in fadump panic notifier")
    Cc: stable@vger.kernel.org # v4.14+
    Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
    [mpe: Tweak change log a bit]
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    ab9dbf77
machdep.h 9.62 KB