selftests/powerpc: Run tm-tmspr test for longer
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 13 Aug 2020 01:34:45 +0000 (11:34 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Sep 2020 12:23:49 +0000 (22:23 +1000)
commitb5a646a681f5d67ea5190a71d6e84a91efe63b7a
tree3f4ca673dbc553adf90f1eb30961dcaf66e4300a
parent769628710c33b18ede837bb488e1d24084b35592
selftests/powerpc: Run tm-tmspr test for longer

This test creates some threads, which write to TM SPRs, and then makes
sure the registers maintain the correct values across context switches
and contention with other threads.

But currently the test finishes almost instantaneously, which reduces
the chance of it hitting an interesting condition.

So increase the number of loops, so it runs a bit longer, though still
less than 2s on a Power8.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200813013445.686464-3-mpe@ellerman.id.au
tools/testing/selftests/powerpc/tm/tm-tmspr.c