[PATCH 1/3] panic: Disable crash_kexec_post_notifiers if kdump is not available

2015-07-10 Thread Hidehiro Kawai
#x27;t change the value of the parameter. Signed-off-by: Hidehiro Kawai Cc: Andrew Morton Cc: Eric Biederman Cc: Vivek Goyal --- kernel/panic.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/panic.c b/kernel/panic.c index 04e91ff..5252331 100644 --- a/kernel/panic.c +++ b/ker

[PATCH 0/3] kexec: crash_kexec_post_notifiers boot option related fixes

2015-07-10 Thread Hidehiro Kawai
ution 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_

[PATCH 3/3] kexec: Change the timing of callbacks related to "crash_kexec_post_notifiers" boot option

2015-07-10 Thread Hidehiro Kawai
her cpus being alive. In this case, user should use SMP-safe notifiers only. Reported-by: Daniel Walker Fixes: f06e5153f4ae (kernel/panic.c: add "crash_kexec_post_notifiers" option for kdump after panic_notifers) Signed-off-by: Hidehiro Kawai Cc: Andrew Morton Cc: Eric Biederman Cc: V

[PATCH 2/3] kexec: Pass panic message to crash_kexec()

2015-07-10 Thread Hidehiro Kawai
Add an argument to crash_kexec() to pass the panic message. This patch is a preparation for the next patch, and it doesn't change the current behavior. Signed-off-by: Hidehiro Kawai Cc: Andrew Morton Cc: Eric Biederman Cc: Vivek Goyal --- arch/arm/kernel/traps.c |2 +- arch/

Re: [PATCH 1/3] panic: Disable crash_kexec_post_notifiers if kdump is not available

2015-07-13 Thread Hidehiro Kawai
Hello Eric and Daniel, (2015/07/14 5:26), dwal...@fifo99.com wrote: > On Fri, Jul 10, 2015 at 08:41:28AM -0500, Eric W. Biederman wrote: >> Hidehiro Kawai writes: >> >>> You can call panic notifiers and kmsg dumpers before kdump by >>> specifying "crash_kex

Re: [PATCH 1/3] panic: Disable crash_kexec_post_notifiers if kdump is not available

2015-07-15 Thread Hidehiro Kawai
15 at 08:19:45PM -0500, Eric W. Biederman wrote: >>>>> dwal...@fifo99.com writes: >>>>> >>>>>> On Fri, Jul 10, 2015 at 08:41:28AM -0500, Eric W. Biederman wrote: >>>>>>> Hidehiro Kawai writes: >>>>>>> >>&