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

2022-09-04 Thread Youling Tang
On 08/29/2022 12:37 PM, 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.elf) in ELF format and

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

2022-08-30 Thread Youling Tang
On 08/30/2022 11:25 AM, Youling Tang wrote: Hi, Jinyang On 08/30/2022 09:53 AM, Jinyang He wrote: Hi, Youling, On 08/29/2022 12:37 PM, 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: [PATCH 1/3] LoongArch: Add kexec support

2022-08-29 Thread Jinyang He
On 08/30/2022 11:42 AM, Huacai Chen wrote: On Tue, Aug 30, 2022 at 11:26 AM Youling Tang wrote: Hi, Jinyang On 08/30/2022 09:53 AM, Jinyang He wrote: Hi, Youling, On 08/29/2022 12:37 PM, Youling Tang wrote: Add three new files, kexec.h, machine_kexec.c and relocate_kernel.S to the

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

2022-08-29 Thread Huacai Chen
On Tue, Aug 30, 2022 at 11:26 AM Youling Tang wrote: > > Hi, Jinyang > > On 08/30/2022 09:53 AM, Jinyang He wrote: > > Hi, Youling, > > > > > > On 08/29/2022 12:37 PM, Youling Tang wrote: > >> Add three new files, kexec.h, machine_kexec.c and relocate_kernel.S to > >> the > >> LoongArch

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

2022-08-29 Thread Youling Tang
Hi, Jinyang On 08/30/2022 09:53 AM, Jinyang He wrote: Hi, Youling, On 08/29/2022 12:37 PM, 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 1/3] LoongArch: Add kexec support

2022-08-29 Thread Jinyang He
Hi, Youling, On 08/29/2022 12:37 PM, 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.elf) in ELF

[PATCH 1/3] LoongArch: Add kexec support

2022-08-28 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