[PATCH] kexec-tools: Add some missing free() calls

2020-09-11 Thread Youling Tang
Add some missing free() calls. Signed-off-by: Youling Tang --- kexec/arch/i386/crashdump-x86.c| 22 +- kexec/arch/mips/crashdump-mips.c | 5 - kexec/arch/ppc64/crashdump-ppc64.c | 8 ++-- 3 files changed, 27 insertions(+), 8 deletions(-) diff --git

[PATCH] kexec-tools: Fix a prompt message when crashkernel is not reserved

2020-09-11 Thread Youling Tang
Where Y specifies how much memory to reserve for the dump-capture kernel and X specifies the beginning of this reserved memory. So Y should be placed before X. Signed-off-by: Youling Tang --- kexec/kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kexec/kexec.c

[PATCH] kexec-tools: mips: Remove commandline parameter "mem"

2020-09-11 Thread Youling Tang
"mem=" indicating the memory region the new kernel can use to boot into. And passed to the dump-capture kernel by kernel commandline parameter "mem=". But in the dump-capture kernel, we don’t need to use this parameter now, so remove "mem" and don't add "mem=" to new kernel commandline.

[PATCH v4 2/8] kernel/resource: move and rename IORESOURCE_MEM_DRIVER_MANAGED

2020-09-11 Thread David Hildenbrand
IORESOURCE_MEM_DRIVER_MANAGED currently uses an unused PnP bit, which is always set to 0 by hardware. This is far from beautiful (and confusing), and the bit only applies to SYSRAM. So let's move it out of the bus-specific (PnP) defined bits. We'll add another SYSRAM specific bit soon. If we ever

RE: makedumpfile: a feature question about filtering

2020-09-11 Thread 萩尾 一仁
Hi Pingfan, -Original Message- > Hello, > > There is an appeal which only wants to save some user page including env > and args pages, and discards the other user space pages. I understand that it's helpful to get them even with -d 31 for crash's "ps -a" option.. > > To achieve this