xref: /linux/Documentation/core-api/kho/bindings/memblock/memblock.yaml (revision fa79e55d467366a2c52c68a261a0d6ea5f8a6534)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4title: Memblock reserved memory
5
6maintainers:
7  - Mike Rapoport <rppt@kernel.org>
8
9description: |
10  Memblock can serialize its current memory reservations created with
11  reserve_mem command line option across kexec through KHO.
12  The post-KHO kernel can then consume these reservations and they are
13  guaranteed to have the same physical address.
14
15properties:
16  compatible:
17    enum:
18      - reserve-mem-v1
19
20patternProperties:
21  "$[0-9a-f_]+^":
22    $ref: reserve-mem.yaml#
23    description: reserved memory regions
24
25required:
26  - compatible
27
28additionalProperties: false
29
30examples:
31  - |
32    memblock {
33      compatible = "memblock-v1";
34      n1 {
35        compatible = "reserve-mem-v1";
36        start = <0xc06b 0x4000000>;
37        size = <0x04 0x00>;
38      };
39    };
40