diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-05-19 17:05:38 +0800 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-21 15:03:35 +1000 |
commit | f7b322e049bcf599511af475be340e86b3049001 (patch) | |
tree | 390f8de392be80f50af02274a416bd061e793b5d /doc/device-tree | |
parent | a88495a1439ff20345870a82565658249be55d23 (diff) | |
download | skiboot-f7b322e049bcf599511af475be340e86b3049001.zip skiboot-f7b322e049bcf599511af475be340e86b3049001.tar.gz skiboot-f7b322e049bcf599511af475be340e86b3049001.tar.bz2 |
hw/prd: Expose prd ranges via device tree
Currently, the prd reserved ranges are present in the reserved-ranges
nodes in the device tree. While this works, it's difficult to filter the
actual PRD ranges from general reserved memory.
This change links the prd ranges into the /reserved-memory nodes, by
adding ibm,prd-label properties to those used for PRD.
This change adds a prd node to the ibm,opal node too, to giver kernel &
userspace information about the prd infrastructure provided by OPAL.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc/device-tree')
-rw-r--r-- | doc/device-tree/ibm,opal/diagnostics.txt | 10 | ||||
-rw-r--r-- | doc/device-tree/reserved-memory.txt | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/device-tree/ibm,opal/diagnostics.txt b/doc/device-tree/ibm,opal/diagnostics.txt new file mode 100644 index 0000000..14da91c --- /dev/null +++ b/doc/device-tree/ibm,opal/diagnostics.txt @@ -0,0 +1,10 @@ + +ibm,opal/diagnostics device tree entries +---------------------------------- + +The diagnostics node under ibm,opal describes a userspace-to-firmware +interface, supporting the runtime processor recovery diagnostics functions. + +The properties of a prd node are: + + compatible = "ibm,opal-prd" diff --git a/doc/device-tree/reserved-memory.txt b/doc/device-tree/reserved-memory.txt index 0f6002d..ff0d6a4 100644 --- a/doc/device-tree/reserved-memory.txt +++ b/doc/device-tree/reserved-memory.txt @@ -25,3 +25,6 @@ The sub-nodes under the /reserved-memory node contain: 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. |