summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/stdlib.c
diff options
context:
space:
mode:
authorSandipan Das <sandipan@linux.ibm.com>2020-06-04 18:26:08 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-06-30 14:37:47 +1000
commit828ca4320d130bbe1d12866152600c49ff6a9f79 (patch)
tree19669711fd35c984590e4e6cb434cdbf11474ff8 /arch/powerpc/boot/stdlib.c
parent105fb38124a490f38e9c1e23bb4c4a0b6ba12fdb (diff)
selftests/powerpc: Fix pkey access right updates
The Power ISA mandates that all writes to the Authority Mask Register (AMR) must always be preceded as well as succeeded by a context synchronizing instruction. This makes sure that the tests follow this requirement when attempting to update a pkey's access rights. Signed-off-by: Sandipan Das <sandipan@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200604125610.649668-2-sandipan@linux.ibm.com
Diffstat (limited to 'arch/powerpc/boot/stdlib.c')
0 files changed, 0 insertions, 0 deletions