allow-kdump-with-crash_kexec_post_notifiers.patch removed from -mm tree
The patch titled
Subject: kexec: allow kdump with crash_kexec_post_notifiers
has been removed from the -mm tree. Its filename was
allow-kdump-with-crash_kexec_post_notifiers.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Petr Tesarik <[email protected]>
Subject: kexec: allow kdump with crash_kexec_post_notifiers
If a crash kernel is loaded, do not crash the running domain. This is needed if the kernel is loaded with crash_kexec_post_notifiers, because panic notifiers are run before __crash_kexec() in that case, and this Xen hook prevents its being called later.
[[email protected]: build fix: unconditionally include kexec.h]
Signed-off-by Petr Tesarik <[email protected]>
Cc Juergen Gross <[email protected]>
Cc Josh Triplett <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Eric Biederman <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Boris Ostrovsky <[email protected]>
Cc "Paul E. McKenney" <[email protected]>
Cc Dave Young <[email protected]>
Cc David Vrabel <[email protected]>
Cc Vivek Goyal <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/x86/xen/enlighten.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/x86/xen/enlighten.c renamed from arch/x86/xen/enlighten.c~allow-kdump-with-crash_kexec_post_notifiers +2 -3
@@ -34,9 +34,7 @@#include <linux/edd.h> #include <linux/frame.h> -#ifdef CONFIG_KEXEC_CORE #include <linux/kexec.h> -#endif #include <xen/xen.h> #include <xen/events.h>
@@ -1334,7 +1332,8 @@ static void xen_crash_shutdown(struct ptstatic int xen_panic_event (struct notifier_block *this,unsigned long event,void *ptr) { -xen_reboot (SHUTDOWN_crash); +if (!kexec_crash_loaded ()) +xen_reboot (SHUTDOWN_crash);return NOTIFY_DONE ; }
_
Patches currently in -mm which might be from [email protected] are