Re: [PATCH -next v4 1/2] riscv: kdump: Implement crashkernel=X,[high,low]

2023-05-20 Thread Baoquan He
On 05/11/23 at 04:47pm, chenjiahao (C) wrote: .. > > > @@ -1163,8 +1185,12 @@ static void __init reserve_crashkernel(void) > > > { > > > unsigned long long crash_base = 0; > > > unsigned long long crash_size = 0; > > > + unsigned long long crash_low_size = 0; > > >

Re: [PATCH -next v4 1/2] riscv: kdump: Implement crashkernel=X,[high,low]

2023-05-11 Thread chenjiahao (C)
On 2023/4/27 10:13, Baoquan He wrote: On 04/10/23 at 09:05pm, Chen Jiahao wrote: On riscv, the current crash kernel allocation logic is trying to allocate within 32bit addressible memory region by default, if failed, try to allocate without 4G restriction. In need of saving DMA zone memory

Re: [PATCH -next v4 1/2] riscv: kdump: Implement crashkernel=X,[high,low]

2023-04-26 Thread Baoquan He
On 04/10/23 at 09:05pm, Chen Jiahao wrote: > On riscv, the current crash kernel allocation logic is trying to > allocate within 32bit addressible memory region by default, if > failed, try to allocate without 4G restriction. > > In need of saving DMA zone memory while allocating a relatively

Re: [PATCH -next v4 1/2] riscv: kdump: Implement crashkernel=X,[high,low]

2023-04-11 Thread Simon Horman
On Mon, Apr 10, 2023 at 09:05:52PM +0800, Chen Jiahao wrote: > On riscv, the current crash kernel allocation logic is trying to > allocate within 32bit addressible memory region by default, if > failed, try to allocate without 4G restriction. > > In need of saving DMA zone memory while allocating

[PATCH -next v4 1/2] riscv: kdump: Implement crashkernel=X,[high,low]

2023-04-10 Thread Chen Jiahao
On riscv, the current crash kernel allocation logic is trying to allocate within 32bit addressible memory region by default, if failed, try to allocate without 4G restriction. In need of saving DMA zone memory while allocating a relatively large crash kernel region, allocating the reserved memory