Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp410118pxp; Sat, 19 Mar 2022 06:04:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYJrrzmKCE/gZSpXwcnV3v/fPj3FAFBvZ3EYDp7Iv+7X4AERYUM7vwCTJb2jg0OMuuvuVQ X-Received: by 2002:a05:6a00:1950:b0:4f7:8a93:e813 with SMTP id s16-20020a056a00195000b004f78a93e813mr14714478pfk.44.1647695099247; Sat, 19 Mar 2022 06:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647695099; cv=none; d=google.com; s=arc-20160816; b=VCHDJU8hrt60wQNTbRVhp0iEKqbP0jLC5rPaWM/4xZNWa8fGbp65HAJK/PfyaYzYXM 7aQ1WKkM0WWUBW64qS3odSVxJWVy0AmNp/W09yORETywHkdzXC09ROKFpaJ1GdcytNmL vcqK0YnnwvD6f8HvtsMLnp370b2z9+bLt4duecdZdHQQDw1oq2rq8dpS4JMGJsxcs8pI sDWXLMLAHuXVPKnnSJrACgI/gGSO5Rnnd/wjlRwF77zYjrtZsCbte8Z07qlRi7CP9QvD rgBT4bartImWJYAYb5iTDMzfFlkWNxicoU03cIvnijE1D5qAh+nEdrW7CCJKZ13jmC5f 265g== 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=/BT4U6M/72CPCZGpbflEaIvgyY772UcTWZ+X/4PE0qo=; b=JgMbQ2zHIvP0M22Jz1Mb0lG6o3IowqdjuYNrbGSirSCvV++i0iqDGlqXOPaEZC+wLL M068reiUSHJ+eQmA6KKSbmD1yNw4f6PcWLb+1AQen6yfU/Y4k85sWeDfn981Fmo3yddY /c6nAex/vit+5ISGLPaWq/F6C4Kkz0qK3/Hd26dL/P7g5RLqlL3ehwIjx7LfRH5gFSlR dpgwWboRBuQfWdefbvwJYjWPGtVrdJYkwovCgkBaHo2Cp8zlS0zcf/STua5Z9sT55hGI fVn5D/9tn9hj0UNA9XRX+/iOnYW8Qf1jbBOJFBrFv5tljt7oICIzVsk9DiPWzAhdELnA FetA== 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 o19-20020a63e353000000b003822b0c2142si4794239pgj.279.2022.03.19.06.04.46; Sat, 19 Mar 2022 06:04:59 -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 S241315AbiCRWoi (ORCPT + 99 others); Fri, 18 Mar 2022 18:44:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241287AbiCRWoh (ORCPT ); Fri, 18 Mar 2022 18:44:37 -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 F3D46AA02F for ; Fri, 18 Mar 2022 15:43:17 -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-401-Kl5n9Y8SM8efMVGPAvZzlQ-1; Fri, 18 Mar 2022 22:43:14 +0000 X-MC-Unique: Kl5n9Y8SM8efMVGPAvZzlQ-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.32; Fri, 18 Mar 2022 22:43:13 +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.033; Fri, 18 Mar 2022 22:43:13 +0000 From: David Laight To: 'Linus Torvalds' , Andy Lutomirski CC: Andrew Cooper , Nick Desaulniers , "H. Peter Anvin" , Bill Wendling , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Nathan Chancellor , "Juergen Gross" , Peter Zijlstra , "llvm@lists.linux.dev" , LKML , linux-toolchains Subject: RE: [PATCH v5] x86: use builtins to read eflags Thread-Topic: [PATCH v5] x86: use builtins to read eflags Thread-Index: AQHYOvTFBe9clLf+8ESM+1cEdgpAzqzFu3kw Date: Fri, 18 Mar 2022 22:43:13 +0000 Message-ID: <5794cceec50a4f1ebca069d5a31afcdf@AcuMS.aculab.com> References: <20220210223134.233757-1-morbo@google.com> <20220301201903.4113977-1-morbo@google.com> <83b33afc-8502-0065-60bc-3a91528632d8@kernel.org> In-Reply-To: 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 RnJvbTogTGludXMgVG9ydmFsZHMNCj4gU2VudDogMTggTWFyY2ggMjAyMiAxODoxOQ0KPiANCj4g T24gRnJpLCBNYXIgMTgsIDIwMjIgYXQgMTA6NTkgQU0gQW5keSBMdXRvbWlyc2tpIDxsdXRvQGtl cm5lbC5vcmc+IHdyb3RlOg0KPiA+DQo+ID4gSSBnZW5lcmFsbHkgYWdyZWUuICBJbiB0aGlzIHBh cnRpY3VsYXIgY2FzZSwgdGhvdWdoLCBJIHdpbGwga2VlcCB1c2luZw0KPiA+IHRoZSBidWlsdGlu IGluIHRvb2xzL3Rlc3Rpbmcvc2VsZnRlc3RzL3g4Ni9oZWxwZXJzLmggdW5sZXNzIHdlIGFjdHVh bGx5DQo+ID4gaGl0IGJyZWFrYWdlLiAgVGhpcyBpcyBiZWNhdXNlIHRoaXMgaXMgKnVzZXIqIGNv ZGUsIGl0IGlzIGNvbXBpbGVkIHdpdGgNCj4gPiB0aGUgcmVkem9uZSBlbmFibGVkLCBhbmQgdGhl IGFzbSBjb2RlIHRvIGRvIHRoZSByaWdodCB0aGluZyB3aGVuIHRoZQ0KPiA+IHJlZHpvbmUgaXMg ZW5hYmxlZCBpcyB0b28gaGFpcnkgZm9yIG1lIHRvIHdhbnQgdG8gZGVhbCB3aXRoIGl0Lg0KPiAN Cj4gWWVhaCwgcmVkem9uaW5nIGlzIGEgcHJvYmxlbSBmb3IgInB1c2hmIi4NCj4gDQo+IE9yIHJh dGhlciwgaXQncyBub3QgdGhlIHJlZHpvbmluZyBpdHNlb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