mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
Test that the VMX checkpointed register state is maintained when a VMX unavailable exception is taken during a transaction. Thanks to Breno Leitao <[email protected]> and Gustavo Bueno Romero <[email protected]> for the original test this is based heavily on. Signed-off-by: Michael Neuling <[email protected]> Reviewed-by: Cyril Bur <[email protected]> [mpe: Add to .gitignore, always build it 64-bit to fix build errors] Signed-off-by: Michael Ellerman <[email protected]>
22 lines
753 B
Makefile
22 lines
753 B
Makefile
SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
|
|
tm-signal-context-chk-vmx tm-signal-context-chk-vsx
|
|
|
|
TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
|
|
tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail \
|
|
$(SIGNAL_CONTEXT_CHK_TESTS)
|
|
|
|
include ../../lib.mk
|
|
|
|
$(TEST_GEN_PROGS): ../harness.c ../utils.c
|
|
|
|
CFLAGS += -mhtm
|
|
|
|
$(OUTPUT)/tm-syscall: tm-syscall-asm.S
|
|
$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include
|
|
$(OUTPUT)/tm-tmspr: CFLAGS += -pthread
|
|
$(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64
|
|
|
|
SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS))
|
|
$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
|
|
$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx
|