[PATCH v2 00/10] Fix and improve the LoongArch implementation
Youling Tang
youling.tang at linux.dev
Mon Sep 15 18:46:45 PDT 2025
From: Youling Tang <tangyouling at kylinos.cn>
- Add kexec_file support for LoongArch.
- Fix and improve the LoongArch implementation.
- Fixed the handling of crashkernel parameters when using --reuse-cmdline.
Kernel support for kexec_file was introduced by the patch detailed in Link [1].
Link[1]:
https://lore.kernel.org/loongarch/20250903030100.196744-1-youling.tang@linux.dev/T/#t
Changelog:
v2:
- Add kexec_file support for LoongArch.
- Correct email address and Signed-off-by.
Youling Tang (10):
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
LoongArch/pez: Fix kernel_fd handling when kexec_file is supported
LoongArch: Add kexec_file_load syscall
LoongArch: Remove 'kexec_file' cmdline parameters when using
--reuse-cmdline option
kexec/arch/loongarch/image-header.h | 5 ++-
kexec/arch/loongarch/kexec-elf-loongarch.c | 47 ++++++++++++++++++----
kexec/arch/loongarch/kexec-loongarch.c | 44 +++++++++++++++++++-
kexec/arch/loongarch/kexec-loongarch.h | 1 +
kexec/arch/loongarch/kexec-pei-loongarch.c | 27 ++++++++++++-
kexec/arch/loongarch/kexec-pez-loongarch.c | 14 ++++---
kexec/kexec-syscall.h | 5 ++-
kexec/kexec.c | 6 +++
8 files changed, 130 insertions(+), 19 deletions(-)
--
2.34.1
More information about the kexec
mailing list