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] make cpufreq with speedstep-centrino work underX

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [patch] make cpufreq with speedstep-centrino work underXen
From: Christian Krafft <parabelboi@xxxxxxxxxxxxxxx>
Date: Tue, 18 Apr 2006 10:34:54 +0200
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 18 Apr 2006 01:35:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA2E5@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA2E5@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20060301)
Ian Pratt wrote:

The attached patch fixes the speedstep-centrino driver, to use the hypervisors MSR's instead of direct MSR access. Without the patch the frequency seems to have changed, but the powerconsumption of the CPU has not. Thanks to the patch of Matt T. Yourst found here http://lists.xensource.com/archives/html/xen-devel/2006-03/msg
01410.html
It was easy to fix the centrino driver, too.

If someone could review the patch and bring it upsream (if it's ok), it would be very nice.

Why not just update xen's MSR emulation code to handle this case? The
msr hypercall is pretty much a legacy thing.

Ian


Hi Ian,

that sounds even better, no need to change all the other cpufreq drivers ;-)
Unfortunately I don't know how to fix the MSR emulation code.
Any idea, how much effort it will be, resp. when the fix might be available ?

Thanks,
ck

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