mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-24 19:25:07 -04:00
selftests/powerpc: Test FPU and VMX regs in signal ucontext
Load up the non volatile FPU and VMX regs and ensure that they are the expected value in a signal handler Signed-off-by: Cyril Bur <cyrilbur@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
committed by
Michael Ellerman
parent
e5ab8be68e
commit
48e8c571a4
@@ -1,4 +1,4 @@
|
||||
TEST_PROGS := fpu_syscall fpu_preempt vmx_syscall vmx_preempt
|
||||
TEST_PROGS := fpu_syscall fpu_preempt fpu_signal vmx_syscall vmx_preempt vmx_signal
|
||||
|
||||
all: $(TEST_PROGS)
|
||||
|
||||
@@ -7,9 +7,11 @@ $(TEST_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
|
||||
|
||||
fpu_syscall: fpu_asm.S
|
||||
fpu_preempt: fpu_asm.S
|
||||
fpu_signal: fpu_asm.S
|
||||
|
||||
vmx_syscall: vmx_asm.S
|
||||
vmx_preempt: vmx_asm.S
|
||||
vmx_signal: vmx_asm.S
|
||||
|
||||
include ../../lib.mk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user