Re: [PATCH v14 11/11] kdump: update Documentation about crashkernel

2021-02-19 Thread chenzhou
On 2021/2/18 16:40, Baoquan He wrote: > On 01/30/21 at 03:10pm, Chen Zhou wrote: >> For arm64, the behavior of crashkernel=X has been changed, which >> tries low allocation in DMA zone and fall back to high allocation >> if it fails. >> >> We can also use "crashkernel=X,high" to select a high

Re: [PATCH v14 09/11] x86, arm64: Add ARCH_WANT_RESERVE_CRASH_KERNEL config

2021-02-19 Thread chenzhou
On 2021/2/18 16:35, Baoquan He wrote: > On 01/30/21 at 03:10pm, Chen Zhou wrote: >> We make the functions reserve_crashkernel[_low]() as generic for >> x86 and arm64. Since reserve_crashkernel[_low]() implementations >> are quite similar on other architectures as well, we can have more >> users

[PATCH v2] powerpc/kexec_file: Restore FDT size estimation for kdump kernel

2021-02-19 Thread Thiago Jung Bauermann
c/kexec/file_load_64.c | 26 -- 3 files changed, 10 insertions(+), 20 deletions(-) Applies on top of next-20210219. Changes since v1: - Adjusted comment describing kexec_extra_fdt_size_ppc64() as suggested by Lakshmi. diff --git a/arch/powerpc/include/asm/kexec.h b/arch

Re: [PATCH] powerpc/kexec_file: Restore FDT size estimation for kdump kernel

2021-02-19 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > On 2/19/21 6:25 AM, Thiago Jung Bauermann wrote: > > One small nit in the function header (please see below), but otherwise the > change looks good. > > Reviewed-by: Lakshmi Ramasubramanian Thanks for your review. I incorporated your suggestion and will send

Re: [PATCH 1/1] kexec: move machine_kexec_post_load() to public interface

2021-02-19 Thread Pavel Tatashin
On Fri, Feb 19, 2021 at 2:14 PM Will Deacon wrote: > > On Fri, Feb 19, 2021 at 02:06:31PM -0500, Pavel Tatashin wrote: > > On Fri, Feb 19, 2021 at 12:53 PM Will Deacon wrote: > > > > > > On Mon, Feb 15, 2021 at 01:59:08PM -0500, Pavel Tatashin wrote: > > > > machine_kexec_post_load() is called

[PATCH v2] kexec: move machine_kexec_post_load() to public interface

2021-02-19 Thread Pavel Tatashin
machine_kexec_post_load() is called after kexec load is finished. It must declared in public header not in kexec_internal.h Fixes the following compiler warning: arch/arm64/kernel/machine_kexec.c:62:5: warning: no previous prototype for function 'machine_kexec_post_load' [-Wmissing-prototypes]

Re: [PATCH 1/1] kexec: move machine_kexec_post_load() to public interface

2021-02-19 Thread Will Deacon
On Fri, Feb 19, 2021 at 02:06:31PM -0500, Pavel Tatashin wrote: > On Fri, Feb 19, 2021 at 12:53 PM Will Deacon wrote: > > > > On Mon, Feb 15, 2021 at 01:59:08PM -0500, Pavel Tatashin wrote: > > > machine_kexec_post_load() is called after kexec load is finished. It must > > > be declared in public

Re: [PATCH 1/1] kexec: move machine_kexec_post_load() to public interface

2021-02-19 Thread Pavel Tatashin
On Fri, Feb 19, 2021 at 12:53 PM Will Deacon wrote: > > On Mon, Feb 15, 2021 at 01:59:08PM -0500, Pavel Tatashin wrote: > > machine_kexec_post_load() is called after kexec load is finished. It must > > be declared in public header not in kexec_internal.h > > Could you provide a log of what goes

Re: [PATCH 1/1] kexec: move machine_kexec_post_load() to public interface

2021-02-19 Thread Will Deacon
On Mon, Feb 15, 2021 at 01:59:08PM -0500, Pavel Tatashin wrote: > machine_kexec_post_load() is called after kexec load is finished. It must > be declared in public header not in kexec_internal.h Could you provide a log of what goes wrong without this patch, please? > Reported-by: kernel test

Re: [PATCH] powerpc/kexec_file: Restore FDT size estimation for kdump kernel

2021-02-19 Thread Lakshmi Ramasubramanian
w doing. Signed-off-by: Thiago Jung Bauermann --- arch/powerpc/include/asm/kexec.h | 2 +- arch/powerpc/kexec/elf_64.c | 2 +- arch/powerpc/kexec/file_load_64.c | 26 -- 3 files changed, 10 insertions(+), 20 deletions(-) Applies on top of next-20210219. diff

[PATCH] powerpc/kexec_file: Restore FDT size estimation for kdump kernel

2021-02-19 Thread Thiago Jung Bauermann
- 3 files changed, 10 insertions(+), 20 deletions(-) Applies on top of next-20210219. diff --git a/arch/powerpc/include/asm/kexec.h b/arch/powerpc/include/asm/kexec.h index baab158e215c..5a11cc8d2350 100644 --- a/arch/powerpc/include/asm/kexec.h +++ b/arch/powerpc/include/asm/kexe