1
0
Fork 0
alistair23-linux/tools/testing/selftests/powerpc/security
Daniel Axtens 01474e8cc3 selftests/powerpc: entry flush test
commit 89a83a0c69 upstream.

Add a test modelled on the RFI flush test which counts the number
of L1D misses doing a simple syscall with the entry flush on and off.

For simplicity of backporting, this test duplicates a lot of code from
the upstream rfi_flush. This is cleaned up upstream, but we don't clean
it up here because it would involve bringing in even more commits.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-22 10:14:11 +01:00
..
.gitignore selftests/powerpc: entry flush test 2020-11-22 10:14:11 +01:00
Makefile selftests/powerpc: entry flush test 2020-11-22 10:14:11 +01:00
entry_flush.c selftests/powerpc: entry flush test 2020-11-22 10:14:11 +01:00
rfi_flush.c selftests/powerpc: rfi_flush: disable entry flush if present 2020-11-22 10:14:10 +01:00