From: Florian Bezdeka <florian.bezdeka@siemens.com>
To: xenomai@xenomai.org
Subject: [PATCH v6 0/4] Adressing y2038 test failures on ARM and BBB
Date: Fri, 7 May 2021 23:51:45 +0200 [thread overview]
Message-ID: <20210507215149.1409729-1-florian.bezdeka@siemens.com> (raw)
The CI pipeline discovered an invalid instruction on some ARM boards,
especially the BBB (beaglebone black). Applying this patch series should
fix the current test failure on "next" branch.
As already discussed: There might be another problem in the ARM syscall
prologue/epilogue but it still makes sense to use the same macro for
calling the syscalls as libcobalt does.
I'm still asking myself why libcobalt has special macros for calling the
syscalls instead of using plain syscall() from *libc. Any input?
The difference to v5:
- Resend, forget to CC Philippe
- Fixed SPDX license header (newer version of checkpatch seems to care)
- Fixed a typo in one of the test descriptions
The difference to v4:
- Fixed the error handling / error reporting bugs introduced by v4
errno => ret migration gone wrong
- Took care of some review comments from Jan
The main difference to v3:
- Migration from syscall() (libc) to XENOAMAI_SYSCALLx()
Florian Bezdeka (4):
cobalt/sem: y2038: Fixing the sem_timedwait syscall for 32 bit systems
y2038: Adding sem_timedwait64
y2038: Add tests for the sc_cobalt_sem_timedwait64 syscall
y2038: lib/cobalt: Add support of sc_cobalt_sem_timedwait64
configure.ac | 1 +
include/cobalt/kernel/time.h | 20 +++
include/cobalt/uapi/syscall.h | 1 +
kernel/cobalt/Makefile | 1 +
kernel/cobalt/posix/sem.c | 60 ++++++---
kernel/cobalt/posix/sem.h | 13 +-
kernel/cobalt/posix/syscall32.c | 17 ++-
kernel/cobalt/posix/syscall32.h | 6 +-
kernel/cobalt/time.c | 27 ++++
lib/cobalt/semaphore.c | 5 +
testsuite/smokey/Makefile.am | 6 +-
testsuite/smokey/y2038/Makefile.am | 10 ++
testsuite/smokey/y2038/syscall-tests.c | 178 +++++++++++++++++++++++++
13 files changed, 314 insertions(+), 31 deletions(-)
create mode 100644 include/cobalt/kernel/time.h
create mode 100644 kernel/cobalt/time.c
create mode 100644 testsuite/smokey/y2038/Makefile.am
create mode 100644 testsuite/smokey/y2038/syscall-tests.c
--
2.31.1
next reply other threads:[~2021-05-07 21:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-07 21:51 Florian Bezdeka [this message]
2021-05-07 21:51 ` [PATCH v6 1/4] cobalt/sem: y2038: Fixing the sem_timedwait syscall for 32 bit systems Florian Bezdeka
2021-05-07 21:51 ` [PATCH v6 2/4] y2038: Adding sem_timedwait64 Florian Bezdeka
2021-05-07 21:51 ` [PATCH v6 3/4] y2038: Add tests for the sc_cobalt_sem_timedwait64 syscall Florian Bezdeka
2021-05-07 21:51 ` [PATCH v6 4/4] y2038: lib/cobalt: Add support of sc_cobalt_sem_timedwait64 Florian Bezdeka
2021-05-10 6:51 ` [PATCH v6 0/4] Adressing y2038 test failures on ARM and BBB Jan Kiszka
2021-05-15 16:12 ` Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210507215149.1409729-1-florian.bezdeka@siemens.com \
--to=florian.bezdeka@siemens.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.