[PATCH v8 07/11] powerpc: kexec_file: Use the common segment helpers
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Nov 12 06:01:07 PST 2026
> load_elfcorehdr_segment() builds the elf core header from the powerpc
> crash memory ranges and places it as a segment. The header needs
> powerpc specific post processing, so keep building it here, but use
> kexec_add_elf_core_header() to place it.
>
> elf64_load() also loads the initrd by hand, use kexec_add_initrd()
> for it.
>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> Cc: Nicholas Piggin <npiggin at gmail.com>
> Cc: Christophe Leroy <chleroy at kernel.org>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Baoquan He <baoquan.he at linux.dev>
> Cc: Mike Rapoport <rppt at kernel.org>
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261112133418.4044428-1-ruanjinjie@huawei.com?part=7
More information about the kexec
mailing list