Received: by 10.223.185.116 with SMTP id b49csp1065538wrg; Fri, 16 Feb 2018 11:48:24 -0800 (PST) X-Google-Smtp-Source: AH8x224pXWYM4CrKekWHBlqgd/lcdOH7FulHvZRvkBE8qqIoZazNI9rLOW1VeGiR99lXF5RDW/Zt X-Received: by 2002:a17:902:328:: with SMTP id 37-v6mr6924361pld.398.1518810503964; Fri, 16 Feb 2018 11:48:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518810503; cv=none; d=google.com; s=arc-20160816; b=ON1VShZm1fCOrBY/JUyAEAgzZOS91PIEVuIBpSb8L0a1TB0naT58MAsYq95T2NUKI2 1ncwGBjPsH7ceNCeVhGdgtrUJP+LvjkupT09xztRHTKHZ244G8zOk13wLCGN335QtghR RD/JlCGJcsmFuZtyXbo1lfHod0DOMQKdQL2IiE4KTRAOsG13X4DZqskKBpIHdpNO/xOG ZOmwbQJgF5AZ8XGd4dbhQzkfrfBfA6FVjxdplPzhIIVUWjMCSLvI8tU03CpjgAMMISMd eyKqlPXKxNPKu5EwEFlpZJ6dMwNpK0+9Kb1j6mEunj+LWnNsauXIxvv0RZzXj2SkPSe7 qR5w== 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=rdwh/m07IPZHRS91jU42oWhhqdviohtiHozSq/i2Xro=; b=IHopf3WRknolmwuBEXrzE5vVB0yZWmcDc9uFCh1i6m62o9NJGsLEYxhU3f9aLDkj/a pUz7dSei10rApFmwhbVpDZ0SuPHdbel49au7MflYebG3dxINSaZhPwdjUGM4raRpqSdn LZhISuJOpCHsSb9cJnofQZEJo4FCRJOplWDAMyywozayFTDaqR5eT3UXL0PO0peJVgqe P2b4i0HGkduf2zxbKI9edRge4uGsrhSy91AItEImjKNGuCW3Zaaw7o4D5CF+V9RXN0Xu gZA4GhJqOrDruEWsPlv02tWe6Y0KoFbnfglSk0aUe1/NkHssQLiZkbtXSsXa0bkwkFy/ vfxQ== 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 p18si7295054pge.487.2018.02.16.11.48.08; Fri, 16 Feb 2018 11:48:23 -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 S1750975AbeBPTra (ORCPT + 99 others); Fri, 16 Feb 2018 14:47:30 -0500 Received: from mga17.intel.com ([192.55.52.151]:33769 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbeBPTr2 (ORCPT ); Fri, 16 Feb 2018 14:47:28 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2018 11:47:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,520,1511856000"; d="scan'208";a="20762629" Received: from avandeve-mobl.amr.corp.intel.com (HELO [10.24.10.79]) ([10.24.10.79]) by fmsmga002.fm.intel.com with ESMTP; 16 Feb 2018 11:47:27 -0800 Subject: Re: [RFC][PATCH] x86: proposed new ARCH_CAPABILITIES MSR bit for RSB-underflow To: Linus Torvalds , Dave Hansen Cc: Linux Kernel Mailing List , Thomas Gleixner , One Thousand Gnomes , Rik van Riel , Josh Poimboeuf , Tom Lendacky , Peter Zijlstra , Jiri Kosina , Andy Lutomirski , Kees Cook , Greg Kroah-Hartman , Paul Turner , David Woodhouse , the arch/x86 maintainers , Andi Kleen , Tim Chen , Dan Williams , "Mallick, Asit K" References: <20180216191755.6F62DDEA@viggo.jf.intel.com> From: Arjan van de Ven Message-ID: <768f3a56-28b0-91a1-f555-94e64a146abc@linux.intel.com> Date: Fri, 16 Feb 2018 11:47:27 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/16/2018 11:43 AM, Linus Torvalds wrote: > On Fri, Feb 16, 2018 at 11:38 AM, Linus Torvalds > wrote: >> >> Of course, your patch still doesn't allow for "we claim to be skylake >> for various other independent reasons, but the RSB issue is fixed". > > .. maybe nobody ever has a reason to do that, though? yeah I would be extremely surprised > > Who knows, virtualization people may simply want the user to specify > the model, but then make the Spectre decisions be based on actual > hardware capabilities (whether those are "current" or "some minimum > base"). once you fake to be skylake when you're not, you do that for a reason; normallyt that reason is that you COULD migrate to a skylake. (and migration is not supposed to be visble to the guest OS) and at that point you are a skylake for all intents and purposes. (and the virtualization people also really hate it when the hardware burst the bubble of this fakeing hardware to be not what it is)