linux/tools/testing/selftests/powerpc
Michael Ellerman 7481cad474 selftests/powerpc: Add a test of counting larx/stcx
This is based on the count_instructions test.

However this one also counts the number of failed stcx's, and in
conjunction with knowing the size of the stcx loop, can calculate the
total number of instructions executed even in the face of
non-deterministic stcx failures.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200426114410.3917383-1-mpe@ellerman.id.au
2020-05-15 11:58:55 +10:00
..
alignment .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01: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: Add a test of spectre_v2 mitigations 2019-10-30 15:43:57 +11: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 .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01: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