From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 788991A010A for ; Mon, 14 Dec 2015 20:46:36 +1100 (AEDT) In-Reply-To: <1449495280-18819-1-git-send-email-fbarrat@linux.vnet.ibm.com> To: Frederic Barrat , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: mikey@neuling.org, imunsie@au1.ibm.com, stable@vger.kernel.org Subject: Re: cxl: Set endianess of kernel contexts Message-Id: <20151214094636.2CDE114031F@ozlabs.org> Date: Mon, 14 Dec 2015 20:46:36 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2015-07-12 at 13:34:40 UTC, Frederic Barrat wrote: > A process element (defined in CAIA) keeps track of the endianess of > contexts through the Little Endian (LE) bit of the State Register. It > is currently set for user contexts, but was somehow forgotten for > kernel contexts, so this patch fixes it. > It could lead to erratic behavior from an AFU when the context is > attached through the kernel API. > > Signed-off-by: Frederic Barrat > Suggested-by: Michael Neuling > Cc: # 4.3+ Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/e606e035cc7293a3824527d9 cheers