RISC-V: Support for kexec_file on panic
authorLi Zhengyu <lizhengyu3@huawei.com>
Fri, 8 Apr 2022 10:09:12 +0000 (18:09 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 19 May 2022 19:18:36 +0000 (12:18 -0700)
commit8acea455fafaf2620b247de6c00774828b618a82
tree0bdb20cd9c42ece604e8d32b826096b4120b7641
parent6261586e0c91db14c34f894f4bc48f2300cff1d4
RISC-V: Support for kexec_file on panic

This patch adds support for loading a kexec on panic (kdump) kernel.
It has been tested with vmcore-dmesg on riscv64 QEMU on both an smp
and a non-smp system.

Signed-off-by: Li Zhengyu <lizhengyu3@huawei.com>
Link: https://lore.kernel.org/r/20220408100914.150110-5-lizhengyu3@huawei.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/elf_kexec.c