[PATCH v3 0/2] powerpc/crash: backup region offset update to eflcorehdr
Madhavan Srinivasan
maddy at linux.ibm.com
Wed Apr 8 14:29:08 AEST 2026
On Thu, 12 Mar 2026 14:00:48 +0530, Sourabh Jain wrote:
> On a kernel crash, purgatory copies the first 64 KB of the crashed
> kernel memory to the backup memory region reserved within crashkernel
> memory for the kdump kernel. This ensures that the capture kernel can
> use the first 64 KB of memory to place the exception vectors and other
> required data.
>
> However, in the elfcorehdr prepared using the kexec_file_load syscall,
> or the one recreated during a memory hotplug event, the offset of the
> program header representing the first 64 KB of memory is set to 0,
> whereas it should point to the backup region.
>
> [...]
Applied to powerpc/next.
[1/2] powerpc/crash: fix backup region offset update to elfcorehdr
https://git.kernel.org/powerpc/c/789335cacdf37da93bb7c70322dff8c7e82881df
[2/2] powerpc/crash: Update backup region offset in elfcorehdr on memory hotplug
https://git.kernel.org/powerpc/c/f53b24d1fa263f56155213eabab734c18d884aff
cheers
More information about the Linuxppc-dev
mailing list