]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kho: introduce KHO FDT ABI header
authorJason Miu <jasonmiu@google.com>
Mon, 5 Jan 2026 16:58:37 +0000 (18:58 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 27 Jan 2026 03:07:12 +0000 (19:07 -0800)
commit5e1ea1e27b6ff237122ac6cb30e0b8ea4618f75f
treec2ea291827071c91be5c9dd1118f186c8786c1ee
parenta6f4e56828029bc3b9a79910b38026fd2958915e
kho: introduce KHO FDT ABI header

Introduce the `include/linux/kho/abi/kexec_handover.h` header file, which
defines the stable ABI for the KHO mechanism.  This header specifies how
preserved data is passed between kernels using an FDT.

The ABI contract includes the FDT structure, node properties, and the
"kho-v1" compatible string.  By centralizing these definitions, this
header serves as the foundational agreement for inter-kernel communication
of preserved states, ensuring forward compatibility and preventing
misinterpretation of data across kexec transitions.

Since the ABI definitions are now centralized in the header files, the
YAML files that previously described the FDT interfaces are redundant.
These redundant files have therefore been removed.

Link: https://lkml.kernel.org/r/20260105165839.285270-5-rppt@kernel.org
Signed-off-by: Jason Miu <jasonmiu@google.com>
Co-developed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Cc: Alexander Graf <graf@amazon.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/core-api/kho/abi.rst [new file with mode: 0644]
Documentation/core-api/kho/bindings/kho.yaml [deleted file]
Documentation/core-api/kho/bindings/sub-fdt.yaml [deleted file]
Documentation/core-api/kho/index.rst
MAINTAINERS
include/linux/kho/abi/kexec_handover.h [new file with mode: 0644]
kernel/liveupdate/kexec_handover.c