aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/mm/Makefile
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2019-09-24 09:22:54 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2019-09-25 08:32:31 +1000
commit93cad5f789951eaa27c3392b15294b4e51253944 (patch)
treedd070699d43ad640395837a5ad6da54ceb770cfb /tools/testing/selftests/powerpc/mm/Makefile
parentpowerpc/mm: Fixup tlbie vs mtpidr/mtlpidr ordering issue on POWER9 (diff)
downloadlinux-dev-93cad5f789951eaa27c3392b15294b4e51253944.tar.xz
linux-dev-93cad5f789951eaa27c3392b15294b4e51253944.zip
selftests/powerpc: Add test case for tlbie vs mtpidr ordering issue
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> [mpe: Some minor fixes to make it build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190924035254.24612-4-aneesh.kumar@linux.ibm.com
Diffstat (limited to 'tools/testing/selftests/powerpc/mm/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/mm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/mm/Makefile b/tools/testing/selftests/powerpc/mm/Makefile
index f1fbc15800c4..ed1565809d2b 100644
--- a/tools/testing/selftests/powerpc/mm/Makefile
+++ b/tools/testing/selftests/powerpc/mm/Makefile
@@ -4,6 +4,7 @@ noarg:
TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors wild_bctr \
large_vm_fork_separation
+TEST_GEN_PROGS_EXTENDED := tlbie_test
TEST_GEN_FILES := tempfile
top_srcdir = ../../../../..
@@ -19,3 +20,4 @@ $(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64
$(OUTPUT)/tempfile:
dd if=/dev/zero of=$@ bs=64k count=1
+$(OUTPUT)/tlbie_test: LDLIBS += -lpthread