[Skiboot] [PATCH 2/3] Introduce NPU2 support

Reza Arbab arbab at linux.vnet.ibm.com
Fri Jan 13 03:55:23 AEDT 2017


On Thu, Jan 12, 2017 at 04:11:23PM +1100, Alistair Popple wrote:
>--- a/doc/device-tree/nvlink.rst
>+++ b/doc/device-tree/nvlink.rst
>@@ -66,6 +66,27 @@ NPU bindings:
>     };
>   };
>
>+GPU memory bindings
>+-------------------
>+
>+.. code-block:: dts
>+
>+        memory at 100000000 {
>+                device_type = "memory"
>+                compatible = "ibm,coherent-device-memory";
>+                status = "disabled";

We'll be using "linux,usable-memory" (with size zero) instead of 
"status". So:

-                status = "disabled";
+                linux,usable-memory = <0x0 0x100000000 0x0 0x0>;

>+
>+        ; denotes a region of unplugged system memory
>+
>+                reg = <0x0 0x100000000 0x0 0x80000000>;
>+                ibm,associativity = <0x4 0x0 0x0 0x0 0x64>;
>+
>+        ; numa associativity for the memory once it is hotplugged
>+
>+                phandle = <0x10000abc>;
>+                linux,phandle = <0x10000abc>;
>+        };
>+
> Emulated PCI device bindings
> ----------------------------
>

-- 
Reza Arbab



More information about the Skiboot mailing list