mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
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 <[email protected]> [dja: forward port, rename function] Signed-off-by: Daniel Axtens <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
17 lines
437 B
Makefile
17 lines
437 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
TEST_GEN_PROGS := rfi_flush entry_flush uaccess_flush spectre_v2
|
|
top_srcdir = ../../../../..
|
|
|
|
CFLAGS += -I../../../../../usr/include
|
|
|
|
include ../../lib.mk
|
|
|
|
$(TEST_GEN_PROGS): ../harness.c ../utils.c
|
|
|
|
$(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
|