The recent fix by mpe for tm-trap [1] (thanks for fixing it! really sorry for the late reply, I got dragged away by the darn thingy) caught my attention to the fact that tm-unavailable needs a similar fix. Also before that on Feb. Cyril Bur proposed another small fix for the same selftest [2]. Since Cyril's change is not merged yet I decided to take Cyril's fix into account as well. Finally, I also noted that tm-unavailable is not using the test harness, thus I added it to tm-unavailable.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=192b2e742c06af399e8eecb4a17265 [2] https://lists.ozlabs.org/pipermail/linuxppc-dev/2018-February/169111.html Gustavo Romero (1): selftests/powerpc: Skip tm-unavailable if TM is not enabled .../testing/selftests/powerpc/tm/tm-unavailable.c | 24 ++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) -- 2.7.4