Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2538103imi; Mon, 25 Jul 2022 00:55:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vyRZL8Ak8p6NTsVdLdLNMGSYfzdwoNaJ58BFXOm+/+syeEdTd5ZKUlEZY3hAK4wtClMbBT X-Received: by 2002:a17:907:1c0a:b0:72b:378f:2fa1 with SMTP id nc10-20020a1709071c0a00b0072b378f2fa1mr8748165ejc.492.1658735737136; Mon, 25 Jul 2022 00:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658735737; cv=none; d=google.com; s=arc-20160816; b=UmWNGuNnNkqAhdHDs0FzbKRYa2BcxBvA6WFgknx7ScAG75dRHyNbd221Fr/pqdiqPj JHE77cBr0Spo+ixm4vLNfApLCeotuP33J4ftbMWkeuJ0EK8qPHc+jAgWsbscA1pqOL9w 3k1pBUa4aVZPE1oj8v2VNse+tgWPsbvx24uxcJx5VWSQsi5QgqS7NT+NPTO67Ohn83nL iunWroE9wVcbwnQTnBCrTS6sQb9GICkWbE0rhjTjoApbAq9OMVcBw4kStG0qYsbDGZf6 72lU4SddLCyiQBRhVZNZJYfnPvREUina9TQhnakIxKMQQLtcbAmQHRugO2HrSdlv0H8y ontA== 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=pWrg+RydylTak8c2B3n8wrPrXeZy+QaV3jP8HNAJu9w=; b=scSzBz2l3n2DdxppRQYFwxusPA0GyVtJFvXzFH+dkHBO9oDZVsnVw/6uur+mr+RG63 ymx6COF/XkQSMxwMCunQ/B6uUR05wF23Y+Te2h6DH6cD4F/Anhs0f3V4JH30ntYAouRI EXVYgQwQcGk2UhK3HVo9s2ZU8+8iQiYx/+2amjWW9vlSP1QuhST+fQsktAVFf3Bgs4O4 nOfTWf7gb5eKbluyHDGQ7oyKrxngolCP6FWpVEOHmUzlhwhxhh1WowBNRThjAadG+ekY aOgX8BW6nBEommiHTyMwhIC03gk6drskLAmbXSTxKJT6YMehU99XcZnmpufrXvDNj848 KSrA== 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 ss2-20020a170907c00200b006feb18c72bfsi3785360ejc.126.2022.07.25.00.55.12; Mon, 25 Jul 2022 00:55:37 -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 S230099AbiGYHgF (ORCPT + 99 others); Mon, 25 Jul 2022 03:36:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229803AbiGYHgD (ORCPT ); Mon, 25 Jul 2022 03:36:03 -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 ESMTP id 32D0562E2 for ; Mon, 25 Jul 2022 00:36:02 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-69-oYIuq9NKNZ2oDYXkhJf3Sw-1; Mon, 25 Jul 2022 08:35:58 +0100 X-MC-Unique: oYIuq9NKNZ2oDYXkhJf3Sw-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Mon, 25 Jul 2022 08:35:55 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.036; Mon, 25 Jul 2022 08:35:55 +0100 From: David Laight To: "'Luck, Tony'" CC: "Sun, Yi" , "Hansen, Dave" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , "Mehta, Sohil" , "Su, Heng" Subject: RE: [PATCH 1/2] x86/fpu: Measure the Latency of XSAVE and XRSTOR Thread-Topic: [PATCH 1/2] x86/fpu: Measure the Latency of XSAVE and XRSTOR Thread-Index: AQHYnm+ODXPdzib5uU6pj7yBjiIw9q2OAAFwgAAUpoCAAJ8nQA== Date: Mon, 25 Jul 2022 07:35:55 +0000 Message-ID: <70ec475d45644c18b782d8bbe6a4e921@AcuMS.aculab.com> References: <921078bc2a994d3ab6aba26d4654cb47@AcuMS.aculab.com> <75084D4E-80AC-4FE7-8CDD-2BFD30D23695@intel.com> In-Reply-To: <75084D4E-80AC-4FE7-8CDD-2BFD30D23695@intel.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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com 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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS 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 RnJvbTogTHVjaywgVG9ueQ0KPiBTZW50OiAyNSBKdWx5IDIwMjIgMDA6MDANCj4gDQo+IFJEVFND IGhhcyByZXR1cm5lZCB2YWx1ZXMgaW52YXJpYW50IG9mIGN1cnJlbnQgZnJlcXVlbmN5IHNpbmNl IE5laGFsZW0gKG1vZHVsbyBhIGZldyBoaWNjb3VnaHMpLiBTbw0KPiBhbnkgQ1BVIHdpdGggWFNB VkUvWFJFU1RPUiBzaG91bGQgYmUgc2FmZSB0byBtZWFzdXJlIHVzaW5nIFRTQy4NCg0KSW5kZWVk IC0gdGhhdCBpdCBleGFjdGx5IHdoeSB5b3UgY2FuJ3QgdXNlIHRoZSBUU0MgdG8gbWVhc3VyZQ0K aW5zdHJ1Y3Rpb24gbGF0ZW5jeSBhbnkgbW9yZS4NCllvdSBuZWVkIHRvIG1lYXN1cmUgbGF0ZW5j eSBpbiBjbG9ja3MsIG5vdCB0aW1lLg0KDQpPbiBjcHUgd2hlcmUgYWxsIHRoZSBjb3JlcyBydW4g YXQgdGhlIHNhbWUgZnJlcXVlbmN5IHlvdSBjYW4NCnNlZSB0aGUgZWZmZWN0IGJ5IHNwaW5uaW5n IG9uZSBjb3JlIGluIHVzZXJzcGFjZS4NClJ1bm5pbmcgJ3doaWxlIDo7IGRvIDo7IGRvbmUnIGZy b20gYSBzaGVsbCBwcm9tcHQgaXMgcHJldHR5DQplZmZlY3RpdmUgYXQgc3Bpbm5pbmcgaW4gdXNl cnNwYWNlLg0KDQoJRGF2aWQNCg0KPiANCj4gU2VudCBmcm9tIG15IGlQaG9uZQ0KPiANCj4gPiBP biBKdWwgMjQsIDIwMjIsIGF0IDE0OjE2LCBEYXZpZCBM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