Received: by 10.223.176.5 with SMTP id f5csp3664428wra; Mon, 29 Jan 2018 17:14:06 -0800 (PST) X-Google-Smtp-Source: AH8x227uTbtIhNJmBqfD0lgQSWvln/FXWlgMKIyzhtxL0MgiUUBwyypLX4WO1NfY+qTpQg/orwTh X-Received: by 10.101.91.3 with SMTP id y3mr22763904pgq.260.1517274845997; Mon, 29 Jan 2018 17:14:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517274845; cv=none; d=google.com; s=arc-20160816; b=ixKOrUrTFqX3Z8DeUgI6L29Ho6Flne5aR3OgIUW91CdSvm9F3Y34oRzUI62HHTdSQA 4lYfSY11X8tGuDXimQ5c66feMgV6YBz22bGRaWnpGF/Gzy17GWLw8O/wC1DO+WeNXXRl Ng/mjgV76fXRYNbglxF+c/1i6bd+XBtVDG5Mp55TnCpbjQ663EtjdeDidrgEBvoKP6Tt qWhEchIDZXj8eTulhin+j1NMc2eklCAFxfZkRSi3qop5o3cUUsoq6YO53dVXrfSaZNiB OMcJPJoi9GEktfS5L273Xm6OPP4F6HZlqRX6oDnZb9MXnIxKDHat1iZyB0gaGEsGOOCQ HXxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=0B7UGzU5hVqCk0kfPGyJB4WISqPQrdDqEyB5n2VUKOY=; b=w3I6dWBoXj990rSB617Gl0BgZL4UyM3KY6WMvdKVz4/x0ls+2XJR5rwfsWLw2cxUp/ bxH09ayDnqDpHblXmfeRxXG3RCgKYP2mTkB0a4GcXo+607zmHQ0ot6dE+7v99jIXBKW7 K2lZauthceZqy4VBNIF4fv0jHLJISttmjA/dqvDfZncj3KhprPxMgqK8sLgd56OE81i/ YrhFePSAwWDDPurL/4nhokgoBQq6KcgSxbvO6BMPlwj0AmSCqO9pU4/mcIkV0MaJxJPB vGdCrzPqFPB6ztNZl/SQ0vgSINUQcXV/Vy4AccsTAknIgVRLVq+gyOLY3N+QoV8R3rY7 Xjew== 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 y128si8344860pgb.55.2018.01.29.17.13.51; Mon, 29 Jan 2018 17:14: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752189AbeA3BNC (ORCPT + 99 others); Mon, 29 Jan 2018 20:13:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42876 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752221AbeA3BNA (ORCPT ); Mon, 29 Jan 2018 20:13:00 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 34D088553F; Tue, 30 Jan 2018 01:13:00 +0000 (UTC) Received: from localhost (ovpn-116-57.gru2.redhat.com [10.97.116.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9EDB67E0A6; Tue, 30 Jan 2018 01:12:59 +0000 (UTC) Date: Mon, 29 Jan 2018 23:12:58 -0200 From: Eduardo Habkost To: Konrad Rzeszutek Wilk Cc: David Woodhouse , Arjan van de Ven , KarimAllah Ahmed , linux-kernel@vger.kernel.org, Andi Kleen , Andrea Arcangeli , Andy Lutomirski , Ashok Raj , Asit Mallick , Borislav Petkov , Dan Williams , Dave Hansen , Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , Janakarajan Natarajan , Joerg Roedel , Jun Nakajima , Laura Abbott , Linus Torvalds , Masami Hiramatsu , Paolo Bonzini , Peter Zijlstra , Radim =?utf-8?B?S3LEjW3DocWZ?= , Thomas Gleixner , Tim Chen , Tom Lendacky , kvm@vger.kernel.org, x86@kernel.org, "Dr. David Alan Gilbert" Subject: Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure Message-ID: <20180130011258.GC21702@localhost.localdomain> References: <1516476182-5153-6-git-send-email-karahmed@amazon.de> <20180129201404.GA1588@localhost.localdomain> <1517257022.18619.30.camel@infradead.org> <20180129204256.GV25150@localhost.localdomain> <31415b7f-9c76-c102-86cd-6bf4e23e3aee@linux.intel.com> <1517259759.18619.38.camel@infradead.org> <20180129214421.GW25150@localhost.localdomain> <20180129221011.GW22045@char.us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180129221011.GW22045@char.us.oracle.com> X-Fnord: you can see the fnord User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 30 Jan 2018 01:13:00 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 29, 2018 at 05:10:11PM -0500, Konrad Rzeszutek Wilk wrote: [...] > The migration code could be 'tickled' (when arrived at the destination) > to recheck the CPUID and do the alternative logic to turn the > proper bits on. > > And this tickling could be as simple as an ACPI DSDT/AML code > specific to KVM PnP devices (say the CPUs?) to tell the guest to > resample its environment? This would be nice to have for other CPU features, but if I understood a previous message from Andi on this thread correctly, it wouldn't be useful for the Spectre mitigations. -- Eduardo