From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Laurent Vivier" <laurent@vivier.eu>
Subject: [PATCH v2 0/2] linux-user: fix clock_nanosleep()
Date: Wed, 22 Jul 2020 19:46:10 +0200 [thread overview]
Message-ID: <20200722174612.2917566-1-laurent@vivier.eu> (raw)
Update the "remain" time only if errno is EINTR and flags is TIMER_ABSTIME.
The v2 restores the get_errno() as our safe_clock_nanosleep() uses
errno to return the error value (and not ret).
As we use errno, we don't need the special case for ppc here, the CRF
bit is correctly managed in cpu_loop.c if ret is -errno.
Laurent Vivier (2):
linux-user: fix clock_nanosleep()
linux-user,ppc: fix clock_nanosleep() for linux-user-ppc
linux-user/syscall.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
--
2.26.2
next reply other threads:[~2020-07-22 17:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-22 17:46 Laurent Vivier [this message]
2020-07-22 17:46 ` [PATCH v2 1/2] linux-user: fix clock_nanosleep() Laurent Vivier
2020-07-22 17:46 ` [PATCH v2 2/2] linux-user, ppc: fix clock_nanosleep() for linux-user-ppc Laurent Vivier
2020-07-23 13:17 ` [PATCH v2 0/2] linux-user: fix clock_nanosleep() Alex Bennée
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=20200722174612.2917566-1-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=alex.bennee@linaro.org \
--cc=f4bug@amsat.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).