linux/tools/testing/selftests/powerpc
Sandipan Das 828ca4320d 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
2020-06-30 14:37:47 +10:00
..
alignment selftests/powerpc: Add prefixed loads/stores to alignment_handler test 2020-06-22 14:18:45 +10:00
benchmarks powerpc updates for 5.7 2020-04-05 11:12:59 -07:00
cache_shape .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
copyloops .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
dscr powerpc updates for 5.7 2020-04-05 11:12:59 -07:00
eeh selftests/eeh: Skip ahci adapters 2020-04-03 00:09:53 +11:00
include selftests/powerpc: Fix pkey access right updates 2020-06-30 14:37:47 +10:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
math .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
mm powerpc updates for 5.7 2020-04-05 11:12:59 -07:00
nx-gzip selftests/powerpc: Add README for GZIP engine tests 2020-04-21 22:51:34 +10:00
pmu selftests/powerpc: Add a test of counting larx/stcx 2020-05-15 11:58:55 +10:00
primitives .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
ptrace selftests/powerpc: Fix pkey access right updates 2020-06-30 14:37:47 +10:00
scripts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
security .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
signal powerpc: Use trap metadata to prevent double restart rather than zeroing trap 2020-05-15 11:58:54 +10:00
stringloops .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
switch_endian .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
syscalls .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
tm powerpc updates for 5.7 #2 2020-04-09 11:01:42 -07:00
vphn .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
harness.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 191 2019-05-30 11:29:21 -07:00
Makefile selftests/powerpc: Add NX-GZIP engine compress testcase 2020-04-21 22:51:34 +10:00
utils.c selftests/powerpc: Add a test of spectre_v2 mitigations 2019-10-30 15:43:57 +11:00