public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] rseq/selftests: add __rseq_abi misalignment check
@ 2018-08-06 11:47 Vasily Gorbik
  2018-08-06 11:47 ` [PATCH 1/1] " Vasily Gorbik
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vasily Gorbik @ 2018-08-06 11:47 UTC (permalink / raw)
  To: Mathieu Desnoyers, Shuah Khan, Thomas Gleixner
  Cc: Peter Zijlstra, Paul E. McKenney, Boqun Feng, linux-kernel,
	linux-kselftest

While implementing rseq selftest for s390 a glibc problem with tls
variables alignment has been discovered. It turned out to be a general
problem affecting several architectures. The bug opened for this problem:

https://sourceware.org/bugzilla/show_bug.cgi?id=23403

There is no fix yet. On s390 __rseq_abi ends up aligned to 0x10 instead
of 0x20 which makes rseq selftest fail every time.

The change proposed adds __rseq_abi misalignment check, produces user
friendly message and skips the test.

Vasily Gorbik (1):
  rseq/selftests: add __rseq_abi misalignment check

 tools/testing/selftests/rseq/rseq.c           | 19 +++++++++++++++++++
 .../testing/selftests/rseq/run_param_test.sh  |  4 ++--
 2 files changed, 21 insertions(+), 2 deletions(-)

-- 
2.18.0.13.gd42ae10


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-07 22:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-06 11:47 [PATCH 0/1] rseq/selftests: add __rseq_abi misalignment check Vasily Gorbik
2018-08-06 11:47 ` [PATCH 1/1] " Vasily Gorbik
2018-08-06 13:27 ` [PATCH v2 " Vasily Gorbik
2018-08-06 14:09   ` Paul E. McKenney
2018-08-07 22:22 ` [PATCH 0/1] " Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox