Skip to contentSkip to conversation

dt: add documentation of "hotpluggable" memory property

PATCH New [email protected] 1 participant 1 message Dec 13, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 50/123 dt: add documentation of "hotpluggable" memory property

From: Reza Arbab <[email protected]>
Subject: dt: add documentation of "hotpluggable" memory property

Summarize the "hotpluggable" property of dt memory nodes.

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]>

---

 Documentation/devicetree/booting-without-of.txt |    7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/booting-without-of.txt renamed from Documentation/devicetree/booting-without-of.txt~dt-add-documentation-of-hotpluggable-memory-property +7 -0
diff -puN Documentation/devicetree/booting-without-of.txt~dt-add-documentation-of-hotpluggable-memory-property Documentation/devicetree/booting-without-of.txt
@@ -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

_