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] Xen cpufreq support status: how to notify hypervisor of


On 11 Apr 2006, at 21:11, Matt T. Yourst wrote:

I'm still getting some issues with the timer not properly re-syncing even
though the cpufreq driver makes the new setcpufreq hypercall, which Xen
properly receives.

Right now it just sets cpu_khz and calls local_time_calibration() on the
target CPU(s). Is there something else we need to do, like calling the
equivalent of early_time_init() or init_xen_time() all over again?

The problem is much less severe now but it still sometimes happens.

local_time_calibration() won't really do the right thing. It will calibrate for the observed TSC rate over the last few seconds, most of which will have passed at the old TSC rate. The simplest fix would simply be to multiply the calculated TSC scale factor by new_mhz/old_mhz.

 -- Keir


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