Resend [PATCH] powerpc/hotplug-mem: Fix aa_index match bug for hotplug
Michael Ellerman
mpe at ellerman.id.au
Fri Jun 9 08:20:34 AEST 2017
Michael Bringmann <mwb at linux.vnet.ibm.com> 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 nodes, followed by
> using the default node in the code inappropriately.
>
> Note: This is a bug that we would likely want to see fixed in stable
> circa v4.1+.
I merged this a week ago:
https://lists.ozlabs.org/pipermail/linuxppc-dev/2017-June/158426.html
It was annotated:
Fixes: 5f97b2a0d176 ("powerpc/pseries: Implement memory hotplug add in the kernel")
Cc: stable at vger.kernel.org # v4.1+
cheers
More information about the Linuxppc-dev
mailing list