cxl: Set endianess of kernel contexts

Michael Ellerman mpe at ellerman.id.au
Mon Dec 14 20:46:36 AEDT 2015


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 <fbarrat at linux.vnet.ibm.com>
> Suggested-by: Michael Neuling <mikey at neuling.org>
> Cc: <stable at vger.kernel.org> # 4.3+

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/e606e035cc7293a3824527d9

cheers


More information about the Linuxppc-dev mailing list