Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4592339imm; Fri, 18 May 2018 07:36:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpDCR8s6OSZ+l78UFDlIb1uuUuFPr96J3qzqJB8PJUOKr64wA/+hesuuhs61FjR4l9DLcvP X-Received: by 2002:a17:902:aa98:: with SMTP id d24-v6mr9767259plr.185.1526654210507; Fri, 18 May 2018 07:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526654210; cv=none; d=google.com; s=arc-20160816; b=mu7SFCqDMIGrwmB+TZ/NS304jtHQWlmSQBySeN2D7qKGiQ6Ks+Wa/Y9DmSLObPR+Zp lmQia2lOrhjpVeDdTf3Pzgy8/QgQYVNx8wRlcjnwcm/rbcCZfc5/OepIm1+VjyWzO7zI P7c0kCCzc0Ezjb28JovYIOdO7Niqp4etnOP/QsHTeaORNC8z+olFzI/4H9eVsYEnkQrT DTOK0/870c0ESvGPNm32a2elBJoVFzZQ9NP3tQ5ILKKzg0qlIvJLuvMZ7L5WYfD7hJxl E+8Yh/s3zYiIQ4EGIH+ezChi8HAAthrgKQdYVm5QFtA4boQ73j2++maKFuADgesjmi4H cd6g== 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=xKH6jCiekz+GuOCxI8HfT2BHZNMpUQwJdczsKZE/g6w=; b=Qc4fYs8B6FJ61S3aXwimMpKM/tiPf+nbNuDULPN7Rg7Bijr1wEyvnsWiXBhaHZeBDJ dizdHROw6fYs9eXDbEDm5CF2Us9Iqem6jdY1COvtIq27J+zRz/62mGQjum8Pjxy/m2J8 Z7Lmj944JXckYdJT7RlvOaf4U5+2fbyJ5t0TwtgLPe0VMbd6lzZt23gSI7kZqPytNtom qjLsAv6moWUR5GBrXFh8KHn2q/7NuKFJb7wKTIheww+KLSANtPlAV23i+UEouva5x5Pm P6zTQQQ5vogXr8DZoBbH/l2htUhfXNkspXlQLkRFTR58uJVd764mP1kHpTCm3G3QlQ1K pnuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@onevmw.onmicrosoft.com header.s=selector1-vmware-com header.b=oubqd+kG; 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 i62-v6si7853637pfg.218.2018.05.18.07.36.35; Fri, 18 May 2018 07:36:50 -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=oubqd+kG; 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 S1751746AbeEROg0 (ORCPT + 99 others); Fri, 18 May 2018 10:36:26 -0400 Received: from mail-by2nam01on0086.outbound.protection.outlook.com ([104.47.34.86]:56688 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750957AbeEROgY (ORCPT ); Fri, 18 May 2018 10:36:24 -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=xKH6jCiekz+GuOCxI8HfT2BHZNMpUQwJdczsKZE/g6w=; b=oubqd+kG8V+oipfO9XPREA4RLM/pukrm7akrDIuAHTKMW28H3upXgX2bxEsErLDw2VnHRgYykvXXNip9MesGydJDAihGG4DI0jFiG9dOo42DuS8Azi0TB3FWrAdfTpf4y+5Ja3jvam58K39qGA5HSKdp4qTbR1ducEoMB+vdG44= Received: from SN2PR05MB2654.namprd05.prod.outlook.com (10.166.212.137) by SN2PR05MB2768.namprd05.prod.outlook.com (10.167.19.137) 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:36:21 +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:36:21 +0000 From: Nadav Amit To: Borislav Petkov CC: Ingo Molnar , Peter Zijlstra , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Josh Poimboeuf , Linus Torvalds , Andy Lutomirski , Peter Zijlstra , Denys Vlasenko Subject: Re: [PATCH 2/6] x86: bug: prevent gcc distortions Thread-Topic: [PATCH 2/6] x86: bug: prevent gcc distortions Thread-Index: AQHT7jbL50o+w3m6PkeKHm2HX6GyP6Q1H7KAgAAEMwCAACDIAIAAShCA Date: Fri, 18 May 2018 14:36:21 +0000 Message-ID: References: <20180517161402.78089-1-namit@vmware.com> <20180517161402.78089-3-namit@vmware.com> <20180518075853.GD12217@hirez.programming.kicks-ass.net> <20180518081354.GA11379@gmail.com> <20180518101114.GB17285@pd.tnic> In-Reply-To: <20180518101114.GB17285@pd.tnic> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [208.91.2.2] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SN2PR05MB2768;7:EeNHce8leZeAztEyx7KnKAdZlcCB0jsFQglHC/AUHr0cqthhXOX9mUXXVIqO0T+n6cb+s2A+QeDy3EM9Iqium6vQo2WFF4hIeq2D9OvEM12I18DJaIY6/GB1Huh7tXn5jfq/JqRrR/V73oueq8rUygio1AXCcAyGE17xn6K9RAW5BNPyZ3cZ0xDN648pPUzOP+8u+Rso851+J8QYxvx3HdJS5tIG+EO538p74ouEXvfe/Z1PFpWvmyUSX5mOsvAM;20:DYyMlYQ/YsuM0D9EECkfHoRe5FHVFpm0W86NtdlZ8IPVXYNeJrAQA439lmO4yQXbaGlfhpEYSmmFPomPIqO5kleDEir1Q3tTFfIwB4sO5O4pwv/0KQWiGiZGD4WPvu+j9aR4HCs9pv0dqYkyX5kWc0+j05MP2zUEB7qa9ZLwht4= 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:SN2PR05MB2768; x-ms-traffictypediagnostic: SN2PR05MB2768: authentication-results: spf=none (sender IP is ) smtp.mailfrom=namit@vmware.com; 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)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(10201501046)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:SN2PR05MB2768;BCL:0;PCL:0;RULEID:;SRVR:SN2PR05MB2768; x-forefront-prvs: 0676F530A9 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(346002)(396003)(39380400002)(376002)(366004)(199004)(189003)(6506007)(82746002)(446003)(186003)(86362001)(59450400001)(26005)(106356001)(476003)(2616005)(97736004)(66066001)(6436002)(53936002)(76176011)(54906003)(6512007)(36756003)(83716003)(102836004)(14454004)(486006)(11346002)(6246003)(105586002)(3660700001)(25786009)(8676002)(4326008)(5660300001)(3280700002)(6916009)(99286004)(2906002)(2900100001)(3846002)(68736007)(478600001)(6116002)(316002)(93886005)(305945005)(7736002)(8936002)(7416002)(33656002)(6486002)(229853002)(81156014)(81166006)(5250100002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN2PR05MB2768;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: v052rasSjD9z6+El83a8++vSXp8btiv1hLjbFJZDxByOgre7nWZRdfRDa05DcKu3Dw3D6gfo1wXDp3rel9k4edZa+F3vtgqEbS6XI1QL3xpvUTUW+T/NnbrB7QkTYBouWTg0VBGw8yw0UKTHeXAF2k4IJp/QKc3rtnGIKfAKNhH40SVYQNvVgKHjEHKPegUH spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <2EE64001B38820438DDF562ABAE60E06@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 70b7ad33-870c-4a32-fb95-08d5bcccb9a9 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70b7ad33-870c-4a32-fb95-08d5bcccb9a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2018 14:36:21.5662 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR05MB2768 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Qm9yaXNsYXYgUGV0a292IDxicEBhbGllbjguZGU+IHdyb3RlOg0KD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