> 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: 00
Hi,
On Mon, Nov 27, 2023 at 10:36 AM RuiRui Yang wrote:
>
> On Mon, 27 Nov 2023 at 09:53, RuiRui Yang wrote:
> >
> > On Sat, 25 Nov 2023 at 14:54, WANG Rui wrote:
> > >
> > > Currently, kexec loads vmlinux.efi to address 0 instead of the link
> > &g
requires more memory usage,
which exceeds the current 64M limit.
Reported-by: Huacai Chen
Signed-off-by: WANG Rui
---
kexec/lzma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kexec/lzma.c b/kexec/lzma.c
index 2fc07e6..56778d1 100644
--- a/kexec/lzma.c
+++ b/kexec/lzma.c
@@ -73,7
].bufsz = 0x1b55200
segment[0].mem = 0x20
segment[0].memsz = 0x1ca
segment[1].buf = 0x57498098
segment[1].bufsz = 0x200
segment[1].mem = 0x1ea
segment[1].memsz = 0x4000
Signed-off-by: WANG Rui
---
v1->v2:
* Fix the issue preventing it from working on the physi
= 0x20
segment[0].memsz = 0x1f3
segment[1].buf = 0x55b28098
segment[1].bufsz = 0x200
segment[1].mem = 0x213
segment[1].memsz = 0x4000
Signed-off-by: WANG Rui
---
kexec/arch/loongarch/kexec-pei-loongarch.c | 6 --
1 file changed, 4 insertions(+), 2 deletions
unconditionally skip the check
on LoongArch.
Link: https://github.com/ClangBuiltLinux/linux/issues/1963
Signed-off-by: WANG Rui
---
kexec/kexec-elf-exec.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/kexec/kexec-elf-exec.c b/kexec/kexec-elf-exec.c
index bea7b3e..b337642