v1
2026-10-23
riscv64 启用 KHO 与 Live Update · v1
riscv64 启用 KHO:调整 early_ioremap_setup 与 parse_dtb 顺序以映射交接 FDT,并启用 KEXEC_HANDOVER。
原始补丁链接
子 Patch(4)
1/4
riscv: Call early_ioremap_setup() before parsing the DTB
early_ioremap_setup() fills in the slot_virt[] array whose entries the return value of early_ioremap()/early_memremap() is composed from. On RISC-V it ran after parse_dtb(), so an early_memremap() re
2/4
riscv: Add support for kexec handover (KHO)
KHO is architecture independent: the outgoing kernel publishes the handover FDT and the scratch descriptor array in the /chosen node of the DTB it builds for the incoming kernel (kho_add_chosen(), rea
3/4
selftests: kho: Add riscv support
Teach the KHO vmtest runner about riscv64: map the target to ARCH riscv and describe the QEMU virt machine, the kernel image and its console – a 16550A port probed from the device tree on virt, hence
4/4
selftests: liveupdate: Add riscv support
Teach the live update vmtest runner about riscv64: map the target to ARCH riscv, describe the QEMU virt machine, the kernel image and its console, and add the arch config fragment holding the three sy