summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBharata B Rao2018-04-19 08:47:35 +0200
committerDavid Gibson2018-04-27 10:05:23 +0200
commita324d6f166970f8f6a82c61ffd2356fbda81c8f4 (patch)
treef666b4896513df4f4dcf23df907941c4cba6087c /docs
parentppc: e500: switch E500 based machines to full machine definition (diff)
downloadqemu-a324d6f166970f8f6a82c61ffd2356fbda81c8f4.tar.gz
qemu-a324d6f166970f8f6a82c61ffd2356fbda81c8f4.tar.xz
qemu-a324d6f166970f8f6a82c61ffd2356fbda81c8f4.zip
spapr: Support ibm,dynamic-memory-v2 property
The new property ibm,dynamic-memory-v2 allows memory to be represented in a more compact manner in device tree. Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'docs')
-rw-r--r--docs/specs/ppc-spapr-hotplug.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/specs/ppc-spapr-hotplug.txt b/docs/specs/ppc-spapr-hotplug.txt
index f57e2a09c6..cc7833108e 100644
--- a/docs/specs/ppc-spapr-hotplug.txt
+++ b/docs/specs/ppc-spapr-hotplug.txt
@@ -387,4 +387,23 @@ Each LMB list entry consists of the following elements:
- A 32bit flags word. The bit at bit position 0x00000008 defines whether
the LMB is assigned to the the partition as of boot time.
+ibm,dynamic-memory-v2
+
+This property describes the dynamically reconfigurable memory. This is
+an alternate and newer way to describe dyanamically reconfigurable memory.
+It is a property encoded array that has an integer N (the number of
+LMB set entries) followed by N LMB set entries. There is an LMB set entry
+for each sequential group of LMBs that share common attributes.
+
+Each LMB set entry consists of the following elements:
+
+- Number of sequential LMBs in the entry represented by a 32bit integer.
+- Logical address of the first LMB in the set encoded as a 64bit integer.
+- DRC index of the first LMB in the set.
+- Associativity list index that is used as an index into
+ ibm,associativity-lookup-arrays property described earlier. This
+ is used to retrieve the right associativity list to be used for all
+ the LMBs in this set.
+- A 32bit flags word that applies to all the LMBs in the set.
+
[1] http://thread.gmane.org/gmane.linux.ports.ppc.embedded/75350/focus=106867