Re: Resend [PATCH] powerpc/hotplug-mem: Fix aa_index match bug for hotplug

2017-06-08 Thread Michael Ellerman
Michael Bringmann writes: > When adding or removing memory, the aa_index (affinity value) for the > memblock must also be converted to match the endianness of the rest > of the 'ibm,dynamic-memory' property. Otherwise, subsequent retrieval > of the attribute will likely lead to non-existent node

Resend [PATCH] powerpc/hotplug-mem: Fix aa_index match bug for hotplug

2017-06-08 Thread Michael Bringmann
When adding or removing memory, the aa_index (affinity value) for the memblock must also be converted to match the endianness of the rest of the 'ibm,dynamic-memory' property. Otherwise, subsequent retrieval of the attribute will likely lead to non-existent nodes, followed by using the default no

Re: [PATCH] powerpc/hotplug-mem: Fix aa_index match bug for hotplug

2017-05-30 Thread Michael Ellerman
Nathan Fontenot writes: > On 05/30/2017 06:41 AM, Michael Ellerman wrote: >> Michael Bringmann writes: >>> When adding or removing memory, the aa_index (affinity value) for the >>> memblock must also be converted to match the endianness of the rest >>> of the 'ibm,dynamic-memory' property. Other

Re: [PATCH] powerpc/hotplug-mem: Fix aa_index match bug for hotplug

2017-05-30 Thread Nathan Fontenot
On 05/30/2017 06:41 AM, Michael Ellerman wrote: > Michael Bringmann writes: > >> When adding or removing memory, the aa_index (affinity value) for the >> memblock must also be converted to match the endianness of the rest >> of the 'ibm,dynamic-memory' property. Otherwise, subsequent retrieval >

Re: [PATCH] powerpc/hotplug-mem: Fix aa_index match bug for hotplug

2017-05-30 Thread Michael Ellerman
Michael Bringmann writes: > When adding or removing memory, the aa_index (affinity value) for the > memblock must also be converted to match the endianness of the rest > of the 'ibm,dynamic-memory' property. Otherwise, subsequent retrieval > of the attribute will likely lead to non-existent node

[PATCH] powerpc/hotplug-mem: Fix aa_index match bug for hotplug

2017-05-22 Thread Michael Bringmann
When adding or removing memory, the aa_index (affinity value) for the memblock must also be converted to match the endianness of the rest of the 'ibm,dynamic-memory' property. Otherwise, subsequent retrieval of the attribute will likely lead to non-existent nodes, followed by using the default no