[PATCH] arm: kdump: Add DT properties to crash dump kernel's DTB
Simon Horman
horms at verge.net.au
Wed Sep 2 12:32:17 EDT 2020
On Wed, Sep 02, 2020 at 05:48:00PM +0200, Geert Uytterhoeven wrote:
> On Wed, Sep 2, 2020 at 5:41 PM Geert Uytterhoeven
> <geert+renesas at glider.be> wrote:
> > Pass the following properties to the crash dump kernel, to provide a
> > modern DT interface between kexec and the crash dump kernel:
> >
> > - linux,elfcorehdr: ELF core header segment, similar to the
> > "elfcorehdr=" kernel parameter.
> > - linux,usable-memory-range: Usable memory reserved for the crash dump
> > kernel.
> > This makes the memory reservation explicit, so Linux no longer needs
> > to mask the program counter, and rely on the "mem=" kernel parameter
> > to obtain the start and size of usable memory.
> >
> > For backwards compatibility, the "elfcorehdr=" and "mem=" kernel
> > parameters are still appended to the kernel command line.
> >
> > Loosely based on the ARM64 version by Akashi Takahiro.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
>
> The counterpart patch for linux is "[PATCH] ARM: Parse kdump DT
> properties"
> (https://lore.kernel.org/r/20200902154538.6807-1-geert+renesas@glider.be)
Thanks Geert,
I think it would be best to hold-off on the user-space patch
until the kernel patch is accepted.
More information about the kexec
mailing list