From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wdpBz522yzDqFJ for ; Thu, 1 Jun 2017 23:31:07 +1000 (AEST) 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) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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