From: "Alex Bennée" <alex.bennee@linaro.org>
To: Laurent Vivier <laurent@vivier.eu>
Cc: "Thomas Huth" <thuth@redhat.com>,
qemu-devel@nongnu.org, "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: Re: [PATCH v2 0/2] linux-user: fix clock_nanosleep()
Date: Thu, 23 Jul 2020 14:17:48 +0100 [thread overview]
Message-ID: <874kpytloj.fsf@linaro.org> (raw)
In-Reply-To: <20200722174612.2917566-1-laurent@vivier.eu>
Laurent Vivier <laurent@vivier.eu> writes:
> 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(-)
Queued to for-5.1/fixes-for-rc1-v3, thanks.
--
Alex Bennée
prev parent reply other threads:[~2020-07-23 13:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-22 17:46 [PATCH v2 0/2] linux-user: fix clock_nanosleep() Laurent Vivier
2020-07-22 17:46 ` [PATCH v2 1/2] " 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 ` Alex Bennée [this message]
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=874kpytloj.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=f4bug@amsat.org \
--cc=laurent@vivier.eu \
--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 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.