xref: /linux/Documentation/core-api/kho/bindings/kho.yaml (revision 00c010e130e58301db2ea0cec1eadc931e1cb8cf)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4title: Kexec HandOver (KHO) root tree
5
6maintainers:
7  - Mike Rapoport <rppt@kernel.org>
8  - Changyuan Lyu <changyuanl@google.com>
9
10description: |
11  System memory preserved by KHO across kexec.
12
13properties:
14  compatible:
15    enum:
16      - kho-v1
17
18  preserved-memory-map:
19    description: |
20      physical address (u64) of an in-memory structure describing all preserved
21      folios and memory ranges.
22
23patternProperties:
24  "$[0-9a-f_]+^":
25    $ref: sub-fdt.yaml#
26    description: physical address of a KHO user's own FDT.
27
28required:
29  - compatible
30  - preserved-memory-map
31
32additionalProperties: false
33
34examples:
35  - |
36    kho {
37        compatible = "kho-v1";
38        preserved-memory-map = <0xf0be16 0x1000000>;
39
40        memblock {
41                fdt = <0x80cc16 0x1000000>;
42        };
43    };
44