Received: by 10.223.176.46 with SMTP id f43csp149579wra; Tue, 23 Jan 2018 18:00:33 -0800 (PST) X-Google-Smtp-Source: AH8x22442XTPRecTkD8tp4bkkSREP8KvzZAuKqcqpzHlu/cXWg3Wuw8BJAAAWQt3zi8VOduZ+EEf X-Received: by 10.98.29.2 with SMTP id d2mr11687113pfd.204.1516759233545; Tue, 23 Jan 2018 18:00:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516759233; cv=none; d=google.com; s=arc-20160816; b=bweOdaktX/UTIVToyRM/ArODesvOklcw0uI+GvyuMBfkALsfmYmg1nzOGcSl7ag4ki PPyPVdYGkAeXxZdWzP/Z3MiPHdlre+K8EeYF5RP1u2MEagZucwZopJNYJou/ukpwiw6I ow0oeeJKGaidbTfL6HF94WSBtTo4XUB68BPobQ1Zty4ZvM3cCOOgGnowRmpoGKI4Djpe GpfJKo2ZtBvk54fWj6+ja+pBAm+YD3SzPbQQpB43ne/2Y5iakDaGWOI3cNaoqOuhNd+2 YCo+NIcqSfrR7mrzFhd+Me+WS2gZ36x7xIrFMkBRHBEl5O4CdvOJrXj7Sq/LGnFvP1pq 3RJA== 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 :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=QWC9/vWtIwFAF7C/cqC1RbcDLpVTRInW8xUFTdBSVTI=; b=c8kQjcB0hEKXIzE6+KyKG/ULEf8YNv0WddYkatOzxMKbb7UGNwGFR1q6WHQPgeArAS wSc6+8xj0jer9nYXlxIAAlTsNdrG7Acxac/eq/8LkjaxteSD1W4eg9xjZ0gEAIQMvx/i PyrZHd22aEcWb0j1hIztu7qkfIgatpEVUZfO4e1C3LUmxdfkJTULumxW8NfoxeB5cL2P UFI1fLi8ANzZaXFXAmPkn4aLNKuqC7Hi+r8b+sYL6/WsX+fyqQDsYojjc55kCulGvC+8 jEkP30+cfiiQwyaHqQaV9JAXdrvFDXBSp5+fIJYRTa9UcnLORv9DfXlr1vyX/lkgh+Aw rPew== ARC-Authentication-Results: i=1; mx.google.com; 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 p6si4918988pgd.282.2018.01.23.18.00.19; Tue, 23 Jan 2018 18:00:33 -0800 (PST) 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; 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 S1752170AbeAXB7x (ORCPT + 99 others); Tue, 23 Jan 2018 20:59:53 -0500 Received: from mga07.intel.com ([134.134.136.100]:37807 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751834AbeAXB7v (ORCPT ); Tue, 23 Jan 2018 20:59:51 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2018 17:59:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,404,1511856000"; d="scan'208";a="22093169" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by FMSMGA003.fm.intel.com with ESMTP; 23 Jan 2018 17:59:49 -0800 Received: from orsmsx157.amr.corp.intel.com (10.22.240.23) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 23 Jan 2018 17:59:48 -0800 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.121]) by ORSMSX157.amr.corp.intel.com ([169.254.9.138]) with mapi id 14.03.0319.002; Tue, 23 Jan 2018 17:59:48 -0800 From: "Van De Ven, Arjan" To: Andy Lutomirski , Tim Chen CC: "Woodhouse, David" , Andi Kleen , Tom Lendacky , KarimAllah Ahmed , LKML , Andrea Arcangeli , Arjan van de Ven , "Raj, Ashok" , "Mallick, Asit K" , Borislav Petkov , "Williams, Dan J" , "Hansen, Dave" , Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , Janakarajan Natarajan , Joerg Roedel , "Nakajima, Jun" , Laura Abbott , Linus Torvalds , Masami Hiramatsu , Paolo Bonzini , Peter Zijlstra , =?utf-8?B?UmFkaW0gS3JjbcOhcg==?= , Thomas Gleixner , kvm list , X86 ML Subject: RE: [RFC 09/10] x86/enter: Create macros to restrict/unrestrict Indirect Branch Speculation Thread-Topic: [RFC 09/10] x86/enter: Create macros to restrict/unrestrict Indirect Branch Speculation Thread-Index: AQHTkiQ3amtW3XWkV0av02jLRK9w2qN/OeaAgALx8wCAAAJIAIAAaTmAgAADdACAAAbkAIAAGfwAgAADsYD//4jywA== Date: Wed, 24 Jan 2018 01:59:47 +0000 Message-ID: <0575AF4FD06DD142AD198903C74E1CC87A5F0AC5@ORSMSX103.amr.corp.intel.com> References: <1516476182-5153-1-git-send-email-karahmed@amazon.de> <1516476182-5153-10-git-send-email-karahmed@amazon.de> <243BE571-AF73-44B3-8D17-193F9E07686A@amacapital.net> <4e01a7a9-29e4-adcc-3f53-550fb7f3d370@amd.com> <1516724457.9521.156.camel@amazon.co.uk> <20180123224956.GQ7844@tassilo.jf.intel.com> <1516749276.13558.25.camel@amazon.co.uk> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+ID4gSXQgaXMgYSByZWFzb25hYmxlIGFwcHJvYWNoLiAgTGV0IGEgcHJvY2VzcyB3aG8gbmVl ZHMgbWF4IHNlY3VyaXR5DQo+ID4gb3B0IGluIHdpdGggZGlzYWJsZWQgZHVtcGFibGUuIEl0IGNh biBoYXZlIGEgZmx1c2ggd2l0aCBJQlBCIGNsZWFyIGJlZm9yZQ0KPiA+IHN0YXJ0aW5nIHRvIHJ1 biwgYW5kIGhhdmUgU1RJQlAgc2V0IHdoaWxlIHJ1bm5pbmcuDQo+ID4NCj4gDQo+IERvIHdlIG1h eWJlIHdhbnQgYSBzZXBhcmF0ZSBvcHQgaW4/ICBJIGNhbiBlYXNpbHkgaW1hZ2luZSB0aGluZ3Mg bGlrZQ0KPiB3ZWIgYnJvd3NlcnMgdGhhdCAqZG9uJ3QqIHdhbnQgdG8gYmUgbm9uLWR1bXBhYmxl IGJ1dCBkbyB3YW50IHRoaXMNCj4gb3B0LWluLg0KDQpldmVudHVhbGx5IHdlIG5lZWQgc29tZXRo aW5nIGJldHRlci4gUHJvYmFibHkgaW4gYWRkaXRpb24uDQpkdW1wYWJsZSBpcyB1c2VkIHRvZGF5 IGZvciB0aGluZ3MgdGhhdCB3YW50IHRoaXMuDQoNCj4gDQo+IEFsc28sIHdoYXQncyB0aGUgcGVy Zm9ybWFuY2UgaGl0IG9mIFNUSUJQPw0KDQpwcmV0dHkgc3RlZXAsIGJ1dCBpdCBkZXBlbmRzIG9u IHRoZSBDUFUgZ2VuZXJhdGlvbiwgZm9yIHNvbWUgaXQncyBjaGVhcGVyIHRoYW4gb3RoZXJzLiAo eWVzIEkgcmVhbGl6ZSB0aGlzIGlzIGEgdmFndWUgYW5zd2VyLCBidXQgdGhlIHJhbmdlIGlzIHJl YWxseSBmcm9t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