[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1477284149-2976-2-git-send-email-khandual@linux.vnet.ibm.com>
Date: Mon, 24 Oct 2016 10:12:20 +0530
From: Anshuman Khandual <khandual@...ux.vnet.ibm.com>
To: linux-kernel@...r.kernel.org, linux-mm@...ck.org
Cc: mhocko@...e.com, js1304@...il.com, vbabka@...e.cz, mgorman@...e.de,
minchan@...nel.org, akpm@...ux-foundation.org,
aneesh.kumar@...ux.vnet.ibm.com, bsingharora@...il.com
Subject: [DEBUG 01/10] dt-bindings: Add doc for ibm,hotplug-aperture
From: Reza Arbab <arbab@...ux.vnet.ibm.com>
Signed-off-by: Reza Arbab <arbab@...ux.vnet.ibm.com>
Signed-off-by: Anshuman Khandual <khandual@...ux.vnet.ibm.com>
---
.../bindings/powerpc/opal/hotplug-aperture.txt | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 Documentation/devicetree/bindings/powerpc/opal/hotplug-aperture.txt
diff --git a/Documentation/devicetree/bindings/powerpc/opal/hotplug-aperture.txt b/Documentation/devicetree/bindings/powerpc/opal/hotplug-aperture.txt
new file mode 100644
index 0000000..04dde03
--- /dev/null
+++ b/Documentation/devicetree/bindings/powerpc/opal/hotplug-aperture.txt
@@ -0,0 +1,26 @@
+Designated hotplug memory
+-------------------------
+
+This binding describes a region of hotplug memory which is not present
+at boot, allowing its eventual NUMA associativity to be prespecified.
+
+Required properties:
+
+- compatible
+ "ibm,hotplug-aperture"
+
+- reg
+ base address and size of the region (standard definition)
+
+- ibm,associativity
+ NUMA associativity (standard definition)
+
+Example:
+
+A 2 GiB aperture at 0x100000000, to be part of nid 3 when hotplugged:
+
+ hotplug-memory@...000000 {
+ compatible = "ibm,hotplug-aperture";
+ reg = <0x0 0x100000000 0x0 0x80000000>;
+ ibm,associativity = <0x4 0x0 0x0 0x0 0x3>;
+ };
--
2.1.0
Powered by blists - more mailing lists