linux_dsm_epyc7002/tools/testing/selftests/powerpc
Rashmica Gupta 5f337e3e5b selftests/powerpc: Add test to check if VSRs are corrupted
When a transaction is aborted, VSR values should rollback to the
checkpointed values before the transaction began. VSRs used elsewhere in
the kernel during a transaction, or while the transaction is suspended
should not affect the checkpointed values.

Prior to the bug fix in commit d31626f70b ("powerpc: Don't corrupt
transactional state when using FP/VMX in kernel") when VMX was requested
by the kernel the .vr_state (which held the checkpointed state of VSRs
before the transaction) was overwritten with the current state from
outside the transation. Thus if the transaction did not complete, the
VSR values would be "rolled back" to potentially incorrect values.

Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-12-14 20:41:50 +11:00
..
benchmarks powerpc/selftest: Add gettimeofday() benchmark 2015-10-01 16:52:02 +10:00
copyloops powerpc updates for 4.1 2015-04-16 13:53:32 -05:00
dscr powerpc: Fix DSCR inheritance over fork() 2015-12-10 21:11:13 +11:00
mm selftests/powerpc: Install tempfile so the subpage_prot_file test works 2015-08-17 18:28:49 +10:00
pmu selftests/powerpc: Add have_hwcap2() helper 2015-12-14 20:41:47 +11:00
primitives selftests/powerpc: Fix build failure of load_unaligned_zeropad test 2015-10-13 15:08:37 +11:00
stringloops selftests: Add install support for the powerpc tests 2015-03-19 12:38:51 -06:00
switch_endian selftests/powerpc: Add install support to more powerpc tests 2015-06-02 16:54:49 +10:00
syscalls selftests/powerpc: Add tests of unmuxed IPC calls 2015-10-15 20:32:03 +11:00
tm selftests/powerpc: Add test to check if VSRs are corrupted 2015-12-14 20:41:50 +11:00
vphn selftests/powerpc: Add install support to more powerpc tests 2015-06-02 16:54:49 +10:00
harness.c selftests/powerpc: Move get_auxv_entry() into utils.c 2015-12-14 20:41:47 +11:00
Makefile selftests/powerpc: Sort the list of SUB_DIRS to build 2015-10-15 20:32:03 +11:00
subunit.h selftests/powerpc: Add support for skipping tests 2014-06-11 17:03:54 +10:00
utils.c selftests/powerpc: Move get_auxv_entry() into utils.c 2015-12-14 20:41:47 +11:00
utils.h selftests/powerpc: Add have_hwcap2() helper 2015-12-14 20:41:47 +11:00