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

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: Solaris and PVRDTSCP
From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Date: Fri, 1 Jul 2011 20:32:08 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Fri, 01 Jul 2011 12:33:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <512de115-3a6b-4957-8a6d-93dc724503eb@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: <291EDFCB1E9E224A99088639C4762022B44D8E13AE@xxxxxxxxxxxxxxxxxxxxxxxxx> <512de115-3a6b-4957-8a6d-93dc724503eb@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acw4F4l1bAealMomTgubNn7Vh0UYLgADYjkA
Thread-topic: Solaris and PVRDTSCP
> -----Original Message-----
> From: Dan Magenheimer [mailto:dan.magenheimer@xxxxxxxxxx]
> Sent: 01 July 2011 18:51
> To: Paul Durrant; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: Solaris and PVRDTSCP
> 
> Hi Paul --
> 
> > From: Paul Durrant [mailto:Paul.Durrant@xxxxxxxxxx]
> > Cc: Dan Magenheimer
> > Subject: 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.
> 
> What happens?  Belly up?  Why is this only on PV drivers rather than
> pure HVM?
>

No, it doesn't go belly up, You just don't get PV drivers, you get emulated 
instead. As for why the check is there? No idea.

 
> >   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.
> 
> This seems reasonable.  The info on that leaf could be useful in
> other modes, but likely hasn't been.
> 
> > 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>