diff options
| author | Gustavo Romero <gromero@linux.vnet.ibm.com> | 2018-03-05 15:48:55 -0500 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-13 15:10:15 +1100 |
| commit | b395e55b49ecd56ea28dc629f4ca4c6239fc07c3 (patch) | |
| tree | c9186b89f78db5e41b36d7dbaa03a2860d77ff56 /tools/perf/scripts/python | |
| parent | 58935176ad17976b7a7f6ea25c0ceb2ca4308a30 (diff) | |
selftests/powerpc: Skip tm-unavailable if TM is not enabled
Some processor revisions do not support transactional memory, and
additionally kernel support can be disabled. In either case the
tm-unavailable test should be skipped, otherwise it will fail with
a SIGILL.
That commit also sets this selftest to be called through the test
harness as it's done for other TM selftests.
Finally, it avoids using "ping" as a thread name since it's
ambiguous and can be confusing when shown, for instance,
in a kernel backtrace log.
Fixes: 77fad8bfb1d2 ("selftests/powerpc: Check FP/VEC on exception in TM")
Signed-off-by: Gustavo Romero <gromero@linux.vnet.ibm.com>
Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
