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

Simon Horman horms at verge.net.au
Wed Apr 10 02:15:15 PDT 2019


On Tue, Apr 09, 2019 at 11:59:21AM +0800, Bhupesh Sharma wrote:
> 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

Sure, sorry for being a bit too hasty.
I will drop this patch for now.



More information about the kexec mailing list