WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH] pvcpuid: mask TSC invariant bit for various circ

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] pvcpuid: mask TSC invariant bit for various circumstances
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Wed, 28 Oct 2009 16:38:48 +0000
Cc:
Delivery-date: Wed, 28 Oct 2009 09:39:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8420df45-56fc-41a1-aa68-cb9a39da235f@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C70DA03D.189B8%keir.fraser@xxxxxxxxxxxxx> <8420df45-56fc-41a1-aa68-cb9a39da235f@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> 28.10.09 17:27 >>>
>But, that said, I'm still not convinced my patch is the
>right answer.  If possible (e.g. using the CPUID masking
>feature Jan referred to), Xen should always hide the TSC

Actually I just realized that this feature would probably not help you
at all: The bit you're after is in leaf 0x80000007, but the masking applies
only to leaf 1 (plus 0x80000001 for AMD).

>Invariant bit from all guests (OS's and apps) and only
>expose it via pvcpuid or some other mechanism.
>Otherwise an OS or app may make false assumptions
>based on an architecturally-specified cpuid bit.
 
Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>