2023-09-13 00:23:52

by Palmer Dabbelt

[permalink] [raw]
Subject: Re: [PATCH -fixes] riscv: kexec: Align the kexeced kernel entry


On Wed, 06 Sep 2023 17:58:17 +0800, Song Shuai wrote:
> The current riscv boot protocol requires 2MB alignment for RV64
> and 4MB alignment for RV32.
>
> In KEXEC_FILE path, the elf_find_pbase() function should align
> the kexeced kernel entry according to the requirement, otherwise
> the kexeced kernel would silently BUG at the setup_vm().
>
> [...]

Applied, thanks!

[1/1] riscv: kexec: Align the kexeced kernel entry
https://git.kernel.org/palmer/c/1bfb2b618d52

Best regards,
--
Palmer Dabbelt <[email protected]>