summaryrefslogtreecommitdiff
path: root/Documentation/core-api/kho/bindings/memblock/reserve-mem.yaml
blob: 10282d3d1bcdcea1aa699413a5d7c781a62e34a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
title: Memblock reserved memory regions

maintainers:
  - Mike Rapoport <rppt@kernel.org>

description: |
  Memblock can serialize its current memory reservations created with
  reserve_mem command line option across kexec through KHO.
  This object describes each such region.

properties:
  compatible:
    enum:
      - reserve-mem-v1

  start:
    description: |
      physical address (u64) of the reserved memory region.

  size:
    description: |
      size (u64) of the reserved memory region.

required:
  - compatible
  - start
  - size

additionalProperties: false

examples:
  - |
    n1 {
      compatible = "reserve-mem-v1";
      start = <0xc06b 0x4000000>;
      size = <0x04 0x00>;
    };