]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Test TM and VMX register state
authorMichael Neuling <mikey@neuling.org>
Mon, 8 May 2017 07:16:27 +0000 (17:16 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 May 2017 03:03:05 +0000 (13:03 +1000)
commit95b82b1e0df71feeb189051c68c63c284c8c4c9e
tree44851d0071a6ccda4870fd9c0a21719480187758
parenta5f1e55d9ba74f6979d63c6bfe7005368e09a2d2
selftests/powerpc: Test TM and VMX register state

Test that the VMX checkpointed register state is maintained when a VMX
unavailable exception is taken during a transaction.

Thanks to Breno Leitao <brenohl@br.ibm.com> and
Gustavo Bueno Romero <gromero@br.ibm.com> for the original test this
is based heavily on.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
[mpe: Add to .gitignore, always build it 64-bit to fix build errors]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/tm/.gitignore
tools/testing/selftests/powerpc/tm/Makefile
tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c [new file with mode: 0644]