Re: [PATCH] LoongArch: Load vmlinux.efi to the link address

2023-12-02 Thread Simon Horman
On Sat, Dec 02, 2023 at 10:03:29PM +0800, Huacai Chen wrote: > On Sat, Dec 2, 2023 at 8:46 PM Simon Horman wrote: > > > > On Sat, Dec 02, 2023 at 08:30:27PM +0800, Huacai Chen wrote: > > > On Sat, Dec 2, 2023 at 6:11 PM WANG Rui wrote: > > > > > > > > > On Fri, Nov 24, 2023 at 11:46:58PM +0800,

Re: [PATCH] LoongArch: Load vmlinux.efi to the link address

2023-12-02 Thread Huacai Chen
On Sat, Dec 2, 2023 at 8:46 PM Simon Horman wrote: > > On Sat, Dec 02, 2023 at 08:30:27PM +0800, Huacai Chen wrote: > > On Sat, Dec 2, 2023 at 6:11 PM WANG Rui wrote: > > > > > > > On Fri, Nov 24, 2023 at 11:46:58PM +0800, WANG Rui wrote: > > > > > Currently, kexec loads vmlinux.efi to address 0

Re: [PATCH] LoongArch: Load vmlinux.efi to the link address

2023-12-02 Thread Simon Horman
On Sat, Dec 02, 2023 at 08:30:27PM +0800, Huacai Chen wrote: > On Sat, Dec 2, 2023 at 6:11 PM WANG Rui wrote: > > > > > On Fri, Nov 24, 2023 at 11:46:58PM +0800, WANG Rui wrote: > > > > Currently, kexec loads vmlinux.efi to address 0 instead of the link > > > > address. This causes kexec to fail

Re: [PATCH] LoongArch: Load vmlinux.efi to the link address

2023-12-02 Thread Huacai Chen
On Sat, Dec 2, 2023 at 6:11 PM WANG Rui wrote: > > > On Fri, Nov 24, 2023 at 11:46:58PM +0800, WANG Rui wrote: > > > Currently, kexec loads vmlinux.efi to address 0 instead of the link > > > address. This causes kexec to fail to boot the new vmlinux.efi on qemu. > > > > > > pei_loongarch_load:

Re: [PATCH] LoongArch: Load vmlinux.efi to the link address

2023-12-02 Thread WANG Rui
> On Fri, Nov 24, 2023 at 11:46:58PM +0800, WANG Rui wrote: > > Currently, kexec loads vmlinux.efi to address 0 instead of the link > > address. This causes kexec to fail to boot the new vmlinux.efi on qemu. > > > > pei_loongarch_load: kernel_segment: > > pei_loongarch_load: