selftests/powerpc: Skip tm-unavailable if TM is not enabled

Michael Ellerman patch-notifications at
Wed Mar 14 20:28:39 AEDT 2018

On Mon, 2018-03-05 at 20:48:55 UTC, Gustavo Romero wrote:
> 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
> 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 at>
> Reviewed-by: Cyril Bur <cyrilbur at>

Applied to powerpc next, thanks.


More information about the Linuxppc-dev mailing list