]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Skip tm-trap if transactional memory is not enabled
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Feb 2018 02:17:07 +0000 (13:17 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Feb 2018 02:18:25 +0000 (13:18 +1100)
commit536c4a0ea6356011d801ed5902fc7320298b00ad
treef50baa0b029b9c362eba51fc353f2e204d352a54
parent626a525bcbcf993ace6c7b48bed20486d8a45079
selftests/powerpc: Skip tm-trap if transactional memory is not enabled

Some processor revisions do not support transactional memory, and
additionally kernel support can be disabled. In either case the
tm-trap test should be skipped, otherwise it will fail with a SIGILL.

Fixes: fa0367bc2c6d ("powerpc/selftests: Check endianness on trap in TM")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/tm/tm-trap.c