public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Rafael Eduardo Ruviaro Christ <rafaeleduardoruviaro.christ@asml.com>
To: Wilco Dijkstra <Wilco.Dijkstra@arm.com>,
	'GNU C Library' <libc-alpha@sourceware.org>
Subject: RE: aarch64 lacks HP_TIMING support in glibc
Date: Mon, 28 Jun 2021 15:49:44 +0000	[thread overview]
Message-ID: <AM4PR0201MB2227BE4268290DF265342FE88A039@AM4PR0201MB2227.eurprd02.prod.outlook.com> (raw)
In-Reply-To: <VE1PR08MB5599A790A65004C303D770DF83089@VE1PR08MB5599.eurprd08.prod.outlook.com>

Dear Wilco,

Thank you for your message. Currently, we're using glibc 2.28. As soon as I am able to update to the latest glibc I will repeat the tests in our platform to evaluate the clock_getres() behavior.

Kind regards,
Rafael

-----Original Message-----
From: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Sent: Wednesday, June 23, 2021 1:43 PM
To: 'GNU C Library' <libc-alpha@sourceware.org>; Rafael Eduardo Ruviaro Christ <rafaeleduardoruviaro.christ@asml.com>
Subject: aarch64 lacks HP_TIMING support in glibc

CAUTION: This message is from an external sender

Hi Rafael,

> I noticed that aarch64 lacks HP_TIMING support in glibc. Although this architecture has generic timers, glibc is still using the generic hp-timing.h for aarch64.
> I see HP_TIMING support for other architectures. I'd like to know why there is no HP_TIMING support for aarch64?
> Also, if there's planning to support it for aarch64?

I added HP_TIMING support for all targets a while back - this uses fast timers via the vDSO mechanism. Some targets also have a header with an inline counter.

However it's not an external header and it is hardly used inside GLIBC, so it's not clear whether it's worth the effort to ensure that cntvct_el0 is never trapped on AArch64 or just declare the systems that do trap it obsolete.

Cheers,
Wilco
-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. Neither the sender nor the company/group of companies he or she represents shall be liable for the proper and complete transmission of the information contained in this communication, or for any delay in its receipt.

  parent reply	other threads:[~2021-06-28 15:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23 11:43 Wilco Dijkstra
2021-06-23 13:26 ` Adhemerval Zanella
2021-06-23 15:19   ` Wilco Dijkstra
2021-06-28 15:49 ` Rafael Eduardo Ruviaro Christ [this message]
2021-06-28 19:25   ` Wilco Dijkstra
2021-06-30 13:27     ` Rafael Eduardo Ruviaro Christ
2021-07-02 13:13       ` Wilco Dijkstra
2021-07-02 13:53         ` Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2021-06-22 18:29 Rafael Eduardo Ruviaro Christ
2021-06-22 18:38 ` Andrew Pinski
2021-06-22 18:57   ` Adhemerval Zanella
2021-06-22 19:27     ` Andreas Schwab
2021-06-22 19:53       ` Adhemerval Zanella
2021-06-22 20:18         ` Andreas Schwab
2021-06-22 20:22           ` Adhemerval Zanella

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=AM4PR0201MB2227BE4268290DF265342FE88A039@AM4PR0201MB2227.eurprd02.prod.outlook.com \
    --to=rafaeleduardoruviaro.christ@asml.com \
    --cc=Wilco.Dijkstra@arm.com \
    --cc=libc-alpha@sourceware.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).