From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-x241.google.com (mail-pa0-x241.google.com [IPv6:2607:f8b0:400e:c03::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3s8vkN4jd0zDqfj for ; Thu, 11 Aug 2016 14:12:44 +1000 (AEST) Received: by mail-pa0-x241.google.com with SMTP id cf3so3933790pad.2 for ; Wed, 10 Aug 2016 21:12:44 -0700 (PDT) Subject: Re: [PATCH 1/4] dt-bindings: add doc for ibm,hotplug-aperture To: Reza Arbab , Rob Herring , Mark Rutland , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Jonathan Corbet , Bharata B Rao , Nathan Fontenot , devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <1470680843-28702-1-git-send-email-arbab@linux.vnet.ibm.com> <1470680843-28702-2-git-send-email-arbab@linux.vnet.ibm.com> Cc: Alistair Popple , Stewart Smith From: Balbir Singh Message-ID: <92e34173-b2e2-bac0-3bbb-fc5407cbb8a5@gmail.com> Date: Thu, 11 Aug 2016 14:12:31 +1000 MIME-Version: 1.0 In-Reply-To: <1470680843-28702-2-git-send-email-arbab@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 09/08/16 04:27, Reza Arbab wrote: > Signed-off-by: Reza Arbab > --- > .../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..b8dffaa > --- /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@100000000 { > + compatible = "ibm,hotplug-aperture"; > + reg = <0x0 0x100000000 0x0 0x80000000>; > + ibm,associativity = <0x4 0x0 0x0 0x0 0x3>; > + }; > +Stewart and Alistair Looks good to me! Acked-by: Balbir Singh