From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Richter Subject: Re: [PATCH v10 3/8] dt, numa: adding numa dt binding implementation. Date: Thu, 11 Feb 2016 16:32:55 +0100 Message-ID: <20160211153255.GR24726@rric.localdomain> References: <1454407763-1017-1-git-send-email-gkulkarni@caviumnetworks.com> <1454407763-1017-4-git-send-email-gkulkarni@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Rob Herring Cc: Mark Rutland , linux-ia64@vger.kernel.org, SH-Linux , "linux-pci@vger.kernel.org" , Will Deacon , "H. Peter Anvin" , Catalin Marinas , "linux-arch@vger.kernel.org" , linux-s390@vger.kernel.org, Lorenzo Pieralisi , Pawel Moll , Al Stone , Prasun.Kapoor@caviumnetworks.com, "x86@kernel.org" , Ingo Molnar , Mark Salter , rfranz@cavium.com, Len Brown , "devicetree@vger.kernel.org" , James Hogan , Steve Capper , Arnd Bergmann , Ian Campbell Marc Zyngier List-Id: linux-arch.vger.kernel.org On 11.02.16 08:50:41, Rob Herring wrote: > On Tue, Feb 2, 2016 at 4:09 AM, Ganapatrao Kulkarni > wrote: > > dt node parsing for numa topology is done using device property > > numa-node-id and device node distance-map. > > How is it that powerpc doesn't need flat DT parsing for NUMA? Both > arches are memblock based and the binding is similar IIRC, so you > should be able to find a way to do this with the unflattened tree. > Ideally, there should be some common code shared as well. > > Do you have a git tree with this series? I have pushed it here for you: https://git.kernel.org/cgit/linux/kernel/git/rric/linux.git/log/?h=thunder/numa-v10 -Robert From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bn1on0058.outbound.protection.outlook.com ([157.56.110.58]:25513 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751011AbcBKRF6 (ORCPT ); Thu, 11 Feb 2016 12:05:58 -0500 Date: Thu, 11 Feb 2016 16:32:55 +0100 From: Robert Richter Subject: Re: [PATCH v10 3/8] dt, numa: adding numa dt binding implementation. Message-ID: <20160211153255.GR24726@rric.localdomain> References: <1454407763-1017-1-git-send-email-gkulkarni@caviumnetworks.com> <1454407763-1017-4-git-send-email-gkulkarni@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Rob Herring Cc: Ganapatrao Kulkarni , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , linux-ia64@vger.kernel.org, linux-metag , linuxppc-dev , linux-s390@vger.kernel.org, SH-Linux , "linux-arch@vger.kernel.org" , Will Deacon , Catalin Marinas , Mark Rutland , Grant Likely , Leif Lindholm , rfranz@cavium.com, Ard Biesheuvel , Mark Salter , Steve Capper , Hanjun Guo , Al Stone , Arnd Bergmann , Pawel Moll , Ian Campbell , Kumar Gala , Rafael Wysocki , Len Brown , Marc Zyngier , Lorenzo Pieralisi , Bjorn Helgaas , Tony Luck , fenghua.yu@intel.com, James Hogan , Benjamin Herrenschmidt , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "x86@kernel.org" , Jon Masters , Prasun.Kapoor@caviumnetworks.com, Ganapatrao Kulkarni Message-ID: <20160211153255.uZNTjhtnoZ43PgRkdAUy4wOBYwd17SKD7yoWMlJIPuo@z> On 11.02.16 08:50:41, Rob Herring wrote: > On Tue, Feb 2, 2016 at 4:09 AM, Ganapatrao Kulkarni > wrote: > > dt node parsing for numa topology is done using device property > > numa-node-id and device node distance-map. > > How is it that powerpc doesn't need flat DT parsing for NUMA? Both > arches are memblock based and the binding is similar IIRC, so you > should be able to find a way to do this with the unflattened tree. > Ideally, there should be some common code shared as well. > > Do you have a git tree with this series? I have pushed it here for you: https://git.kernel.org/cgit/linux/kernel/git/rric/linux.git/log/?h=thunder/numa-v10 -Robert