powerpc/hotplug-mem: Fix aa_index match bug for hotplug
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Jun 1 23:31:07 AEST 2017
On Mon, 2017-05-22 at 20:44:37 UTC, Michael Bringmann wrote:
> 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.
>
> Signed-off-by: Michael Bringmann <mwb at linux.vnet.ibm.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/dc421b200f91930c9c6a9586810ff8
cheers
More information about the Linuxppc-dev
mailing list