[PATCH 0/6] kho: housekeeping

From: Pratyush Yadav

Date: Fri Nov 27 2026 - 07:25:59 EST


From: "Pratyush Yadav (Google)" <pratyush@xxxxxxxxxx>

Hi,

This series is a collection of miscellaneous cleanups for KHO. The
patches are all independent of each other for the most part. They are
kept in a series mainly to keep things easier to track and manage.

Patch 1 is lifted from [0]. All others are new.

[0] https://lore.kernel.org/kexec/20261116134013.1636689-3-pratyush@xxxxxxxxxx/

Regards,
Pratyush Yadav

Pratyush Yadav (Google) (6):
kho: build KHO objects into a single kho.o
kho: use acronym for KHO .c files
kho: move kho_{block,radix_tree}.h into include/linux/kho/
kho: use unsigned long for kho_preserve_pages() and co when KHO=n
kho: fix kernel-doc return for kho_alloc_preserve()
kho: don't reference subtree blobs as FDTs

Documentation/core-api/kho/index.rst | 6 +--
MAINTAINERS | 3 +-
drivers/pci/liveupdate.c | 2 +-
include/linux/kexec_handover.h | 6 +--
include/linux/{kho_block.h => kho/block.h} | 0
.../{kho_radix_tree.h => kho/radix_tree.h} | 0
kernel/liveupdate/Makefile | 12 +++--
kernel/liveupdate/kho_block.c | 2 +-
.../{kexec_handover.c => kho_core.c} | 8 +--
...kexec_handover_debugfs.c => kho_debugfs.c} | 54 +++++++++----------
...xec_handover_internal.h => kho_internal.h} | 10 ++--
kernel/liveupdate/luo_core.c | 2 +-
kernel/liveupdate/luo_internal.h | 2 +-
kernel/liveupdate/luo_session.c | 2 +-
14 files changed, 56 insertions(+), 53 deletions(-)
rename include/linux/{kho_block.h => kho/block.h} (100%)
rename include/linux/{kho_radix_tree.h => kho/radix_tree.h} (100%)
rename kernel/liveupdate/{kexec_handover.c => kho_core.c} (99%)
rename kernel/liveupdate/{kexec_handover_debugfs.c => kho_debugfs.c} (75%)
rename kernel/liveupdate/{kexec_handover_internal.h => kho_internal.h} (87%)


base-commit: fcddbfa7a3693f1225a4d32b28401543b3bbedaf
--
2.56.1.839.g22a8290db9-goog