Re: [PATCH v13 6/8] arm64: kdump: reimplement crashkernel=X

2020-11-12 Thread chenzhou
On 2020/11/12 16:36, Baoquan He wrote: > On 11/12/20 at 10:25am, Mike Rapoport wrote: >> On Wed, Nov 11, 2020 at 09:54:48PM +0800, Baoquan He wrote: >>> On 11/11/20 at 09:27pm, chenzhou wrote: Hi Baoquan, >>> ... >> #ifdef CONFIG_CRASH_DUMP >> static int __init

Re: [PATCH v13 6/8] arm64: kdump: reimplement crashkernel=X

2020-11-12 Thread Baoquan He
On 11/12/20 at 10:25am, Mike Rapoport wrote: > On Wed, Nov 11, 2020 at 09:54:48PM +0800, Baoquan He wrote: > > On 11/11/20 at 09:27pm, chenzhou wrote: > > > Hi Baoquan, > > ... > > > >> #ifdef CONFIG_CRASH_DUMP > > > >> static int __init early_init_dt_scan_elfcorehdr(unsigned long node, > > > >>

Re: [PATCH v13 6/8] arm64: kdump: reimplement crashkernel=X

2020-11-12 Thread Mike Rapoport
On Wed, Nov 11, 2020 at 09:54:48PM +0800, Baoquan He wrote: > On 11/11/20 at 09:27pm, chenzhou wrote: > > Hi Baoquan, > ... > > >> #ifdef CONFIG_CRASH_DUMP > > >> static int __init early_init_dt_scan_elfcorehdr(unsigned long node, > > >> diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c > >

Re: [PATCH v13 6/8] arm64: kdump: reimplement crashkernel=X

2020-11-11 Thread Baoquan He
On 11/11/20 at 09:27pm, chenzhou wrote: > Hi Baoquan, ... > >> #ifdef CONFIG_CRASH_DUMP > >> static int __init early_init_dt_scan_elfcorehdr(unsigned long node, > >> diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c > >> index 1c0f3e02f731..c55cee290bbb 100644 > >> --- a/arch/arm64/mm/mmu.c

Re: [PATCH v13 6/8] arm64: kdump: reimplement crashkernel=X

2020-11-11 Thread chenzhou
Hi Baoquan, On 2020/11/11 9:59, Baoquan He wrote: > On 10/31/20 at 03:44pm, Chen Zhou wrote: >> There are following issues in arm64 kdump: >> 1. We use crashkernel=X to reserve crashkernel below 4G, which >> will fail when there is no enough low memory. >> 2. If reserving crashkernel above 4G,

Re: [PATCH v13 6/8] arm64: kdump: reimplement crashkernel=X

2020-11-10 Thread Baoquan He
On 10/31/20 at 03:44pm, Chen Zhou wrote: > There are following issues in arm64 kdump: > 1. We use crashkernel=X to reserve crashkernel below 4G, which > will fail when there is no enough low memory. > 2. If reserving crashkernel above 4G, in this case, crash dump > kernel will boot failure because