Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761431AbZCQL4U (ORCPT ); Tue, 17 Mar 2009 07:56:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754815AbZCQL4D (ORCPT ); Tue, 17 Mar 2009 07:56:03 -0400 Received: from one.firstfloor.org ([213.235.205.2]:34263 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755536AbZCQL4C (ORCPT ); Tue, 17 Mar 2009 07:56:02 -0400 Date: Tue, 17 Mar 2009 12:56:21 +0100 From: Andi Kleen To: "H. Peter Anvin" Cc: Andi Kleen , Jan Beulich , Arjan van de Ven , Jeremy Fitzhardinge , Jeremy Fitzhardinge , the arch/x86 maintainers , Xen-devel , Linux Kernel Mailing List Subject: Re: [Xen-devel] [PATCH 10/24] xen: mask XSAVE from cpuid Message-ID: <20090317115621.GQ11935@one.firstfloor.org> References: <49BA3A84.76E4.0078.0@novell.com> <49BA7810.6090807@goop.org> <49BD4CE1.6040100@zytor.com> <49BD6D0E.1010107@goop.org> <20090315154718.00353625@infradead.org> <49BD97C6.2070401@goop.org> <20090315170945.08344b86@infradead.org> <49BE6D50.76E4.0078.0@novell.com> <87fxhd2f53.fsf@basil.nowhere.org> <49BEFDFB.8070900@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49BEFDFB.8070900@zytor.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 19 > The point is YOU DON'T KNOW. In particular, there might be new traps, > there might be new state, there might be new MSRs, there might be new > control bits... anything. Therefore, you cannot blindly pass the bit > on, even though XSAVE solves one part of the problem. I think what will happen if you don't expose it is that there will be always hypervisors which are behind and applications/OS will end up doing probing for opcodes instead of trusting CPUID bits. Probably not what you intended. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/