[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84bdacaa-ad54-9452-122a-0fb98c805953@redhat.com>
Date: Wed, 30 Jun 2021 17:26:30 +1000
From: Gavin Shan <gshan@...hat.com>
To: Randy Dunlap <rdunlap@...radead.org>, devicetree@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, drjones@...hat.com,
robh+dt@...nel.org, shan.gavin@...il.com
Subject: Re: [PATCH v5] Documentation, dt, numa: Add note to empty NUMA node
On 6/29/21 2:15 AM, Randy Dunlap wrote:
> On 6/28/21 2:34 AM, Gavin Shan wrote:
>> The empty memory nodes, where no memory resides in, are allowed.
>> For these empty memory nodes, the 'len' of 'reg' property is zero.
>> The NUMA node IDs are still valid and parsed, but memory may be
>> added to them through hotplug afterwards. I finds difficulty to
>> get where it's properly documented.
>>
>> So lets add a section for empty memory nodes in NUMA binding
>> document. Also, the 'unit-address', equivalent to 'base-address'
>> in the 'reg' property of these empty memory nodes is suggested to
>> be the summation of highest memory address plus the NUMA node ID.
>>
>> Signed-off-by: Gavin Shan <gshan@...hat.com>
>> ---
>> v5: Separate section for empty memory node
>> ---
>> Documentation/devicetree/bindings/numa.txt | 61 +++++++++++++++++++++-
>> 1 file changed, 60 insertions(+), 1 deletion(-)
>>
>
> LGTM. Thanks.
>
> Acked-by: Randy Dunlap <rdunlap@...radead.org>
>
Thanks, Randy. Rob, could you help to review? Thanks in advance.
Thanks,
Gavin
Powered by blists - more mailing lists