[PATCH] arm: kdump: Add DT properties to crash dump kernel's DTB

Geert Uytterhoeven geert at linux-m68k.org
Wed Sep 2 11:48:00 EDT 2020


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)

Gr{oetje,eeting}s,

                        Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the kexec mailing list