mbox series

[0/4] rseq selftests updates

Message ID 20230627152923.133238-1-mathieu.desnoyers@efficios.com
Headers show
Series rseq selftests updates | expand

Message

Mathieu Desnoyers June 27, 2023, 3:29 p.m. UTC
Hi Shuah,

This series contains updates to the rseq selftests.

* A typo in the Makefile prevents the basic_percpu_ops_mm_cid_test to use
  the mm_cid field.

* Fix load-acquire/store-release macros which were buggy on arm64.
  (this depends on commit "Implement rseq_unqual_scalar_typeof").

* The change "Use rseq_unqual_scalar_typeof in macros" is not a fix
  per se, but improves the assembler generated.

Can you pick these in the selftests tree please ?

Thanks,

Mathieu

Mathieu Desnoyers (4):
  selftests/rseq: Fix CID_ID typo in Makefile
  selftests/rseq: Implement rseq_unqual_scalar_typeof
  selftests/rseq: Fix arm64 buggy load-acquire/store-release macros
  selftests/rseq: Use rseq_unqual_scalar_typeof in macros

 tools/testing/selftests/rseq/Makefile     |  2 +-
 tools/testing/selftests/rseq/compiler.h   | 26 ++++++++++
 tools/testing/selftests/rseq/rseq-arm.h   |  4 +-
 tools/testing/selftests/rseq/rseq-arm64.h | 58 ++++++++++++-----------
 tools/testing/selftests/rseq/rseq-mips.h  |  4 +-
 tools/testing/selftests/rseq/rseq-ppc.h   |  4 +-
 tools/testing/selftests/rseq/rseq-riscv.h |  6 +--
 tools/testing/selftests/rseq/rseq-s390.h  |  4 +-
 tools/testing/selftests/rseq/rseq-x86.h   |  4 +-
 9 files changed, 70 insertions(+), 42 deletions(-)