diff options
author | Breno Leitao <leitao@debian.org> | 2018-11-26 18:12:01 -0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-21 14:46:50 +1100 |
commit | 34642d70ac7e5609e31c36edbf3b19e0d8833be7 (patch) | |
tree | 0d59fde76705f8b099454905bf3beffe1f12bf2c /drivers/misc | |
parent | 6f5b9f018f4c7686fd944d920209d1382d320e4e (diff) | |
download | linux-34642d70ac7e5609e31c36edbf3b19e0d8833be7.tar.bz2 |
selftests/powerpc: Add checks for transactional sigreturn
This is a new test case that creates a signal and starts a suspended
transaction inside the signal handler.
It returns from the signal handler with the CPU at suspended state, but
without setting user context MSR Transaction State (TS) field.
The kernel signal handler code should be able to handle this discrepancy
instead of crashing.
This code could be compiled and used to test 32 and 64-bits signal
handlers.
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Gustavo Romero <gromero@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions