From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x224kLf2UJfaNgw9LPFy9SZYuv+sccK6Eu0ISJdDz89BKCyV/3utU8+53ovduT3QFm/UYLRRf ARC-Seal: i=1; a=rsa-sha256; t=1517399541; cv=none; d=google.com; s=arc-20160816; b=DkGzpgtw+RK1FLUg2t7F54Q53qNwOKErhBQINMyWl62TZEItlVOlWAHqjgiw5XCE2e BazSNVAvRV4oOtj4p7Pbhq/ZvaPKFkcvsCSl3SZ98RGsq+El152OzUZ2VfrbdUoQ5PB2 04XEUtFQTR8HSyPTAmVxsQSVVjNAaD6liS2yycRcIFbbrFVRwefG1mfsGrADH9U2hTn9 SuWqSRxp+l5VuDPK0zdrkISeyX7js93B7b5uC+dlSYHx2nN5gS38HsxJIaEnjcf5cZO3 VWvF8/v6ctFEc+07ZaySji1QMkzFb30asS8VBCAjrvrCsCgt/8Ih4VToxrqGIm9uCbXc YDLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=VCAM3WktnAoXtKCXimpu6+MaienE3J1uafCvq7jMiqg=; b=brqQUD4cGQACLDfeURg7VHMG2IsNEG98ZdaB+HM8hLB5GZ29yzz4KBdDADl+s/4P1z f26WZP9TpKOLKFMHMdi2oXTptcK1X9HdzRGNbPav1keFR81oDwlb/0GblTTc4iZWAoeh AXCxjM96i7BrjPx4rUDqUhfJ2E0aZwAMtbkl/O7G3XRlEcG5w6HqZhUWDmMOHV3k6HSi naKoXWe9VCDgxEaIe77H0y9x3i/tin1c17m9YRaJx4kiWfdUjUQo8WTL7clNHqJvYiqq JW+AsEGpEywvPlSbi2E70hJj4wQrXCR1jmOSfU+Y5ieI8IkbD1RIN1CpHlz3KmV7DSI5 EbDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of bp@suse.de designates 195.135.220.15 as permitted sender) smtp.mailfrom=bp@suse.de Authentication-Results: mx.google.com; spf=pass (google.com: domain of bp@suse.de designates 195.135.220.15 as permitted sender) smtp.mailfrom=bp@suse.de Date: Wed, 31 Jan 2018 12:52:11 +0100 From: Borislav Petkov To: "Dr. David Alan Gilbert" 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: <20180131115211.2cxz2xj6elv37p6t@pd.tnic> References: <20180129201404.GA1588@localhost.localdomain> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180131110406.GB2521@work-vm> User-Agent: NeoMutt/20170609 (1.8.3) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590140581449802182?= X-GMAIL-MSGID: =?utf-8?q?1591108741370091106?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 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. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure Date: Wed, 31 Jan 2018 12:52:11 +0100 Message-ID: <20180131115211.2cxz2xj6elv37p6t@pd.tnic> References: <20180129201404.GA1588@localhost.localdomain> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 Return-path: Content-Disposition: inline In-Reply-To: <20180131110406.GB2521@work-vm> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --