lkml.org 
[lkml]   [2015]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/3] kexec: crash_kexec_post_notifiers boot option related fixes
From
Date
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




\
 
 \ /
  Last update: 2015-07-10 14:01    [W:0.204 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site