summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/security/Makefile
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@canonical.com>2021-02-25 09:19:49 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-22 18:38:03 +0300
commitda650ada100956b0f00aa4fe9ce33103378ce9ca (patch)
treeec672731aae76998d1c665d5c47731f2e47ab51a /tools/testing/selftests/powerpc/security/Makefile
parent8a87a507714386efc39c3ae6fa24d4f79846b522 (diff)
downloadlinux-da650ada100956b0f00aa4fe9ce33103378ce9ca.tar.xz
selftests/powerpc: Add uaccess flush test
Also based on the RFI and entry flush tests, it counts the L1D misses by doing a syscall that does user access: uname, in this case. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com> [dja: forward port, rename function] Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210225061949.1213404-1-dja@axtens.net
Diffstat (limited to 'tools/testing/selftests/powerpc/security/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/security/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/security/Makefile b/tools/testing/selftests/powerpc/security/Makefile
index f25e854fe370..844d18cd5f93 100644
--- a/tools/testing/selftests/powerpc/security/Makefile
+++ b/tools/testing/selftests/powerpc/security/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0+
-TEST_GEN_PROGS := rfi_flush entry_flush spectre_v2
+TEST_GEN_PROGS := rfi_flush entry_flush uaccess_flush spectre_v2
top_srcdir = ../../../../..
CFLAGS += -I../../../../../usr/include
@@ -13,3 +13,4 @@ $(OUTPUT)/spectre_v2: CFLAGS += -m64
$(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S
$(OUTPUT)/rfi_flush: flush_utils.c
$(OUTPUT)/entry_flush: flush_utils.c
+$(OUTPUT)/uaccess_flush: flush_utils.c