Received: by 10.223.185.116 with SMTP id b49csp534299wrg; Tue, 20 Feb 2018 03:44:38 -0800 (PST) X-Google-Smtp-Source: AH8x225wnM3M36Q6wvMJORphSedEts/Po04HhQy1wzUJ9ehH2ItpS+R2ZCZHBf0dXlyuRBOxL2RN X-Received: by 2002:a17:902:2e03:: with SMTP id q3-v6mr17466416plb.362.1519127078515; Tue, 20 Feb 2018 03:44:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519127078; cv=none; d=google.com; s=arc-20160816; b=YazAefy7PevRZnxfEn/Yx8tgQx9Uiyih6Dnp9JisCFMmWiuVNFnTHPefUOTIYE28Zf ZxtCwGYqn4Mgj0voWqEzX+7WHN1LM9Zadj78vdUZ2vI968jANA/p6hBcwqH/sNtG6Bkb wYtfD+WwTTJSx4SQiAp99rIu/T3TbWcpMO94hISAUHkSJP21Yv2asPUKh+VrpcYOwKAm gwanr5F+JNWHjlmJ+ibdSbafn21nPjSRSb4KAy9azoPjxXxo2jiukpZxQVBn0Ytc3cc1 zM+tf7kjJmNlSkguAJnKzMCD9zkezX4dsllnipG/IOukVgnZ/NkLBuCm7DEq3Sfd/1uo 9pLw== 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:cc:to:subject:arc-authentication-results; bh=+pYVzp0zAl31vk0TjNhPiyM+F5khDVltmjAl1uIZ3lI=; b=BrvCSo3fEVJTyMrznSvwJJTWCwbwi9KORMxr0JHYTB3O+OYxgmg7lSGdUylJx/9jrU l9LcUd7M9apQunQZw99F9TisFsXNQ2zjuVe8Dq6zC5HMa0zgVcDzHVp9orRBJyV33TiP AZG5ySMIkzNCbWgatQ1bjAH7+1+X6C4YAYiMvGzw98eQHEQ2gP2Lurtsivvcl9Yg188z 39SycfmPVqWIWmHuT0L+bzRBE4V8NO+KYl+VCXkovyJHWldiIYIcJrhmM0gHdWCq4IwX gyakKP7kwME5HT3vkUGfyO8R2FGfk6ijV2mtgylYEU620F7S2SFUPRCSU8LHGSw+M1DP N8YQ== 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 v20si6448178pgc.137.2018.02.20.03.44.22; Tue, 20 Feb 2018 03:44:38 -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 S1751516AbeBTLnm (ORCPT + 99 others); Tue, 20 Feb 2018 06:43:42 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43932 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750710AbeBTLnl (ORCPT ); Tue, 20 Feb 2018 06:43:41 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3DC4B80401C1; Tue, 20 Feb 2018 11:43:40 +0000 (UTC) Received: from [10.36.118.42] (unknown [10.36.118.42]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4303E1C705; Tue, 20 Feb 2018 11:43:38 +0000 (UTC) Subject: Re: [PATCH 2/2] x86/speculation: Support "Enhanced IBRS" on future CPUs To: "Van De Ven, Arjan" , "valdis.kletnieks@vt.edu" Cc: Jon Masters , David Woodhouse , "tglx@linutronix.de" , "x86@kernel.org" , "kvm@vger.kernel.org" , "torvalds@linux-foundation.org" , "linux-kernel@vger.kernel.org" , "Hansen, Dave" , Ingo Molnar 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> From: Paolo Bonzini Message-ID: Date: Tue, 20 Feb 2018 12:43:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <0575AF4FD06DD142AD198903C74E1CC87A619255@ORSMSX103.amr.corp.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 20 Feb 2018 11:43:40 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 20 Feb 2018 11:43:40 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.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 20/02/2018 01:00, Van De Ven, Arjan wrote: >>> the guest is not the problem; guests obviously will already honor >>> if Enhanced IBRS is enumerated. The problem is mixed migration >>> pools where the hypervisor >>> may need to decide to not pass this enumeration through to the >>> guest. >> For bonus points: What should happen to a VM that is live migrated >> from one hypervisor to another, and the hypervisors have different >> IBRS support? > > Doctor Doctor it hurts when I do this.... > > Migration tends to only work between HV's that are relatively > homogeneous, that's nothing new... No Arjan, this is just wrong. Well, I suppose it's right in the present tense with the IBRS mess on Skylake, but it's _not_ been true until last year. Paolo