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

[Xen-devel] Solaris and PVRDTSCP

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Solaris and PVRDTSCP
From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Date: Fri, 1 Jul 2011 18:02:48 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Delivery-date: Fri, 01 Jul 2011 10:05:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: Acw4ELKspf4mhTLCQZqm5dUeLpw9Tw==
Thread-topic: Solaris and PVRDTSCP
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?

  Paul

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

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