Received: by 10.223.185.116 with SMTP id b49csp4140920wrg; Mon, 26 Feb 2018 11:56:05 -0800 (PST) X-Google-Smtp-Source: AH8x2262IiFPAlmqYjTswm9NtSGPXR9JhZVHatEl4sztliEVJaWFLYFNV7+tL8Q0RzAxvW8+vzcY X-Received: by 10.101.86.198 with SMTP id w6mr9233546pgs.434.1519674965297; Mon, 26 Feb 2018 11:56:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519674965; cv=none; d=google.com; s=arc-20160816; b=F1S7YAcaGNv1C7kQPjOu9m+7rRBGffnf29iLKrDaZyI34LJbs6+nxypQwTolSAkKIq 8sVs3UiSWGVnO+VN4mDHyklbRLYbignl2pKlboYhuorczWKlRhnsO0Jbv4br7rvW8e1R Ih5DvT2iYCNM4LuCVJB1esCryxJZo+mm+YZPY8ohfKv0O8f5HCNvN2kh6utxRSWgYj6Z ioeAmmbBXubMVL1e4cvMF7HRTXCD24ab82xC8UxTRFe+wdVQ5QBNtQ80SKyzSbvennO8 orDTXDm+mhRwzuHpUf0RzML7kOL7udyVFntfH7DO6PdojlcC+y3yXc3aaPtugWQWxZSv CTPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=Q+vl/GzV5x6wOhylaNQxEWv72GVcU93wPrQKuoQ/rvQ=; b=WFym2EHJueXz427NLZ7rVxubKHQtlkLQ/8RmG4ntC23TX1wUWo1bCtRnSKcs/vxHbb 3Tf3wp2DdiH2MVvHD+to8VeplVsIO8/NY6pbKf82a9wdVQXlOc/FZxfPVVLWN5qt/wn9 nbQF4YgznL/fhhcjuEPofhojb4Eiylopd9oFIUsNu+SD2cNQ+nLQm6yMaCVL2PmeVayV yfz4o3HFHLe1bRoR7ngkSTn2msxn6ke5dEjj9wPDyIKY03YOTOXTZG2gqVItCXl0gyCo Uo1cYK257EBlI7mC2AOkyny35yaxbiAb/jHGpaMXX3Bx6SNz6OkoMCS50gg4M196Fo7f TuIg== 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 x7si428538pgo.122.2018.02.26.11.55.47; Mon, 26 Feb 2018 11:56:05 -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 S1751423AbeBZTzE (ORCPT + 99 others); Mon, 26 Feb 2018 14:55:04 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:44499 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbeBZTzD (ORCPT ); Mon, 26 Feb 2018 14:55:03 -0500 Received: from p4fea5f09.dip0.t-ipconnect.de ([79.234.95.9] helo=nanos.glx-home) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1eqOnu-0003BS-06; Mon, 26 Feb 2018 20:51:18 +0100 Date: Mon, 26 Feb 2018 20:55:05 +0100 (CET) From: Thomas Gleixner To: David Woodhouse cc: karahmed@amazon.de, x86@kernel.org, kvm@vger.kernel.org, torvalds@linux-foundation.org, pbonzini@redhat.com, linux-kernel@vger.kernel.org, bp@alien8.de, peterz@infradead.org, jmattson@google.com, rkrcmar@redhat.com, arjan.van.de.ven@intel.com, dave.hansen@intel.com, mingo@kernel.org Subject: Re: [PATCH v3 2/4] x86/speculation: Support "Enhanced IBRS" on future CPUs In-Reply-To: <1519125725.7876.117.camel@infradead.org> Message-ID: References: <1519037457-7643-1-git-send-email-dwmw@amazon.co.uk> <1519037457-7643-3-git-send-email-dwmw@amazon.co.uk> <1519116825.7876.112.camel@infradead.org> <1519125725.7876.117.camel@infradead.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1732896448-1519674909=:1402" X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1732896448-1519674909=:1402 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Tue, 20 Feb 2018, David Woodhouse wrote: > On Tue, 2018-02-20 at 11:42 +0100, Thomas Gleixner wrote: > > > > > > However, Paolo is very insistent that taking the trap every time is > > > > actually a lot *slower* than really frobbing IBRS on certain > > > > microarchitectures, so my hand-waving "pfft, what did they expect?" is > > > > not acceptable. > > > >  > > > > Which I think puts us back to the "throwing the toys out of the pram" > > > > There are no more toys in the pram. I threw them all out weeks ago ... > > One option is to take the patch as-is¹ with the trap on every access. > As soon as Intel define that 'IBRS_ALL_AND_THE_BIT_IS_A_NOOP' bit in > MSR_IA32_ARCH_CAPABILITIES, *then* we can expose it to guests directly > again just as we do at the moment. Arjan, is there any update on this? Thanks, tglx --8323329-1732896448-1519674909=:1402--