All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] rseq/selftests: add __rseq_abi misalignment check
@ 2018-08-06 11:47 ` Vasily Gorbik
  0 siblings, 0 replies; 15+ messages in thread
From: gor @ 2018-08-06 11:47 UTC (permalink / raw)


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

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

Thread overview: 15+ 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 gor
2018-08-06 11:47 ` Vasily Gorbik
2018-08-06 11:47 ` Vasily Gorbik
2018-08-06 11:47 ` [PATCH 1/1] " gor
2018-08-06 11:47   ` Vasily Gorbik
2018-08-06 11:47   ` Vasily Gorbik
2018-08-06 13:27 ` [PATCH v2 " gor
2018-08-06 13:27   ` Vasily Gorbik
2018-08-06 13:27   ` Vasily Gorbik
2018-08-06 14:09   ` paulmck
2018-08-06 14:09     ` Paul E. McKenney
2018-08-06 14:09     ` Paul E. McKenney
2018-08-07 22:22 ` [PATCH 0/1] " mathieu.desnoyers
2018-08-07 22:22   ` Mathieu Desnoyers
2018-08-07 22:22   ` Mathieu Desnoyers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.