From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751543AbcHKEMr (ORCPT ); Thu, 11 Aug 2016 00:12:47 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:33951 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750741AbcHKEMo (ORCPT ); Thu, 11 Aug 2016 00:12:44 -0400 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 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 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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