From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754050AbbI3GOy (ORCPT ); Wed, 30 Sep 2015 02:14:54 -0400 Received: from e28smtp04.in.ibm.com ([122.248.162.4]:44446 "EHLO e28smtp04.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753188AbbI3GOu (ORCPT ); Wed, 30 Sep 2015 02:14:50 -0400 X-Helo: d28dlp02.in.ibm.com X-MailFrom: raghavendra.kt@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Message-ID: <560B7E30.20702@linux.vnet.ibm.com> Date: Wed, 30 Sep 2015 11:46:16 +0530 From: Raghavendra K T Organization: IBM User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Denis Kirjanov CC: Nishanth Aravamudan , benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, nikunj@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, anton@samba.org, grant.likely@linaro.org, cl@linux.com, khandual@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org, gkurz@linux.vnet.ibm.com Subject: Re: [PATCH RFC 0/5] powerpc:numa Add serial nid support References: <1443378553-2146-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> <20150928170455.GA48470@linux.vnet.ibm.com> <560AD654.1060401@linux.vnet.ibm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15093006-0013-0000-0000-0000079B940F Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/30/2015 01:16 AM, Denis Kirjanov wrote: > On 9/29/15, Raghavendra K T wrote: >> On 09/28/2015 10:34 PM, Nishanth Aravamudan wrote: >>> On 28.09.2015 [13:44:42 +0300], Denis Kirjanov wrote: >>>> On 9/27/15, Raghavendra K T wrote: >>>>> Problem description: >>>>> Powerpc has sparse node numbering, i.e. on a 4 node system nodes are >>>>> numbered (possibly) as 0,1,16,17. At a lower level, we map the chipid >>>>> got from device tree is naturally mapped (directly) to nid. >>>> >>>> Interesting thing to play with, I'll try to test it on my POWER7 box, >>>> but it doesn't have the OPAL layer :( >> >> Hi Denis, >> Thanks for your interest. I have pushed the patches to >> >> https://github.com/ktraghavendra/linux/tree/serialnuma_v1 if it makes >> patches easy to grab. > > Thanks! > One sad thing is that I can't test the actual node id mapping now > since currently I have an access to machine with only one memory node > :/ Can we fake it through qemu? > faking the sparse numa ids is possible with Nish's patch for qemu: https://lists.gnu.org/archive/html/qemu-devel/2014-06/msg05826.html