[RESEND PATCH] arm64: support more than one crash kernel regions

Bhupesh Sharma bhsharma at redhat.com
Mon Apr 8 20:59:21 PDT 2019


Hi Simon, Chen,

On Mon, Apr 8, 2019 at 5:36 PM Simon Horman <horms at verge.net.au> wrote:
>
> On Mon, Apr 08, 2019 at 05:22:39PM +0800, Chen Zhou wrote:
> > When crashkernel is reserved above 4G in memory, kernel should
> > reserve some amount of low memory for swiotlb and some DMA buffers.
> > So there may be two crash kernel regions, one is below 4G, the other
> > is above 4G.
> >
> > Currently, there is only one crash kernel region on arm64, and pass
> > "linux,usable-memory-range = <BASE SIZE>" property to crash dump
> > kernel. Now, we pass
> > "linux,usable-memory-range = <BASE1 SIZE1 BASE2 SIZE2>" to crash
> > dump kernel to support two crash kernel regions and load crash
> > kernel high.
> >
> > This patch paves the way for the use of arm64 reserving crashkernel
> > above 4G. The details are as below:
> > Link: https://lore.kernel.org/linux-arm-kernel/20190403030546.23718-1-chenzhou10@huawei.com/T/#t
> >
> > Signed-off-by: Chen Zhou <chenzhou10 at huawei.com>
>
> Thanks, applied.

Sorry, but I think the kernel patch which adds this functionality is
still under discussion and review (see [1]).
May be we can wait for the kernel change to be first discussed and
absorbed and then integrate this patch in kexec-tools.

What do you think?

[1]. https://lkml.org/lkml/2019/4/2/1173

Thanks,
Bhupesh



More information about the kexec mailing list