From: akpm@linux-foundation.org Subject: [merged] allow-kdump-with-crash_kexec_post_notifiers.patch removed from -mm tree Date: Wed, 03 Aug 2016 11:14:04 -0700 Message-ID: <57a2346c.TXdQhXzwCpyQ3sdH%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:33590 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932326AbcHCSOF (ORCPT ); Wed, 3 Aug 2016 14:14:05 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: ptesarik@suse.com, boris.ostrovsky@oracle.com, david.vrabel@citrix.com, dyoung@redhat.com, ebiederm@xmission.com, hpa@zytor.com, jgross@suse.com, josh@joshtriplett.org, mingo@redhat.com, paulmck@linux.vnet.ibm.com, tglx@linutronix.de, vgoyal@redhat.com, mm-commits@vger.kernel.org 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 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. [akpm@linux-foundation.org: build fix: unconditionally include kexec.h] Link: http://lkml.kernel.org/r/20160713122000.14969.99963.stgit@hananiah.suse.cz Signed-off-by: Petr Tesarik Cc: Juergen Gross Cc: Josh Triplett Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Eric Biederman Cc: "H. Peter Anvin" Cc: Boris Ostrovsky Cc: "Paul E. McKenney" Cc: Dave Young Cc: David Vrabel Cc: Vivek Goyal Signed-off-by: Andrew Morton --- arch/x86/xen/enlighten.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff -puN arch/x86/xen/enlighten.c~allow-kdump-with-crash_kexec_post_notifiers arch/x86/xen/enlighten.c --- a/arch/x86/xen/enlighten.c~allow-kdump-with-crash_kexec_post_notifiers +++ a/arch/x86/xen/enlighten.c @@ -34,9 +34,7 @@ #include #include -#ifdef CONFIG_KEXEC_CORE #include -#endif #include #include @@ -1334,7 +1332,8 @@ static void xen_crash_shutdown(struct pt static 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 ptesarik@suse.com are