[PATCH 0/7] Fix and improve the LoongArch implementation

Youling Tang youling.tang at linux.dev
Fri Aug 29 02:10:33 PDT 2025


From: Youling Tang <tangyouling at kylinos.cn>

- Fix and improve the LoongArch implementation.
- Fixed the handling of crashkernel parameters when using --reuse-cmdline.

Youling Tang (7):
  kexec: Handle removal of multiple 'crashkernel' parameters
  LoongArch: Fix comments
  LoongArch: Terminate the cmdline string using '\0'
  LoongArch: Enforce relocatable kernel check for crash dump
  LoongArch: Change initrd allocation to top-down
  LoongArch: Fix the use of loongarch_image_header in ELF format
  LoongArch: Add pe_hdr->machine check for pei format images

 kexec/arch/loongarch/image-header.h        |  5 ++-
 kexec/arch/loongarch/kexec-elf-loongarch.c | 44 ++++++++++++++++++----
 kexec/arch/loongarch/kexec-loongarch.c     |  4 +-
 kexec/arch/loongarch/kexec-pei-loongarch.c | 24 +++++++++++-
 kexec/kexec.c                              |  6 +++
 5 files changed, 70 insertions(+), 13 deletions(-)

-- 
2.34.1




More information about the kexec mailing list