From: shuah <shuah@kernel.org>
To: Vincenzo Frascino <vincenzo.frascino@arm.com>,
linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-s390@vger.kernel.org, linux-kselftest@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>,
Shuah Khan <skhan@linuxfoundation.org>,
Heiko Carstens <heiko.carstens@de.ibm.com>,
Paul Mackerras <paulus@samba.org>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Thomas Gleixner <tglx@linutronix.de>, shuah <shuah@kernel.org>
Subject: Re: [PATCH v5 2/3] s390: Fix vDSO clock_getres()
Date: Thu, 30 May 2019 08:29:38 -0600 [thread overview]
Message-ID: <dbcf69ff-1fe7-3a2e-5940-11fed052d45e@kernel.org> (raw)
In-Reply-To: <20190528120446.48911-3-vincenzo.frascino@arm.com>
On 5/28/19 6:04 AM, Vincenzo Frascino wrote:
> clock_getres in the vDSO library has to preserve the same behaviour
> of posix_get_hrtimer_res().
>
> In particular, posix_get_hrtimer_res() does:
> sec = 0;
> ns = hrtimer_resolution;
> and hrtimer_resolution depends on the enablement of the high
> resolution timers that can happen either at compile or at run time.
>
> Fix the s390 vdso implementation of clock_getres keeping a copy of
> hrtimer_resolution in vdso data and using that directly.
>
> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
> Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
> Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
> ---
>
> Note: This patch is independent from the others in this series, hence it
> can be merged singularly by the s390 maintainers.
>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
thanks,
-- Shuah
next prev parent reply other threads:[~2019-05-30 14:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-28 12:04 [PATCH v5 0/3] Fix vDSO clock_getres() Vincenzo Frascino
2019-05-28 12:04 ` [PATCH v5 1/3] powerpc: " Vincenzo Frascino
2019-05-30 14:28 ` shuah
2019-06-04 12:50 ` Sasha Levin
2019-05-28 12:04 ` [PATCH v5 2/3] s390: " Vincenzo Frascino
2019-05-30 14:29 ` shuah [this message]
2019-05-28 12:04 ` [PATCH v5 3/3] kselftest: Extend vDSO selftest to clock_getres Vincenzo Frascino
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=dbcf69ff-1fe7-3a2e-5940-11fed052d45e@kernel.org \
--to=shuah@kernel.org \
--cc=arnd@arndb.de \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=paulus@samba.org \
--cc=schwidefsky@de.ibm.com \
--cc=skhan@linuxfoundation.org \
--cc=tglx@linutronix.de \
--cc=vincenzo.frascino@arm.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).