Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6776505rwd; Tue, 6 Jun 2023 01:32:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7xvfGTA8/zb/PyH7iioNtItONinQhbTbgfnqFpi8d+m4HStRWMFN709+kguXWhWHS2ST/z X-Received: by 2002:ac8:7dc6:0:b0:3f3:9298:3335 with SMTP id c6-20020ac87dc6000000b003f392983335mr1602238qte.15.1686040339918; Tue, 06 Jun 2023 01:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686040339; cv=none; d=google.com; s=arc-20160816; b=OJDpcEFDkJdxllVzEWKOzUm9Aa1G2OaApk8VuS+O6bh1jYJClmvcnw0ygAH1cpq1Yc F65J+wHcTZA+kNyZ6I4qkc1c2cRl/61CveuYnF9Qv/6GVy8jSEpUdijDxUVJjcPvat3W 3qMDp6Cle8T5o8NEQqiLIIUvE1r5J3JWG4lyogQzZfNFfR7gPdTFYwW3aLRax72cbOHR /1GYdOkd9eh7NJPzJO4CAN+HQpcyY+ZoxBDrmRwemeboDPERfPRFZ17HKoRgu/L2MOAk D4l6S92HEJu+L09arjw8pVE33DT/CGbkhoppccSpYiHLzzTp1fuMec0Yx6CSTReTHPYO BTrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=uRKxMUOEjnvPjuK4CEiZB/HPdhMj3cXvu867/nIvJqY=; b=ItSlk3QiSZjVhw78yJmEvwIGjwzw+DTXcqgwyJnF8M5mSyZx1G6zaZ++C7EBcUpOu+ 8f0cZwbfNwmLz2DTqa/TCGXqAearhNFECOsLQxUnEce6Jnd2WkHBCrMhU66+Uh4YzYpY YbAuQCKImmScQnEUuMu90WLcWmfePMXcLHOuHckdw6TMJiYhligqKZHEkdqsF0XQjhGn 613c5N5D0S/z9g0QgFNH3U4OyIpKVvqTfysBEFNQeOqEK3x1VDPFrKZwr0fPgi4lmGs6 hyzjkCMPV2fBmyHezS3QxRj1W4fonuBktTj7DXpZ678agHyjh9qk9JolfThnw+483DqT sX7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a05622a04d200b003f4f94c6ab1si5710410qtx.272.2023.06.06.01.32.05; Tue, 06 Jun 2023 01:32:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236301AbjFFIYY (ORCPT + 99 others); Tue, 6 Jun 2023 04:24:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231830AbjFFIYU (ORCPT ); Tue, 6 Jun 2023 04:24:20 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92600E6A for ; Tue, 6 Jun 2023 01:24:00 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-27-nSSzYmyDMbyDTK30Pb0fqg-1; Tue, 06 Jun 2023 09:23:54 +0100 X-MC-Unique: nSSzYmyDMbyDTK30Pb0fqg-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 6 Jun 2023 09:23:52 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Tue, 6 Jun 2023 09:23:52 +0100 From: David Laight To: "'H. Peter Anvin'" , 'Thomas Gleixner' , Muhammad Usama Anjum , Jonathan Corbet , Ingo Molnar , "Borislav Petkov" , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "open list:DOCUMENTATION" , open list , "Guilherme G. Piccoli" CC: Steven Noonan , "kernel@collabora.com" Subject: RE: Direct rdtsc call side-effect Thread-Topic: Direct rdtsc call side-effect Thread-Index: AQHZlHOrHGvpd378GUKTvqmuipgWK698BnPAgAA4NYCAACHzkP///FcAgAEVfSA= Date: Tue, 6 Jun 2023 08:23:52 +0000 Message-ID: References: <6719fb05-382c-8ec4-ccda-72798906a54b@collabora.com> <87mt1jeax1.ffs@tglx> <353732783fde46919fdcf698c326b7ed@AcuMS.aculab.com> <87jzwi55qo.ffs@tglx> <4ea6e82c-4761-e0c9-3e75-8ec39eecb30a@zytor.com> In-Reply-To: <4ea6e82c-4761-e0c9-3e75-8ec39eecb30a@zytor.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSC4gUGV0ZXIgQW52aW4NCj4gU2VudDogMDUgSnVuZSAyMDIzIDE3OjMyDQouLi4NCj4g VGhlIFRTQyBpcyBjZXJ0YWlubHkgbm90IHBlcmZlY3Q7IHBhcnRseSBiZWNhdXNlLCBpcm9uaWNh bGx5IGVub3VnaCwgaXQNCj4gd2FzIGludHJvZHVjZWQganVzdCAqYmVmb3JlKiBvdXQgb2Ygb3Jk ZXIgYW5kIHBvd2VyIG1hbmFnZW1lbnQgZW50ZXJlZA0KPiB0aGUgeDg2IHdvcmxkLg0KDQpBbm90 aGVyIGlzc3VlIGlzIHRoYXQgdGhlIGNyeXN0YWwgdXNlZCBmb3IgdGhlIGNwdSBjbG9jayB3b24n dCBiZQ0KdGhhdCBhY2N1cmF0ZSAoaW4gdGVybXMgb2YgcHBtIGVycm9yIHJhdGUpLCBhbmQgd2ls bCBoYXZlIHNpZ25pZmljYW50DQp0ZW1wZXJhdHVyZSBkcmlmdC4NCk9UT0ggdGhlIGNyeXN0YWwg aW4gdGhlIHRyYWRpdGlvbmFsIHg4NiBtb3RoZXJib2FyZCAnY2xvY2snIGNoaXANCmlzIChtZWFu dCB0byBiZSkgZGVzaWduZWQgdG8gaGF2ZSBsb25nIHRlcm0gYWNjdXJhY3kuDQpXaGlsZSByZWFk aW5nIHRoZSBUU0MgaXMgYSBsb3QgZmFzdGVyIHRoZXJlIG91Z2h0IHRvIGhhdmUgYmVlbg0Kc29t ZSBraW5kIG9mIFBMTCB0byBjb250aW51b3VzbHkgYWRqdXN0IHRoZSBtZWFzdXJlZCBUU0MgZnJl cXVlbmN5DQp0byBrZWVwIHN5bmNocm9uaXNlZCB3aXRoIHRoZSB0aW1lci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