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 the face of > non-deterministic stcx failures.
Applied to powerpc/next. [1/1] selftests/powerpc: Add a test of counting larx/stcx https://git.kernel.org/powerpc/c/7481cad4747303442209bc5dba2f56c3afcea07d cheers