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

From: Raghavendra K T
Date: Wed Sep 30 2015 - 02:14:58 EST

On 09/30/2015 01:16 AM, Denis Kirjanov wrote:
On 9/29/15, Raghavendra K T <raghavendra.kt@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx> 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 if it makes
patches easy to grab.

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:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at