[PATCH v1 7/8] kho: test: support read-only KHO mode in test_kho
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Sun Oct 18 19:19:00 PDT 2026
> Allow CONFIG_TEST_KEXEC_HANDOVER to be enabled with
> CONFIG_KEXEC_HANDOVER_READONLY and update test_kho to verify preserved
> state when booted in read-only KHO mode.
>
> In read-only mode, test_kho retrieves the test FDT subtree, maps the FDT
> folio via kho_ro_map_folio(..., PAGE_KERNEL_RO), restores the preserved
> vmalloc folio descriptor array via kho_restore_vmalloc(), verifies each
> folio's preserved order in the KHO radix tree via
> kho_ro_lookup_folio_order(), maps each folio via kho_ro_map_folio() (and
> unmaps via kho_ro_unmap()), and verifies the checksum over all preserved
> pages.
>
> Signed-off-by: Pasha Tatashin <pasha.tatashin at soleen.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261019021111.990394-1-pasha.tatashin@soleen.com?part=7
More information about the kexec
mailing list