From: Vincenzo Frascino <vincenzo.frascino@arm.com>
To: Andy Lutomirski <luto@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@vger.kernel.org>, Shuah Khan <shuah@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH 2/3] kselftest: Extend vDSO selftest
Date: Wed, 25 Mar 2020 13:44:18 +0000 [thread overview]
Message-ID: <281cc0c3-dbe3-2c39-3964-ce1147af9933@arm.com> (raw)
In-Reply-To: <CALCETrUPaJCgY_herAUJAfqUbXS6S9xOaLz9abFEWOjEouNf+A@mail.gmail.com>
Hi Andy,
On 3/24/20 5:22 PM, Andy Lutomirski wrote:
> On Tue, Mar 24, 2020 at 7:51 AM Vincenzo Frascino
> <vincenzo.frascino@arm.com> wrote:
>>
>> The current version of the multiarch vDSO selftest verifies only
>> gettimeofday.
>>
>> Extend the vDSO selftest to the other library functions:
>> - time
>> - clock_getres
>> - clock_gettime
>>
>> The extension has been used to verify the unified vdso library on the
>> supported architectures.
>
> The code in tools/testing/selftests/x86/test_vdso.c actually checks
> that the times returned by the vDSO are correct. Perhaps that code
> should be copied or moved here?
>
Good point. I was not aware of such a test. I will definitely move it here and
make sure it works for non x86 platforms as well in the next iteration of this
series.
--
Regards,
Vincenzo
next prev parent reply other threads:[~2020-03-25 13:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-24 14:51 [PATCH 0/3] kselftest: Extend vDSO tests Vincenzo Frascino
2020-03-24 14:51 ` [PATCH 1/3] kselftest: Enable vDSO test on non x86 platforms Vincenzo Frascino
2020-03-24 14:51 ` [PATCH 2/3] kselftest: Extend vDSO selftest Vincenzo Frascino
2020-03-24 17:22 ` Andy Lutomirski
2020-03-25 13:44 ` Vincenzo Frascino [this message]
2020-03-24 14:51 ` [PATCH 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=281cc0c3-dbe3-2c39-3964-ce1147af9933@arm.com \
--to=vincenzo.frascino@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=luto@kernel.org \
--cc=shuah@kernel.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®