diff options
author | Frederic Barrat | 2015-12-07 14:34:40 +0100 |
---|---|---|
committer | Michael Ellerman | 2015-12-08 16:57:01 +1100 |
commit | e606e035cc7293a3824527d97359711fdda00663 (patch) | |
tree | 161661be9b38a06695c12a5f1ff4c49c99afd711 /arch/powerpc | |
parent | 25642e1459ace29f6ce5a171efc8b7b59a52a2d4 (diff) |
cxl: Set endianess of kernel contexts
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.
Fixes: 2f663527bd6a ("cxl: Configure PSL for kernel contexts and merge code")
Cc: stable@vger.kernel.org # 4.2+
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Suggested-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions