Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751168AbdFANbL (ORCPT ); Thu, 1 Jun 2017 09:31:11 -0400 Received: from ozlabs.org ([103.22.144.67]:51745 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbdFANbJ (ORCPT ); Thu, 1 Jun 2017 09:31:09 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: dc421b200f91930c9c6a9586810ff8c232cf10fc In-Reply-To: To: Michael Bringmann , paulus@samba.org, nfont@linux.vnet.ibm.com, sahilmehta17@gmail.com, jallen@linux.vnet.ibm.com, mwb@linux.vnet.ibm.com, alastair@d-silva.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org From: Michael Ellerman Subject: Re: powerpc/hotplug-mem: Fix aa_index match bug for hotplug Message-Id: <3wdpBz4LPQz9s78@ozlabs.org> Date: Thu, 1 Jun 2017 23:31:07 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 572 Lines: 14 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 Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/dc421b200f91930c9c6a9586810ff8 cheers