File: reserved-memory.rst

package info (click to toggle)
skiboot 7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 35,624 kB
  • sloc: ansic: 221,198; sh: 11,580; cpp: 5,767; python: 3,421; makefile: 1,773; asm: 1,503; perl: 1,479; tcl: 1,188; pascal: 107
file content (32 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download | duplicates (11)
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
reserved-memory device tree nodes
=================================

OPAL exposes reserved memory through a top-level reserved-memory node,
containing subnodes that represent each reserved memory region.

This follows the Linux specification for the /reserved-memory node,
described in the kernel source tree, in:

  Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt

The top-level /reserved-memory node contains: ::

  #size-cells = <2>
  #address-cells = <2>

Addresses and sizes are all 64-bits.

``ranges``
  the empty ranges node indicates no translation of physical
  addresses in the subnodes.

The sub-nodes under the /reserved-memory node contain:

``reg = <address size>``
  the address and size of the reserved memory region. The address
  and size values are two cells each, as signified by the top-level
  ``#{address,size}-cells``

``ibm,prd-label = "string"``
  a string token for use by the prd system. Specific ranges may be
  used by prd - those will be referenced by this label.