Received: by 10.223.176.46 with SMTP id f43csp1063361wra; Fri, 26 Jan 2018 11:13:06 -0800 (PST) X-Google-Smtp-Source: AH8x226IH1TwrtRjwl5fIOxjD2xMAf5sC1h5JqyikV7TTlqesec5qjR2ZSCwows4gJqchz8qBdBH X-Received: by 10.99.169.26 with SMTP id u26mr16137829pge.270.1516993986469; Fri, 26 Jan 2018 11:13:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516993986; cv=none; d=google.com; s=arc-20160816; b=rqPTFCj8mhM/m6oh6dXnPEPmfDGFw01BdNOGhJ3jmxqNY1Gs9spOwsa5V++xqeaMeN 347BCdNm3UKYOn/biNDDc/zOnnIeHX3MVUTpQ7FFut9WxGs0SaKeFJiNV5Hcl8/+bABH yJtX4dW+venW59T4HfNQh0GTKXsxcMn584Myd/t8emh+RKqpjutO4zYyjWw2DF3/tUu8 yLL8+hEdkfFT75EcMkl03HfrF7mvjqomI9r/isIUwrp1BoeZx7cFOkClEtPXWIw9Qd89 05ALwuDr0NoSBMD3N9u9qOyozDQYSRKhLL1BvpY8U/EaLKip98QtTcfjzkvWLHlvLMAI Mcgw== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=nMbH4Tj46vTmQEWSfM2rznon7lNfRTSESx63Xufp49Y=; b=kyBSHW0CV6YDGodzR2LHzY2VjYYica5LdSG7nktQR2Ivy2FiOx9mdflD1XKixKm+rI RV4n4vtXD6bSnRn8gbfT3JuAg6MssmpLk3q1uSveXEZ7EEeDMQlIRrI3IeD0KWML2Rc1 EFbChfW6hqC9a3rhvP/xS9Oe9vIG0ZfsWSCex06ilbnvVKpZM0hSy3+BtlAgkuKMsmQl AR6GdDnLI7Xl0ULf60fIzxOBIkG8cx6Dmz10TPQGmT/aE0/uZXC2jC3gJ63YL89hFHFh aUhrLXJty1y9lM7akLRGo1WSAnuaAhwu2mCRJeU7XpbdCx2g5wrhswx9ExeEeJwY/XMa I/EQ== 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 p1si3348767pge.487.2018.01.26.11.12.52; Fri, 26 Jan 2018 11:13:06 -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 S1752795AbeAZTLy convert rfc822-to-8bit (ORCPT + 99 others); Fri, 26 Jan 2018 14:11:54 -0500 Received: from mga14.intel.com ([192.55.52.115]:51609 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751998AbeAZTLw (ORCPT ); Fri, 26 Jan 2018 14:11:52 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jan 2018 11:11:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,417,1511856000"; d="scan'208";a="25041153" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 26 Jan 2018 11:11:51 -0800 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 26 Jan 2018 11:11:51 -0800 Received: from crsmsx102.amr.corp.intel.com (172.18.63.137) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 26 Jan 2018 11:11:50 -0800 Received: from crsmsx104.amr.corp.intel.com ([169.254.6.222]) by CRSMSX102.amr.corp.intel.com ([169.254.2.88]) with mapi id 14.03.0319.002; Fri, 26 Jan 2018 13:11:48 -0600 From: "Hansen, Dave" To: Konrad Rzeszutek Wilk , Andi Kleen CC: Linus Torvalds , David Woodhouse , Liran Alon , Laura Abbott , Andrew Lutomirski , "Janakarajan Natarajan" , Borislav Petkov , "Mallick, Asit K" , =?iso-8859-2?Q?Radim_Kr=E8m=E1=F8?= , KarimAllah Ahmed , Peter Anvin , "Nakajima, Jun" , Ingo Molnar , "the arch/x86 maintainers" , "Raj, Ashok" , "Van De Ven, Arjan" , Tim Chen , Paolo Bonzini , "Linux Kernel Mailing List" , Peter Zijlstra , Thomas Gleixner , "Greg Kroah-Hartman" , Masami Hiramatsu , Arjan van de Ven , Tom Lendacky , "Williams, Dan J" , Joerg Roedel , Andrea Arcangeli , "KVM list" , Boris Ostrovsky 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: AQHTlksBcSzht18kd0uh99iCOBRzGaOF0WeAgABx4QCAAIhEgIAACySAgAAR3ID//5zzUQ== Date: Fri, 26 Jan 2018 19:11:47 +0000 Message-ID: <0089A7AA75120F4087B2E7CB6BF3E53442A9AA0A@CRSMSX104.amr.corp.intel.com> References: <7c0b0879-3448-43e4-8380-4708fc787113@default> <50c5d627-8975-184b-b50f-4cc02c5816c5@intel.com> <1516957886.30244.161.camel@infradead.org> <20180126175901.GL26209@tassilo.jf.intel.com>,<20180126190257.GS14668@char.us.oracle.com> In-Reply-To: <20180126190257.GS14668@char.us.oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.19.9.46] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The need for RSB stuffing in all the various scenarios and what the heck it actually mitigates is freakishly complicated. I've tried to write it all down in one place: https://goo.gl/pXbvBE