summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx.c
AgeCommit message (Collapse)Author
2016-10-04selftests/powerpc: Add checks for transactional VMXs in signal contextsCyril Bur
If a thread receives a signal while transactional the kernel creates a second context to show the transactional state of the process. This test loads some known values and waits for a signal and confirms that the expected values are in the signal context. Signed-off-by: Cyril Bur <cyrilbur@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>