Received: by 10.223.176.5 with SMTP id f5csp1636926wra; Wed, 31 Jan 2018 09:15:09 -0800 (PST) X-Google-Smtp-Source: AH8x2260+TML8tRgG1jXI8isNjGVa4aDK2Cx3tAYfdjfSzI1xif+iqk+XOG1qk2zGSpgzs6KV47E X-Received: by 10.99.95.20 with SMTP id t20mr16356753pgb.79.1517418908920; Wed, 31 Jan 2018 09:15:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517418908; cv=none; d=google.com; s=arc-20160816; b=nrfGa8z3G9yhG0iNhS5qSrWXjT2OD6+usGCOYEayCbeLPY0PHp9yqALb0hjGlKxjjm QecpgB746Pl78qxb2ahEoA91UGWnrUfhfKSv5fYitx8WfeB3/ar0ETpY+zVf2Dqom1LU lXlMovkkvZ7/jyJyHMK5JZH+QgnmHdxcJybTCgE3Kzm2XO0SJX8tTZ+kn0MdJ9GiV679 31WELyWSoGy+um9YRuGb1lLX6wqYyZXDVs2oS1imjMpOlF9KvUdklmq9L55u9e7mdLyl 0HtovtrCnKQZvfp5WPd+LyzyFzV5GY7qKmDjAgJDVFWjTgX/Axxyq27JPnH3NMEtdGN7 vy1w== 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=aJP8S0+P/p77VXrc5FVLBDCgG+BPpyKnZL5Aw2++i5w=; b=hc9Bq8Q18bjYJ27QVpbPo1bJiENeNa6C0jLH6rVrUVkGE8IXVdgwoPXt3xs5C3W6pV imtjXYQw2/dOTl7RDDzH+/0vFzuMnsmM2r3ghG5ZRVSb05HwfF4QbpUEiejKdyXcl8C8 lTJnDqLWRDWlzTjdVDW/KD5humsH/J3AjlNEUQ2TfLk4UfqegNiuON+8Md3PkqbAj0LB ABubmA2gpFlcERqnZxLw9z9ewfKYCEm1mtOlOLTmnbvm4q446zU0cF3/uI3Xll/VWY7L FR7k4t8/p2ogJTScKAix+RpYuG0rGVp+5LuW3KPlwhPY9QYbdha6fOmJLWD7wbZyiAUk kmuQ== 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 32-v6si2123908pla.96.2018.01.31.09.14.53; Wed, 31 Jan 2018 09:15:08 -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 S1753577AbeAaQ25 (ORCPT + 99 others); Wed, 31 Jan 2018 11:28:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:44995 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752265AbeAaQ24 (ORCPT ); Wed, 31 Jan 2018 11:28:56 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0B386ADC4; Wed, 31 Jan 2018 16:28:54 +0000 (UTC) Date: Wed, 31 Jan 2018 17:28:46 +0100 From: Borislav Petkov To: Eduardo Habkost Cc: "Dr. David Alan Gilbert" , Thomas Gleixner , Christophe de Dinechin , Alan Cox , Linus Torvalds , David Woodhouse , Arjan van de Ven , 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: <20180131162846.x2fnp2h3spvr5xao@pd.tnic> References: <20180130204623.583b1a7a@alans-desktop> <200C59E8-80F3-4FEC-BA3B-E6A56FA12C74@dinechin.org> <20180131110406.GB2521@work-vm> <20180131115211.2cxz2xj6elv37p6t@pd.tnic> <20180131123036.GD2521@work-vm> <20180131131834.jzown5pteqzd3xmg@pd.tnic> <20180131140449.GF2521@work-vm> <20180131144441.GK26425@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180131144441.GK26425@localhost.localdomain> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 31, 2018 at 12:44:41PM -0200, Eduardo Habkost wrote: > Also, if anybody don't like it, users can already specify, e.g., > "Broadwell,-hle,-rtm" or "Skylake,+spec_ctrl". > > QEMU only adds have the -noTSX and -IBRS CPU for convenience of > management systems that don't know how to check/configure > individual CPU features. We're working with libvirt and > OpenStack folks to make this kind of trick unnecessary. Yeah, defining separate CPU models just for that seems hacky. The +/- specification looks like the Right Thing(tm) to do. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --