aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/math/Makefile
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2020-08-03 12:07:19 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2020-08-03 22:12:41 +1000
commit872d11bca9c29ed19595c993b9f552ffe9b63dcb (patch)
tree101f33625913e951cad50b2ea693162014d6efb0 /tools/testing/selftests/powerpc/math/Makefile
parentpowerpc/40x: Fix assembler warning about r0 (diff)
downloadlinux-dev-872d11bca9c29ed19595c993b9f552ffe9b63dcb.tar.xz
linux-dev-872d11bca9c29ed19595c993b9f552ffe9b63dcb.zip
selftests/powerpc: Skip vmx/vsx/tar/etc tests on older CPUs
Some of our tests use VSX or newer VMX instructions, so need to be skipped on older CPUs to avoid SIGILL'ing. Similarly TAR was added in v2.07, and the PMU event used in the stcx fail test only works on Power8 or later. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200803020719.96114-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/testing/selftests/powerpc/math/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/math/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/testing/selftests/powerpc/math/Makefile b/tools/testing/selftests/powerpc/math/Makefile
index 4e2049d2fd8d..fcc91c205984 100644
--- a/tools/testing/selftests/powerpc/math/Makefile
+++ b/tools/testing/selftests/powerpc/math/Makefile
@@ -11,9 +11,9 @@ $(OUTPUT)/fpu_syscall: fpu_asm.S
$(OUTPUT)/fpu_preempt: fpu_asm.S
$(OUTPUT)/fpu_signal: fpu_asm.S
-$(OUTPUT)/vmx_syscall: vmx_asm.S
-$(OUTPUT)/vmx_preempt: vmx_asm.S
-$(OUTPUT)/vmx_signal: vmx_asm.S
+$(OUTPUT)/vmx_syscall: vmx_asm.S ../utils.c
+$(OUTPUT)/vmx_preempt: vmx_asm.S ../utils.c
+$(OUTPUT)/vmx_signal: vmx_asm.S ../utils.c
$(OUTPUT)/vsx_preempt: CFLAGS += -mvsx
-$(OUTPUT)/vsx_preempt: vsx_asm.S
+$(OUTPUT)/vsx_preempt: vsx_asm.S ../utils.c