Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3866522pxb; Fri, 11 Feb 2022 09:25:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvo0sg4+erybFPuvFyRA2Lgjy6eiFUeg+hWmlB6NsWf68EHRL86X4MjKCR1Hn+xjq/vC+P X-Received: by 2002:a17:907:7f86:: with SMTP id qk6mr2219091ejc.454.1644600322313; Fri, 11 Feb 2022 09:25:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644600322; cv=none; d=google.com; s=arc-20160816; b=LAvPYAXtaPO1CeK6hAIgvsYArOleN/yIRAQ/EXsxc4Vz/00hVVoI2igEdv/3MDLVL+ UbA/XS2jB45L+q/Ow1DFa4IqxaTnWDWH8pQw9a/7nalYxsjE8n/qSTK015Jc7vCnCL3z GRDgeuIYD7H4ffFhjxZmR7yq7Y2Q0thv8ZMYsRBUBivmb2XjaVsXVjhH58sY0aeLPuVA z7gTy67Q67fHwZqN0emORSJXDiW/TTZgt34PREpwQcu+7IE5ncG9IK331KlT4P5ZBAlw D1qXXuwRQSUH0Smjvd09IYDUjYhnV4k9lfU2RR0sgI6uaTbjEqZZ/UrG5mtxpJiCUb3v vgHA== 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=KDYTuNMJtNOXsvscYkqsRqrseyvd53h4VoRZa7qAU7c=; b=TDQubwbUa6g/KycvgK/U0zceY6cF/N6QfNVLUYxAMmJoEin4Wf3oHEnSKjs4THpv7E PHj92Pb8PvCZeH6r+7M8yIVh7ehaovEDOr0dgvlP/I7BTc/3vH+BlT9TBkpsmSX0YTpI ZAeRUf2KRbbn3uNKh2eahC1xpgvlMet3nO95qLHflENuXAe3LiTucuapa4wfks8xinvn OJd1iFSo3v825WIfgp/18HR3tjBO0+47PVo6DL26s+XipL9FXXN2EbwZTI/VZtgURS3Z Po5E10OmpuD3I9asOYU5lYfcGAmohnl9n7miaq02jzsc6FV9POOasqNPw1lSSO8pFSM/ FpTg== 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 b13si20010133edz.583.2022.02.11.09.24.57; Fri, 11 Feb 2022 09:25:22 -0800 (PST) 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 S1351607AbiBKQkJ (ORCPT + 99 others); Fri, 11 Feb 2022 11:40:09 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230040AbiBKQkI (ORCPT ); Fri, 11 Feb 2022 11:40:08 -0500 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3C03DFD for ; Fri, 11 Feb 2022 08:40:06 -0800 (PST) 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-160-wZ1-VjIMOoK4So3RgiPxRg-1; Fri, 11 Feb 2022 16:40:03 +0000 X-MC-Unique: wZ1-VjIMOoK4So3RgiPxRg-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.28; Fri, 11 Feb 2022 16:40:01 +0000 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.028; Fri, 11 Feb 2022 16:40:01 +0000 From: David Laight To: 'Bill Wendling' , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "x86@kernel.org" , "H . Peter Anvin" , Nathan Chancellor , "Nick Desaulniers" , Juergen Gross , Peter Zijlstra , Andy Lutomirski , "llvm@lists.linux.dev" CC: "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v4] x86: use builtins to read eflags Thread-Topic: [PATCH v4] x86: use builtins to read eflags Thread-Index: AQHYHs4TBErQZHLpBUiy6+9ZW5FRHqyOjNCA Date: Fri, 11 Feb 2022 16:40:01 +0000 Message-ID: References: <20220204005742.1222997-1-morbo@google.com> <20220210223134.233757-1-morbo@google.com> In-Reply-To: <20220210223134.233757-1-morbo@google.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, 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 RnJvbTogQmlsbCBXZW5kbGluZw0KPiBTZW50OiAxMCBGZWJydWFyeSAyMDIyIDIyOjMyDQo+IA0K PiBHQ0MgYW5kIENsYW5nIGJvdGggaGF2ZSBidWlsdGlucyB0byByZWFkIGFuZCB3cml0ZSB0aGUg RUZMQUdTIHJlZ2lzdGVyLg0KPiBUaGlzIGFsbG93cyB0aGUgY29tcGlsZXIgdG8gZGV0ZXJtaW5l IHRoZSBiZXN0IHdheSB0byBnZW5lcmF0ZSB0aGlzDQo+IGNvZGUsIHdoaWNoIGNhbiBpbXByb3Zl IGNvZGUgZ2VuZXJhdGlvbi4NCj4gDQo+IFRoaXMgaXNzdWUgYXJvc2UgZHVlIHRvIENsYW5nJ3Mg aXNzdWUgd2l0aCB0aGUgIj1ybSIgY29uc3RyYWludC4gIENsYW5nDQo+IGNob29zZXMgdG8gYmUg Y29uc2VydmF0aXZlIGluIHRoZXNlIHNpdHVhdGlvbnMsIGFuZCBzbyB1c2VzIG1lbW9yeQ0KPiBp bnN0ZWFkIG9mIHJlZ2lzdGVycy4gVGhpcyBpcyBhIGtub3duIGlzc3VlLCB3aGljaCBpcyBjdXJy ZW50bHkgYmVpbmcNCj4gYWRkcmVzc2VkLg0KPiANCj4gSG93ZXZlciwgdXNpbmcgYnVpbHRpbnMg aXMgYmVuZWZpY2lhbCBpbiBnZW5lcmFsLCBiZWNhdXNlIGl0IHJlbW92ZXMgdGhlDQo+IGJ1cmRl biBvZiBkZXRlcm1pbmluZyB3aGF0J3MgdGhlIHdheSB0byByZWFkIHRoZSBmbGFncyByZWdpc3Rl ciBmcm9tIHRoZQ0KPiBwcm9ncmFtbWVyIGFuZCBwbGFjZXMgaXQgb24gdG8gdGhlIGNvbXBpbGVy LCB3aGljaCBoYXMgdGhlIGluZm9ybW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