linux/tools/testing/selftests/powerpc
Naveen N. Rao a95ecac5cb selftests/powerpc: Relax L1d miss targets for rfi_flush test
When running the rfi_flush test, if the system is loaded, we see two
issues:
1. The L1d misses when rfi_flush is disabled increase significantly due
to other workloads interfering with the cache.
2. The L1d misses when rfi_flush is enabled sometimes goes slightly
below the expected number of misses.

To address these, let's relax the expected number of L1d misses:
1. When rfi_flush is disabled, we allow upto half the expected number of
the misses for when rfi_flush is enabled.
2. When rfi_flush is enabled, we allow ~1% lower number of cache misses.

Reported-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-10-30 23:11:04 +11:00
..
alignment selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
benchmarks selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
cache_shape Revert "selftests/powerpc: Fix out-of-tree build errors" 2018-10-26 21:58:58 +11:00
copyloops selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
dscr selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
include selftests/powerpc: Add a test of wild bctr 2018-10-20 13:26:47 +11:00
lib selftests/powerpc: Add ptrace tests for VSX, VMX registers 2016-11-17 17:11:51 +11:00
math selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
mm selftests/powerpc: Add a test of wild bctr 2018-10-20 13:26:47 +11:00
pmu selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
primitives selftests/powerpc: Move UCONTEXT_NIA() into utils.h 2018-10-20 13:26:47 +11:00
ptrace selftests/powerpc: Fix ptrace tm failure 2018-10-26 21:58:58 +11:00
scripts selftests/powerpc: Add script to test HMI functionality 2015-12-17 10:46:43 +11:00
security selftests/powerpc: Relax L1d miss targets for rfi_flush test 2018-10-30 23:11:04 +11:00
signal Revert "selftests/powerpc: Fix out-of-tree build errors" 2018-10-26 21:58:58 +11:00
stringloops selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
switch_endian Revert "selftests/powerpc: Fix out-of-tree build errors" 2018-10-26 21:58:58 +11:00
syscalls selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
tm Merge branch 'fixes' into next 2018-10-09 16:51:05 +11:00
vphn selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
harness.c selftests/powerpc: Kill child processes on SIGINT 2018-08-08 18:52:24 +10:00
Makefile selftests/powerpc: Add test to verify rfi flush across a system call 2018-10-20 13:26:47 +11:00
utils.c selftests/powerpc: Add test to verify rfi flush across a system call 2018-10-20 13:26:47 +11:00