selftests/rseq: Implement parametrized mm_cid test
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 22 Nov 2022 20:39:21 +0000 (15:39 -0500)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 27 Dec 2022 11:52:15 +0000 (12:52 +0100)
commitee31fff091fa9c185d10844f9caf38784afe4745
treeff8a876563fd5e16aa6d7890d52d96b5ff8c755a
parentcead72062756294dff01314b57b68e3e925ef321
selftests/rseq: Implement parametrized mm_cid test

Adapt to the rseq.h API changes introduced by commits
"selftests/rseq: <arch>: Template memory ordering and percpu access mode".

Build a new param_test_mm_cid, param_test_mm_cid_benchmark, and
param_test_mm_cid_compare_twice executables to test the new "mm_cid"
rseq field.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221122203932.231377-20-mathieu.desnoyers@efficios.com
tools/testing/selftests/rseq/.gitignore
tools/testing/selftests/rseq/Makefile
tools/testing/selftests/rseq/param_test.c
tools/testing/selftests/rseq/run_param_test.sh