From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0705.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::705]) by sourceware.org (Postfix) with ESMTPS id DB3DA3985C11 for ; Mon, 28 Jun 2021 15:49:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DB3DA3985C11 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AekJOQJqln2K2P0JGBWnh6Uj+53R27EFmoB5laVcZ8xA6Fkx+OYvNTEyiHWk50JriWyQmloxMC2AOvqP3iOWEV0xUc9WVVOvswFc6FGD25617TpvPl0z/XTrH/PrlKOd+FJziSyzxgWQNSl6uM5Pk+yAQJ2G6HJ4NupiU2psd1iLBmlT9l/so/vrT6JrPU1n+QPQbDy4jb7m2bJSV5OAlmG/AeTa7FYBILAAa9L/Hoo+Nji0pWFi+1DA71/Eg3ijoGVZl5NyuASu+ZpWbSEI1aJN4uzrd3VhtgBgdar278Skr7G+j80JLo3lAw3FFNKE3a0ghvVGu7F04+BajWoHhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U+FtqMp6vvxlYeTlq17tIj0XMpvtmrSs6Hvsyw0ilU4=; b=LicSfUylCJbLlhJLHg8GXnKRRKmkXxwUmRco/mMcCv7XoAVQ4U4Fl5RzhuxgOT5eMirBpYlDFyZYM+iMG/VOBc26a4+ct0B//KdWVD0aMbpZhXKjZH5M+WEJn12t9e81yihIrQdXdq9KuV9VNOqq26yTgQ6VqzwP4jEfqgbbUDKe954mrwI29VPA8730B8rndVvXcoq15lPq3HktRaYtrNd1xom5giR7JcDPEiLIe7aF7TsC6DYgnsY5wS8BfXMdrWBXqWL0d7Seq79WthnPA3NjV5aHyoZ8NFOsQosm2vTnWxBKv2uZoFoTtC6AjJ1navwbG3/CtCiSNQkTtsRcEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=asml.com; dmarc=pass action=none header.from=asml.com; dkim=pass header.d=asml.com; arc=none Received: from AM4PR0201MB2227.eurprd02.prod.outlook.com (2603:10a6:200:4c::22) by AM0PR02MB4084.eurprd02.prod.outlook.com (2603:10a6:208:d4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18; Mon, 28 Jun 2021 15:49:44 +0000 Received: from AM4PR0201MB2227.eurprd02.prod.outlook.com ([fe80::a964:7952:6973:50c7]) by AM4PR0201MB2227.eurprd02.prod.outlook.com ([fe80::a964:7952:6973:50c7%5]) with mapi id 15.20.4242.025; Mon, 28 Jun 2021 15:49:44 +0000 From: Rafael Eduardo Ruviaro Christ To: Wilco Dijkstra , 'GNU C Library' Subject: RE: aarch64 lacks HP_TIMING support in glibc Thread-Topic: aarch64 lacks HP_TIMING support in glibc Thread-Index: AQHXaBukks+y5M9jU0SSPU2TbCh2TqspmVqg Date: Mon, 28 Jun 2021 15:49:44 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [94.157.93.114] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bbe68ec9-e901-4d36-1bf8-08d93a4c59ab x-ms-traffictypediagnostic: AM0PR02MB4084: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LuDy2iIwKtgoGuDJD4nmPT0Ymq9Ppb42HMxoWCEO7WoerZVd2dXLQXANDqGOuG5w4iEvOFUHJ/A0OIQLCkysN9etv173V1EoWvFh7573gQn4PKKhoI61cP/Ilm5CFlWOq+SRO+FZF8MtCyxrzurc0zuJD6GkW103/ulGCjZvaZPI7BouUd95TxCGtNxLWM3YUESBBtpRIodmw/SYTOk5Fnx7a5jAvGUrYLed0Rmld6Q/GaGP5bpvvVhv6XvNJf7QpCOpzVwViVUZQnxQdzkIqcrUfKLWxKefbXa0Ig35MZVJjaGYYkff681cFMFxh78fndGU2L5CCr9O58FtK1xZZRLSN1YyC/+3DFmNQjNVArofBGv1ey4LPq5Y9YTnD0WH0zZdswcbrkLX4oePaLcqpZGyZupy5/eA9YR1Y+a2iHNTF/pfkCi7Q4s84SGC+VNupx3PrizXEYLTVz1YvxxiFrp74tpgbQROsALRBvWGpd7RfsWIrlb1qJCt/93QlPzWOxRzVLWqsohBGd3LEXvn6bIHyLvuLfVFGwCBPeplP7Z7eazwSPZoLMrxN398yOv3jwo/XITFFW9eBmsUR0QbPDUbVXL1DwD4tfbWSqitREA1uoGaOHR6SE7ljzMy5gNJB5xIz+I8dqqrRaoqIJI8HA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR0201MB2227.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(136003)(366004)(376002)(39860400002)(2906002)(5660300002)(6506007)(66946007)(316002)(52536014)(122000001)(76116006)(7696005)(66476007)(53546011)(66556008)(66446008)(64756008)(38100700002)(110136005)(478600001)(186003)(8936002)(9686003)(33656002)(86362001)(83380400001)(8676002)(26005)(71200400001)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ltfIE6HazejLIHEYktSrqPBCJgar7E4no+9w9X8zgQSExOUaW5tVYFhkwqST?= =?us-ascii?Q?nJRSOSEzMli5jAEpAOBL5Ewd35rzqjHCLzZRSFcebzXA/3rWLXRwfWEod/1E?= =?us-ascii?Q?9tlbZnGhPDhB7P3SkVRiYk3Enqt8fK/WI59LPHtfBQUHfimnG+9IQphpR3JW?= =?us-ascii?Q?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lfud1dNGbp4ygNPCTp4Y?= =?us-ascii?Q?GXIDLABLM2tRKjM8hWw+YR1alyuURYCNJflrThrFebYmwqzsyzWEZt912cZZ?= =?us-ascii?Q?TQI3WtxOOdpZYJpVgjRanPdzI01G4IVpqPi7zguNGwySVeILqa7h4st1fwrd?= =?us-ascii?Q?sOrGC18AMKmPupIcrHnGvxw0vSrICZ0LAwI0A91N/4JlIzHNS1J1w3UgmG7t?= =?us-ascii?Q?rsRb1Un3k6nVvRGpND54tlM7qTex4jZH+9IV/2SDUsWiXlkSQqBbyPt4UAwp?= =?us-ascii?Q?0YLnjRV3dQttd0+kNqaLHDby?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: asml.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM4PR0201MB2227.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bbe68ec9-e901-4d36-1bf8-08d93a4c59ab X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2021 15:49:44.4509 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: af73baa8-f594-4eb2-a39d-93e96cad61fc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7gaAkSwUF7UOD5W52/BakT+Ju/vun7cl8U4/WRhqzc3jWViWhHFDM/JR4e7DLNF0lGJ4/5PxVEb3DI/QFV/NPT2iOr1zXCQngjItFvWAMcC46vhwSe5O6ANmsyPKH084 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR02MB4084 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2021 15:49:51 -0000 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 platf= orm to evaluate the clock_getres() behavior. Kind regards, Rafael -----Original Message----- From: Wilco Dijkstra Sent: Wednesday, June 23, 2021 1:43 PM To: 'GNU C Library' ; Rafael Eduardo Ruviaro Chr= ist 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 ar= chitecture 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 the= re 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 tim= ers 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 n= ever trapped on AArch64 or just declare the systems that do trap it obsolet= e. Cheers, Wilco -- The information contained in this communication and any attachments is c= onfidential and may be privileged, and is for the sole use of the intended = recipient(s). Any unauthorized review, use, disclosure or distribution is p= rohibited. Unless explicitly stated otherwise in the body of this communica= tion or the attachment thereto (if any), the information is provided on an = AS-IS basis without any express or implied warranties or liabilities. To th= e 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 immed= iately by replying to this message and destroy all copies of this message a= nd any attachments. Neither the sender nor the company/group of companies h= e or she represents shall be liable for the proper and complete transmissio= n of the information contained in this communication, or for any delay in i= ts receipt.