[PATCH -fixes] riscv: kexec: Align the kexeced kernel entry

Palmer Dabbelt palmer at rivosinc.com
Tue Sep 12 17:23:01 PDT 2023


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 <palmer at rivosinc.com>




More information about the linux-riscv mailing list