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>,
stable@vger.kernel.org, Paul Mackerras <paulus@samba.org>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Thomas Gleixner <tglx@linutronix.de>, shuah <shuah@kernel.org>
Subject: Re: [PATCH v5 1/3] powerpc: Fix vDSO clock_getres()
Date: Thu, 30 May 2019 08:28:27 -0600 [thread overview]
Message-ID: <d4c2380d-1811-18f3-51a3-10bd3782b9de@kernel.org> (raw)
In-Reply-To: <20190528120446.48911-2-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 powerpc vdso implementation of clock_getres keeping a copy of
> hrtimer_resolution in vdso data and using that directly.
>
> Fixes: a7f290dad32e ("[PATCH] powerpc: Merge vdso's and add vdso support
> to 32 bits kernel")
> Cc: stable@vger.kernel.org
> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
> Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
> ---
>
> Note: This patch is independent from the others in this series, hence it
> can be merged singularly by the powerpc maintainers.
>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
thanks,
-- Shuah
next prev parent reply other threads:[~2019-05-30 14:36 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 [this message]
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
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=d4c2380d-1811-18f3-51a3-10bd3782b9de@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=stable@vger.kernel.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).