From f7b322e049bcf599511af475be340e86b3049001 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 19 May 2015 17:05:38 +0800 Subject: 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 Signed-off-by: Stewart Smith --- doc/device-tree/ibm,opal/diagnostics.txt | 10 ++++++++++ doc/device-tree/reserved-memory.txt | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 doc/device-tree/ibm,opal/diagnostics.txt (limited to 'doc') 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. -- cgit v1.1