[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150710113331.4368.10495.stgit@softrs>
Date: Fri, 10 Jul 2015 20:33:31 +0900
From: Hidehiro Kawai <hidehiro.kawai.ez@...achi.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Vivek Goyal <vgoyal@...hat.com>
Cc: linux-mips@...ux-mips.org, Baoquan He <bhe@...hat.com>,
linux-sh@...r.kernel.org, linux-s390@...r.kernel.org,
kexec@...ts.infradead.org, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...nel.org>,
HATAYAMA Daisuke <d.hatayama@...fujitsu.com>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Daniel Walker <dwalker@...o99.com>,
linuxppc-dev@...ts.ozlabs.org, linux-metag@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH 0/3] kexec: crash_kexec_post_notifiers boot option related
fixes
This is a bugfix patch set for crash_kexec_post_notifiers boot option
which allows users to call panic notifiers and kmsg dumpers before
kdump.
The main patch is PATCH 3/3, and it fixes two problems reported by
Daniel Walker (https://lkml.org/lkml/2015/6/24/44).
Problem 1:
If crash_kexec_post_notifiers boot option is specified, some
shutting down process which assume other cpus are still alive
don't work properly.
Problem 2:
If crash_kexec_post_notifiers boot option is specified, register
information of other cpus are not saved to crash dumps.
PATCH 3/3 is also another solution for a bug reported by Daisuke
Hatayama (https://lkml.org/lkml/2015/5/15/284). So, this patch
replace commits 5375b70 and f45d85f which fix the bug.
---
Hidehiro Kawai (3):
panic: Disable crash_kexec_post_notifiers if kdump is not available
kexec: Pass panic message to crash_kexec()
kexec: Change the timing of callbacks related to "crash_kexec_post_notifiers" boot option
Documentation/kernel-parameters.txt | 4 ++
arch/arm/kernel/traps.c | 2 +
arch/arm64/kernel/traps.c | 2 +
arch/metag/kernel/traps.c | 2 +
arch/mips/kernel/traps.c | 2 +
arch/powerpc/kernel/traps.c | 2 +
arch/s390/kernel/ipl.c | 2 +
arch/sh/kernel/traps.c | 2 +
arch/x86/kernel/dumpstack.c | 2 +
arch/x86/platform/uv/uv_nmi.c | 2 +
include/linux/kernel.h | 1 +
include/linux/kexec.h | 7 +++-
kernel/kexec.c | 62 ++++++++++++++++++++++++++++++-----
kernel/panic.c | 23 ++++---------
14 files changed, 80 insertions(+), 35 deletions(-)
--
Hidehiro Kawai
Hitachi, Ltd. Research & Development Group
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists