[PATCH] lzma: Relax memory limit for lzma decompressor
Simon Horman
horms at kernel.org
Mon Nov 27 05:47:12 PST 2023
On Sat, Nov 25, 2023 at 03:26:43PM +0800, WANG Rui wrote:
> The kexec cannot load LZMA compressed vmlinuz.efi on LoongArch.
>
> Try LZMA decompression.
> lzma_decompress_file: read on /tmp/Image4yyfhM of 65536 bytes failed
> pez_prepare: decompressed size 8563960
> pez_prepare: done
> Cannot load vmlinuz.efi
>
> The root cause is that lzma decompressor requires more memory usage,
> which exceeds the current 64M limit.
>
> Reported-by: Huacai Chen <chenhuacai at kernel.org>
> Signed-off-by: WANG Rui <wangrui at loongson.cn>
Thanks, applied.
More information about the kexec
mailing list