Re: [PATCH v2 1/3] LoongArch: Add kexec support

2022-09-09 Thread Youling Tang
Hi, Huacai On 09/09/2022 04:16 PM, Huacai Chen wrote: Hi, Youling, On Fri, Sep 9, 2022 at 11:20 AM Youling Tang wrote: Add three new files, kexec.h, machine_kexec.c and relocate_kernel.S to the LoongArch architecture that add support for the kexec re-boot mechanis (CONFIG_KEXEC) on LoongArch

Re: [PATCH v2 1/3] LoongArch: Add kexec support

2022-09-09 Thread Huacai Chen
Hi, Youling, On Fri, Sep 9, 2022 at 11:20 AM Youling Tang wrote: > > Add three new files, kexec.h, machine_kexec.c and relocate_kernel.S to the > LoongArch architecture that add support for the kexec re-boot mechanis > (CONFIG_KEXEC) on LoongArch platforms. > > Supports loading vmlinux (vmlinux.e

[PATCH v2 1/3] LoongArch: Add kexec support

2022-09-08 Thread Youling Tang
Add three new files, kexec.h, machine_kexec.c and relocate_kernel.S to the LoongArch architecture that add support for the kexec re-boot mechanis (CONFIG_KEXEC) on LoongArch platforms. Supports loading vmlinux (vmlinux.elf) in ELF format and vmlinux.efi in PE format. I tested this on LoongArch 3