Re: [PATCH] selftests/powerpc: Add a test of counting larx/stcx

2020-05-20 Thread Michael Ellerman
On Sun, 26 Apr 2020 21:44:10 +1000, Michael Ellerman wrote: > This is based on the count_instructions test. > > However this one also counts the number of failed stcx's, and in > conjunction with knowing the size of the stcx loop, can calculate the > total number of instructions executed even in t

[PATCH] selftests/powerpc: Add a test of counting larx/stcx

2020-04-26 Thread Michael Ellerman
This is based on the count_instructions test. However this one also counts the number of failed stcx's, and in conjunction with knowing the size of the stcx loop, can calculate the total number of instructions executed even in the face of non-deterministic stcx failures. Signed-off-by: Michael El