Received: by 10.223.185.116 with SMTP id b49csp79256wrg; Mon, 19 Feb 2018 17:09:20 -0800 (PST) X-Google-Smtp-Source: AH8x226BvVVkYIdoAfH+/BW1MqOzCdaN12D3eyIUp3MZNJSw3IE3gPrIFg9GDffC8LpzCHtH2oru X-Received: by 10.98.6.4 with SMTP id 4mr16342246pfg.181.1519088960214; Mon, 19 Feb 2018 17:09:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519088960; cv=none; d=google.com; s=arc-20160816; b=u9UpCGu++6UKLXYr7StwvOX7QQ/Cb/QESOUZUZLNq4cQQUnmrgJHtW/ExCBEBSaXZc TfNukGAxFDJ2wc92PovXUe1o0+ah3pq2AILFYTzg7h8mwOHg1SD8/NxyIrkVmlpiptKp ua7rClk/DzRmzwboymMLWsoSO53WYwmaJ2QziYnbhLtpD0UBd1IMX3kSvBkorrwRryyH rK3dAxwBaNcY5MkVegzqCo7gcPSaLYIwgJTI0UsleI7CZtPr3okuuObfEt1XRPovyxH+ B3q+GAFCLyvrMJAd8d1o3RMPz7CD+0sRTAS+O1c96C+VT/jo/DzO79SrEf086ll5yNnG m61A== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=SHxzL4s8sKvcEKgQyyzT6BKmICCsxiRsoTqQwEXdccs=; b=T5opymOdWIq3gp7Sp/aowonXKoTkxtbKAi/3oTAapSKxkaNQALPppJYspYO3ML6eBZ 4BgfzEg3xP85VSBM39fEDJcVwCT0b0yfKhinAJv8GaTU5pdm/7Yu4Xe5ngjO9oiAdd9g X/lxlF6Xtl1wW6huxptMQgoeSq0ValXdURM7OKb6WlmpxlsiBcpqa44500RJlRFaG09f T/uDkdUwMDVz74x4cEODKcHzkxAM3l+wUM8bICOUbggAZy5wRgQYQD0JpR63h6A7MDI1 z/PfG7CVEWfjQQUJUmJ4vx78jfigKKHxQI4bcEwsUHDrTO5wnLc/dlQqyGIJUaUR2vuS VQ7A== 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 d37-v6si5168529plb.58.2018.02.19.17.09.03; Mon, 19 Feb 2018 17:09:20 -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 S932318AbeBTBDv (ORCPT + 99 others); Mon, 19 Feb 2018 20:03:51 -0500 Received: from www.llwyncelyn.cymru ([82.70.14.225]:33108 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932237AbeBTBDt (ORCPT ); Mon, 19 Feb 2018 20:03:49 -0500 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w1K13KYf010353; Tue, 20 Feb 2018 01:03:20 GMT Date: Tue, 20 Feb 2018 01:03:19 +0000 From: Alan Cox To: Linus Torvalds Cc: "Van De Ven, Arjan" , "valdis.kletnieks@vt.edu" , Jon Masters , David Woodhouse , Paolo Bonzini , "tglx@linutronix.de" , "x86@kernel.org" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Hansen, Dave" , Ingo Molnar Subject: Re: [PATCH 2/2] x86/speculation: Support "Enhanced IBRS" on future CPUs Message-ID: <20180220010319.19c60053@alans-desktop> In-Reply-To: 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> <1518775136.7876.13.camel@infradead.org> <75287047-77a0-e0ff-c2e8-61c81641251e@redhat.com> <1518776517.7876.21.camel@infradead.org> <1518783021.7876.34.camel@infradead.org> <4882860e-23c5-75b3-ac02-c700f615156e@jonmasters.org> <0575AF4FD06DD142AD198903C74E1CC87A61923C@ORSMSX103.amr.corp.intel.com> <10373.1519084385@turing-police.cc.vt.edu> <0575AF4FD06DD142AD198903C74E1CC87A619255@ORSMSX103.amr.corp.intel.com> <20180220001301.70101e1d@alans-desktop> Organization: Intel Corporation X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Feb 2018 16:43:50 -0800 Linus Torvalds wrote: > On Mon, Feb 19, 2018 at 4:13 PM, Alan Cox wrote: > > > > In theory there's nothing stopping a guest getting a 'you are about to > > gain/lose IBRS' message or having a new 'CPU' hotplugged and the old one > > removed. > > I'm not convinced we handle the case of hotplug CPU's with different > CPU models correctly. We don't. And even if we did the user space doesn't. It would be a painful task to resolve. Alan