[PATCH v2 00/10] Fix and improve the LoongArch implementation

Simon Horman horms at kernel.org
Tue Sep 23 09:51:41 PDT 2025


On Tue, Sep 16, 2025 at 09:46:45AM +0800, Youling Tang wrote:
> 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

Thanks, applied.

- LoongArch: Remove 'kexec_file' cmdline parameters when using --reuse-cmdline option
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=19d1b275c649
- LoongArch: Add kexec_file_load syscall
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=f1d66280a48b
- LoongArch/pez: Fix kernel_fd handling when kexec_file is supported
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=b7c35c42c3db
- LoongArch: Add pe_hdr->machine check for pei format images
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=13e701e72ecf
- LoongArch: Fix the use of loongarch_image_header in ELF format
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=919005b26c8f
- LoongArch: Change initrd allocation to top-down
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=2d3f8185f5d7
- LoongArch: Enforce relocatable kernel check for crash dump
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=024073e74dc7
- LoongArch: Terminate the cmdline string using '\0'
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=d9c82c188646
- LoongArch: Fix comments
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=e2bfd6df147c
- kexec: Handle removal of multiple 'crashkernel' parameters
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=39ba2bd288af



More information about the kexec mailing list