Received: by 10.223.176.5 with SMTP id f5csp1303405wra; Wed, 31 Jan 2018 04:32:06 -0800 (PST) X-Google-Smtp-Source: AH8x225NVTby+dvcbPxBZc5tVsWL2ymOTJJ+WngqI3MJlZnAwnakflaPtxSm3d2uVam1NYQv6906 X-Received: by 10.99.113.11 with SMTP id m11mr26735547pgc.57.1517401926371; Wed, 31 Jan 2018 04:32:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517401926; cv=none; d=google.com; s=arc-20160816; b=zcY7R1ob7WaCKo8q7bzVckjmv+flegPEm0cTNbm8OKfJjIkqoYHe2NydhxrTj7dyNV BAnMB7/3oPr1aJgDKcY+JnOUOynKyoh90WNxULT7RWTd4rI55L+DJHN8Y8O5KUzZYxET mp6CRsZYZObHvNLp6KIgnIGuUnkpa5dUI1uMcUb4tbBdRST2/L//UluMbZbicQopiMib GdeneSVmH+vBH+G00fffyjFRkoCeRuGjXSrsiQUKVvEMLuj6wxP575KYDiRJg+ba/NDu trKXjOILToddoKs/i/y8q6dR42itVTg8yq/AeOaGC02P/uBnJzApS41XJxVWSMYn9pmi IgRA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=Qf4GLMSXNT13KbUMkKBrz/G6hEqancG+iwYZY58JxtE=; b=bRACP+3YAHN0jqezKA7C28UOccsSQjxCVByqz+K2qf+ACqw7v/nO3kpaLhY4pk1hyH 5jrCEwwNfqWLOu7Br3rbY8obMeu2+vBOPfMMd7aDt758aZshDJBP+KnqHoaj/enQx3uI z0C7qF8z8/yf26IFT41Fn8wYAtVLxe56Fjb/IUUH9JTdf7cPYqT8KIrdDyMKEgbZwH7O HKRCUlt2ePRCMXx9DUkQdLWv1ofs34uU42GEPPMwcpKRuzj3PJNJFgbVFJjYEOAbxdxR WjcWBzUyZ3kzdZ/62MeEdYembHHWzPnFN8hsGjHjfKhx/FZVyEVMmqelgkdYgsIZI56z YrrQ== 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 a1-v6si6143724plt.588.2018.01.31.04.31.51; Wed, 31 Jan 2018 04:32:06 -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 S1753234AbeAaMa4 (ORCPT + 99 others); Wed, 31 Jan 2018 07:30:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49508 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752273AbeAaMay (ORCPT ); Wed, 31 Jan 2018 07:30:54 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A68873AA15; Wed, 31 Jan 2018 12:30:53 +0000 (UTC) Received: from work-vm (ovpn-116-205.ams2.redhat.com [10.36.116.205]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 58CC118796; Wed, 31 Jan 2018 12:30:39 +0000 (UTC) Date: Wed, 31 Jan 2018 12:30:36 +0000 From: "Dr. David Alan Gilbert" To: Borislav Petkov Cc: Thomas Gleixner , Christophe de Dinechin , Alan Cox , Linus Torvalds , David Woodhouse , Arjan van de Ven , Eduardo Habkost , KarimAllah Ahmed , Linux Kernel Mailing List , Andi Kleen , Andrea Arcangeli , Andy Lutomirski , Ashok Raj , Asit Mallick , Dan Williams , Dave Hansen , Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , Janakarajan Natarajan , Joerg Roedel , Jun Nakajima , Laura Abbott , Masami Hiramatsu , Paolo Bonzini , Peter Zijlstra , Radim =?utf-8?B?S3LEjW3DocWZ?= , Tim Chen , Tom Lendacky , KVM list , the arch/x86 maintainers Subject: Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure Message-ID: <20180131123036.GD2521@work-vm> References: <1517257022.18619.30.camel@infradead.org> <20180129204256.GV25150@localhost.localdomain> <31415b7f-9c76-c102-86cd-6bf4e23e3aee@linux.intel.com> <1517259759.18619.38.camel@infradead.org> <20180130204623.583b1a7a@alans-desktop> <200C59E8-80F3-4FEC-BA3B-E6A56FA12C74@dinechin.org> <20180131110406.GB2521@work-vm> <20180131115211.2cxz2xj6elv37p6t@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180131115211.2cxz2xj6elv37p6t@pd.tnic> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 31 Jan 2018 12:30:54 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Borislav Petkov (bp@suse.de) wrote: > On Wed, Jan 31, 2018 at 11:04:07AM +0000, Dr. David Alan Gilbert wrote: > > That half is the easy bit, we've already got that (thanks to Eduardo), > > QEMU has -IBRS variants of CPU types, so if you start a VM with > > -cpu Broadwell-IBRS > > Eww, a CPU model with a specific feature bit. I hope you guys don't add > a model like that for every CPU feature. Indeed, it's only for this weird case where you suddenly need to change it. Dave > -- > Regards/Gruss, > Boris. > > SUSE Linux GmbH, GF: Felix Imend?rffer, Jane Smithard, Graham Norton, HRB 21284 (AG N?rnberg) > -- -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK