Received: by 10.223.185.116 with SMTP id b49csp3474049wrg; Tue, 13 Feb 2018 02:58:18 -0800 (PST) X-Google-Smtp-Source: AH8x226q8jDnyHMvGt+u5fbN0LDjKvru7Oq/1Wfumtks+dabwvqr+Vl4kAZZvxBW8wTrJM7+TuPW X-Received: by 10.98.29.137 with SMTP id d131mr849775pfd.51.1518519497939; Tue, 13 Feb 2018 02:58:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518519497; cv=none; d=google.com; s=arc-20160816; b=eAjS1wxQzMWgQiYmlNWi0W/xZ/un5Fk6xxCXaR2Q0Lc8Wg1r+PCl+JAmJGT3jLSzcu 6rQY7ZheyhFY+rIXO5bIUYuiWsVLjHL9YsT08mgfTWuGkNMB9vW0Ma0QziSxTQcToSWB tlsEgdVptCwCrQNovVLjufFbbpeDLrkH9DzguCQYs/UqsPNOiFlagCV8/L2A7WTN0dfA snpTMi4BQoZ4/QluK2SMc6f0zej8agYq7A4NUm/ghosU/olDoMV6qxdCUQvBVJPAggEW JqXBAkF9cGpn7FDZjow+eUKlyXLp285L1P3puP2pMomXEY2al44ks96vyDe4ae3qyqRr 3T3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:arc-authentication-results; bh=dqzKqLUGT25hOAN9Bcqrwtr6ZN9tSLApfV6oXezsCZg=; b=ZLSOgBJ9XNvmKbWB0CpGflxhY3i+ML5WHJT5vawGxDeEo5q4Hju6A/iuzeo00qiwbV wyrJbaHOP9zaQOIKhygTlU7Q2TWrWP/14f/6F313rW1n5YAdERFlZ0c9ux4V/yev4jAj 8k5fV8SAjUKAs8xNgXJRgz0ju55rKJF8v1EfaSRxH/hADcmqEvr3p6n0mwnbAQ6QDlLQ o8vV5vv4Qcm7cWh0kHjbJOMezRvB9XO4VIed3DgCoaKGoYAgxD/n0s2hDdgcJiso/hzN Nihb26tkheNg2LEBeKmAYZS0svBtmN5nlVRaoz9cYcgNq2vdbCsEVMk7RIcXpBKqq7bS O4XA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r81si1475278pfi.239.2018.02.13.02.58.03; Tue, 13 Feb 2018 02:58:17 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934449AbeBMKz6 (ORCPT + 99 others); Tue, 13 Feb 2018 05:55:58 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:45248 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934011AbeBMKz4 (ORCPT ); Tue, 13 Feb 2018 05:55:56 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 20E684040852; Tue, 13 Feb 2018 10:55:56 +0000 (UTC) Received: from [10.36.116.223] (ovpn-116-223.ams2.redhat.com [10.36.116.223]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9DE802026DFD; Tue, 13 Feb 2018 10:55:54 +0000 (UTC) Subject: Re: [PATCH 2/2] x86/speculation: Support "Enhanced IBRS" on future CPUs To: David Woodhouse , tglx@linutronix.de, x86@kernel.org, kvm@vger.kernel.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, arjan.van.de.ven@intel.com, dave.hansen@intel.com References: <1518449255-2182-1-git-send-email-dwmw@amazon.co.uk> <1518449255-2182-2-git-send-email-dwmw@amazon.co.uk> <7e2e5ad1-49b6-1fdb-4a62-8ad6aefc30a0@redhat.com> <1518509708.12890.33.camel@infradead.org> <27c85759-e662-d281-f8a0-0a80ca8ee18f@redhat.com> <1518517262.12890.43.camel@infradead.org> <1518518198.12890.48.camel@infradead.org> <02bd3fdd-1b73-6cab-fb09-38ba933396bd@redhat.com> <1518519234.12890.58.camel@infradead.org> From: Paolo Bonzini Message-ID: Date: Tue, 13 Feb 2018 11:55:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1518519234.12890.58.camel@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 13 Feb 2018 10:55:56 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 13 Feb 2018 10:55:56 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'pbonzini@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/02/2018 11:53, David Woodhouse wrote: >> You have my vote. :)  Really, IBRS_ALL makes no sense and it would be >> nice to know _why_ Intel is pushing something that makes no sense. > No, IBRS_ALL *does* make sense. It's not a complete fix, but it's as > much of a fix as they should shoe-horn into the generation of CPUs > which are currently going to the fabs. > > With IBRS_ALL they presumably add tags to the predictions with the VMX > mode and ring, to give complete protection against predictions being > used in a more privileged mode. Yeah, but I still don't get why they need an MSR to turn those tags on. Is it basically a chicken bit in the wrong direction? Paolo