[Crash-utility] [PATCH] kmem: update n option to dump memory block

2018-10-01 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Update for the "kmem -n" option to also dump memory block. Currently, "kmem -n" shows the memory section only. This patch gets available the memory block as well if 'memory_block' structure and 'memory_subsys' symbol exist. The memory block information is useful to

[Crash-utility] [PATCH 1/2] ppc64/opal: add a flag to determine if the kernel is running on OPAL firmware

2018-10-01 Thread Hari Bathini
Add PPC64 specific flag for kernels running on platforms based on OPAL firmware. Use this flag before processing commands specific to OPAL based systems. Signed-off-by: Hari Bathini --- defs.h |8 ppc64.c | 36 2 files changed, 24

[Crash-utility] [PATCH 2/2] ppc64/opal: Improve bt output when R1 falls in OPAL range

2018-10-01 Thread Hari Bathini
On OPAL based systems, when a thread is running an OPAL API, the stack pointer and instruction pointer would be pointing at OPAL address but 'bt' output for such thread would complain that the stack pointer is invalid. Update error/log message for better context. Signed-off-by: Hari Bathini ---

Re: [Crash-utility] [PATCH] cmdline: Add a new "--machdep stacksize=".

2018-10-01 Thread Dave Anderson
- Original Message - > Implemented support for 16k stack size that was introduced by commit > 6538b8ea886e472f4431db8ca1d60478f838d14b titled "x86_64: expand kernel > stack to 16K". > Without the patch, kernels has 16k stack, leading to errors in commands > such as "bt" and any command

Re: [Crash-utility] [PATCH] cmdline: Add a new "--machdep stacksize=".

2018-10-01 Thread Dominique Martinet
Sean Fu wrote on Sat, Sep 29, 2018: > Implemented support for 16k stack size that was introduced by commit > 6538b8ea886e472f4431db8ca1d60478f838d14b titled "x86_64: expand kernel > stack to 16K". > Without the patch, kernels has 16k stack, leading to errors in commands > such as "bt" and any

[Crash-utility] [PATCH] cmdline: Add a new "--machdep stacksize=".

2018-10-01 Thread Sean Fu
Implemented support for 16k stack size that was introduced by commit 6538b8ea886e472f4431db8ca1d60478f838d14b titled "x86_64: expand kernel stack to 16K". Without the patch, kernels has 16k stack, leading to errors in commands such as "bt" and any command regarding 8K stack. Add a new "--machdep