From: Keir Fraser Subject: Re: Xen cpufreq support status: how to notify hypervisor of frequency change? Date: Fri, 14 Apr 2006 07:44:22 +0100 Message-ID: References: <200604081829.00179.yourst@yourst.com> <200604122231.17561.yourst@yourst.com> <1783ab10b2d5742f7362d5196ec8c1d6@cl.cam.ac.uk> <200604131428.40611.yourst@yourst.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200604131428.40611.yourst@yourst.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Matt T. Yourst" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 13 Apr 2006, at 19:28, Matt T. Yourst wrote: >> Ah yes, looking closer at your code I think you are doing the right >> thing and the local_time_calibration() call should be removed. >> > > OK, so do you think my patch (minus local_time_calibration()) would > have a > chance of getting merged? I can add basic support for non-AMD MSRs if > you > want, but can someone else with a machine actually using the speedstep > and/or > centrino cpufreq drivers will need to test it. Yes. There are cleanups I'd like to do but it probably makes sense to apply your patch as is and then clean up incrementally after that (move to an AMD-specific file; more generic interface for registering interest in MSRs; etc). Right now you should at least check you are running on an AMD processor before processing the MSR accesses. -- Keir