[PATCH RFC 0/5] powerpc:numa Add serial nid support

Raghavendra K T raghavendra.kt at linux.vnet.ibm.com
Wed Sep 30 16:16:16 AEST 2015

On 09/30/2015 01:16 AM, Denis Kirjanov wrote:
> On 9/29/15, Raghavendra K T <raghavendra.kt at linux.vnet.ibm.com> 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 <raghavendra.kt at linux.vnet.ibm.com> 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:


More information about the Linuxppc-dev mailing list