RISC-V: Load purgatory in kexec_file

This patch supports kexec_file to load and relocate purgatory.
It works well on riscv64 QEMU, being tested with devmem.

Signed-off-by: Li Zhengyu <lizhengyu3@huawei.com>
Link: https://lore.kernel.org/r/20220408100914.150110-7-lizhengyu3@huawei.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
Li Zhengyu 2022-04-08 18:09:14 +08:00 • committed by Palmer Dabbelt
commit 838b3e2848
No known key found for this signature in database
GPG key ID: EF4CA1502CCBAB41