dt: add documentation of "hotpluggable" memory property
authorReza Arbab <[email protected]>
Tue, 13 Dec 2016 00:43:06 +0000 (16:43 -0800)
committerLinus Torvalds <[email protected]>
Tue, 13 Dec 2016 02:55:07 +0000 (18:55 -0800)
Summarize the "hotpluggable" property of dt memory nodes.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Reza Arbab <[email protected]>
Cc: "Aneesh Kumar K.V" <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Bharata B Rao <[email protected]>
Cc: Frank Rowand <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Nathan Fontenot <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Stewart Smith <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/devicetree/booting-without-of.txt

index 3f1437fbca6b49f39235b82305d7b51769f47ab4..280d283304bb82d8b6b210beb97fb954d25c756d 100644 (file)
@@ -974,6 +974,13 @@ compatibility.
       4Gb. Some vendors prefer splitting those ranges into smaller
       segments, but the kernel doesn't care.
 
+  Additional properties:
+
+    - hotpluggable : The presence of this property provides an explicit
+      hint to the operating system that this memory may potentially be
+      removed later. The kernel can take this into consideration when
+      doing nonmovable allocations and when laying out memory zones.
+
   e) The /chosen node
 
   This node is a bit "special". Normally, that's where Open Firmware