Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4576974imm; Fri, 18 May 2018 07:23:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr06nt2f1Bi+jKzLvtZDpOy8zcwEhvNeeX4XrXcYCce8PmLwgT1drEv3tAQsJSH2pM+MExj X-Received: by 2002:a62:5d4a:: with SMTP id r71-v6mr9545596pfb.147.1526653390486; Fri, 18 May 2018 07:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526653390; cv=none; d=google.com; s=arc-20160816; b=NC31UFGbBaTgfKObm5ORBmC73zy3fsoGb/gpF8k4dsuNhAxql98r0LZ6hnuDaN8/Bg IDfZ2ffW78N8s56eWF614j85EC9s+dsuJefoCx2E4ttzwAcnhDKzFI4HtdxwTHkX4rr0 i135HHpYuWI8PcnvyM+YbHP6PHaGD6iVdKzMbJZiqPSapQIwttQpj0CLliuqiKNGfkcn OqEOkJcuZ+oGa4Hq4Ztco4qAgw67ElyEHqL5jpjdCvYWPzI6BUThqfn0W6LJVwtoIpIa /2PE7SmoFU2QOLcEshDpsWV8Fa2ZAPxM+vHuCUZYcoUyDQRs63rxIK1vq/QaxbL/fMBe U5vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=kMTbGJOTNmjTVyzaE9H53crjkzQQmbb4vKDQMFyuKjU=; b=yuiprC+Fc7mx31L2Xi8xmc4IHksvowAS5Zh/vWQIhZYTPgiAIEgju0KxAnjh2HTZWU 5L3A51Di5A70JApm4lZTy7z91gzQn9xWxKtgK9aTdw5di6ISVKecZP0yV2f0MONy1zB0 doo+T80liMlT2biXuthymr+dbI7Ieea4ZW84Br6rSLnWZHC5UR/ZHhdna8n9PG0vHNM1 VQUfm1mTsV7w8IQRywpteW108iflDMxPpkak3uuNzbboj8aYOTDILvJ01/cUuF7YNySe yHMLgOTrgr4ZHdsrf03x+Yj9Zyx18CJ5+7oCwMCg3mlmXFPlj33ux7tbElX0K3sG9MR3 EbyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@onevmw.onmicrosoft.com header.s=selector1-vmware-com header.b=D80lINd4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e203-v6si7560590pfh.86.2018.05.18.07.22.55; Fri, 18 May 2018 07:23:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@onevmw.onmicrosoft.com header.s=selector1-vmware-com header.b=D80lINd4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751450AbeEROWp (ORCPT + 99 others); Fri, 18 May 2018 10:22:45 -0400 Received: from mail-sn1nam02on0043.outbound.protection.outlook.com ([104.47.36.43]:46601 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751184AbeEROWo (ORCPT ); Fri, 18 May 2018 10:22:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kMTbGJOTNmjTVyzaE9H53crjkzQQmbb4vKDQMFyuKjU=; b=D80lINd4PaH3RAC+eZfIR69Va1tJkYEfwn1rJEoMq2iJ4iaJ00A8Xnqf6uOobDQUFigc719MXbwm3+gw+ct7X1PPkisIo6LT9x1sMk2/lMoqAw7qKamgVI7d3Mw9ZSFqs1nb0HGwP2waJo1SofaY01eKAKqgn8bd8gSJz8X/A9E= Received: from SN2PR05MB2654.namprd05.prod.outlook.com (10.166.212.137) by SN2PR05MB2670.namprd05.prod.outlook.com (10.166.212.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.797.5; Fri, 18 May 2018 14:22:41 +0000 Received: from SN2PR05MB2654.namprd05.prod.outlook.com ([fe80::dcb:7409:11fc:2327]) by SN2PR05MB2654.namprd05.prod.outlook.com ([fe80::dcb:7409:11fc:2327%3]) with mapi id 15.20.0797.007; Fri, 18 May 2018 14:22:41 +0000 From: Nadav Amit To: Peter Zijlstra CC: "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Josh Poimboeuf Subject: Re: [PATCH 2/6] x86: bug: prevent gcc distortions Thread-Topic: [PATCH 2/6] x86: bug: prevent gcc distortions Thread-Index: AQHT7jbL50o+w3m6PkeKHm2HX6GyP6Q1H7KAgABrOoA= Date: Fri, 18 May 2018 14:22:41 +0000 Message-ID: References: <20180517161402.78089-1-namit@vmware.com> <20180517161402.78089-3-namit@vmware.com> <20180518075853.GD12217@hirez.programming.kicks-ass.net> In-Reply-To: <20180518075853.GD12217@hirez.programming.kicks-ass.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=namit@vmware.com; x-originating-ip: [208.91.2.2] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SN2PR05MB2670;7:bab/SgtaPaUhkgtKn9wlixvV+8I9b6EcNVBh0b89kJvx0ulcKIjjvBN87jDGI//5sPIDiGseTupkGtRkdi9Z6SCX17tq4XkoV9BZ/Z9JLHYQTvRGczD0KGH68NR9EP7VR+xDjtw+i1slE3JxWpnMvQwhB+8Pw2EO1uyQX/ynl1S06eHejDtibYHJrsKXngYH//fYtcVturWsboApnu5bFJZSZt9XQUwEosizfXyHRKlRgvaZi1ce6kZz2K/ytBAc;20:1WA45+sJokXvqOLwrPZ1Gb3KTFCh4p1i9tD2tC9Efy3qU62mbL5WDxs1Jh3APfjyNfPYZliuwO4c6C7u3dZWtNojhaS0V9uwwgaUKpA7setPhDoJ4ast5zW5N4JkUvGwCK9PN+VFY7/WpoxxMv2Yxb5uKQvFQkrQXy12cJam4Sk= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:SN2PR05MB2670; x-ms-traffictypediagnostic: SN2PR05MB2670: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:SN2PR05MB2670;BCL:0;PCL:0;RULEID:;SRVR:SN2PR05MB2670; x-forefront-prvs: 0676F530A9 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(346002)(39860400002)(39380400002)(376002)(366004)(199004)(189003)(6486002)(476003)(11346002)(97736004)(2616005)(6436002)(486006)(54906003)(229853002)(3846002)(6116002)(25786009)(6246003)(478600001)(316002)(99286004)(5660300001)(8936002)(33656002)(81156014)(81166006)(446003)(83716003)(2900100001)(14454004)(82746002)(2906002)(305945005)(66066001)(6916009)(106356001)(186003)(3280700002)(68736007)(8676002)(76176011)(6506007)(4326008)(86362001)(5250100002)(7736002)(36756003)(26005)(6512007)(105586002)(102836004)(3660700001)(53936002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN2PR05MB2670;H:SN2PR05MB2654.namprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: UsGiwhdN5Caa1JUGo+dFvVvwR7eIv9HOFq+0XSMg9G5vTdWte0qkx14Xf3mu7E3qqbMhy/zbE1sdTJ/nE6cAQt9OMouYSc9LWGb5dcFzIog41UewePhB4G73UKvlKAxBBiBVkBe92karrrRkU/lCXv6h5aVWh8URkzF0WSull3czk2texLktSMTLWc6832Ch spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 0017d673-34f5-4e12-e692-08d5bccad099 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0017d673-34f5-4e12-e692-08d5bccad099 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2018 14:22:41.0237 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR05MB2670 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UGV0ZXIgWmlqbHN0cmEgPHBldGVyekBpbmZyYWRlYWQub3JnPiB3cm90ZToNCg0KPiBPbiBUaHUs IE1heSAxNywgMjAxOCBhdCAwOToxMzo1OEFNIC0wNzAwLCBOYWRhdiBBbWl0IHdyb3RlOg0KPj4g K2FzbSgiLm1hY3JvIF9fQlVHX0ZMQUdTIGluczpyZXEgZmlsZTpyZXEgbGluZTp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