v3
2026-11-06
riscv64 启用 KHO 与 Live Update · v3
为 RISC-V 启用 kexec handover 和 live update,并在解析 DTB 前调用 early_ioremap_setup。
原始补丁链接
子 Patch(4)
1/4
riscv: Call early_ioremap_setup() before parsing the DTB
parse_dtb() can reach early_memremap(), whose return value is composed from the slot table that early_ioremap_setup() fills in - and on RISC-V that setup ran after the scan, so the mapping came back N
2/4
riscv: Add support for kexec handover (KHO)
The generic handover paths are already in place on RISC-V: the outgoing kernel publishes the handover FDT and the bootmem list in /chosen of the DTB built by of_kexec_alloc_and_setup_fdt(), and the in
3/4
selftests: kho: Add riscv support
Describe the machine the KHO vmtest runner needs to boot riscv64, so the test stops being skipped on this architecture. Signed-off-by: Chen Pei cp0613@linux.alibaba.com — Test: qemu-system-riscv
4/4
selftests: liveupdate: Add riscv support
Teach the live update vmtest runners about riscv64, so the LUO tests can be run on this architecture. LIVEUPDATE depends only on KEXEC_HANDOVER, enabled for riscv64 by the previous commit, so nothing