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] Solaris and PVRDTSCP

To: Paul Durrant <Paul.Durrant@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Solaris and PVRDTSCP
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Fri, 01 Jul 2011 18:18:55 +0100
Cc: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Delivery-date: Fri, 01 Jul 2011 10:19:57 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=F26n9KN1hkzvNqKx/Zy3xPPNUjd/TOl7Er+5t/P4je8=; b=gx2JhyGA2iKRo1gr5lr088iGlJ2Ur22GUfJwiklKXpV0YgIDJOQzVDthz5Y2FnmW64 GI2yrh54JwWlt+QD9Y0nuFQu2tuLKpC+ecycrjbnd1kLPWaPXdoBKQjbopJwaqlX+mSj XJayRFoPTHD8IQWo+ninVIC8q1zIwWUB/KApo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <291EDFCB1E9E224A99088639C4762022B44D8E13AE@xxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acw4ELKspf4mhTLCQZqm5dUeLpw9TwAAkHZr
Thread-topic: [Xen-devel] Solaris and PVRDTSCP
User-agent: Microsoft-Entourage/12.29.0.110113
On 01/07/2011 18:02, "Paul Durrant" <Paul.Durrant@xxxxxxxxxx> wrote:

> Hi,
> 
>   I've been trying to figure out why my copy of s10u9 did not run PV drivers
> when I installed it on Xen 4.1 when it was perfectly happy on Xen 3.4...
> 
>   It turns out that the kernel is making a check that the maximal Xen CPUID
> leaf is no greater than base + 2. This was true on Xen 3.4 but when the
> PVRDTSCP patch was added it ceased to be true with the addition of the
> cpuid_time_leaf code.
>   Clearly future versions of the Solaris kernel should revise this check but
> to allow this kernel to enable PV drivers I was wondering what sort of
> workaround could be done. My current thoughts are along the lines of disabling
> the extra CPUID leaf if tsc_mode is < TSC_MODE_PVRDTSCP. An alternative might
> be to introduce another tsc_mode that specifically causes the leaf to be
> obscured. Thoughts?

We might add other leaves in future. Best might be a domctl to restrict max
leaf per domain, and do all the relevant plumbing of that through
toolstacks. Fun.

 -- Keir

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



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