[PATCH 3/3] RISC-V: add bss section to kernel text elf header
Simon Horman
horms at kernel.org
Tue May 19 05:44:12 PDT 2026
On Mon, May 18, 2026 at 03:01:40PM +0800, hu.shengming at zte.com.cn wrote:
> From: Luo Haiyang <luo.haiyang at zte.com.cn>
>
> The kdump service reported the following error:
>
> No program header covering vaddr 0xffffffff819fa200 found kexec bug?
> saving vmcore-dmesg.txt failed
>
> prb stores the address of printk_rb_dynamic. Since printk_rb_dynamic
> resides in the bss segment and the PHDR (Program Header) does not include
> the bss segment address. Therefore, add the bss segment to the Kernel text.
>
> Signed-off-by: Luo Haiyang <luo.haiyang at zte.com.cn>
Hi,
I am wondering if to_be_excluded() also needs to be updated.
And, if so, should that change also be made for ARM64.
Review assisted by gemini-3-pro-preview
More information about the kexec
mailing list