From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Jones Subject: Re: writing a cpufreq driver Date: Thu, 21 Sep 2006 17:13:43 -0400 Message-ID: <20060921211343.GG26683@redhat.com> References: <20060921184833.GC1216@dbz.icequake.net> <20060921193141.GE17065@redhat.com> <20060921200851.GF2364@dbz.icequake.net> <20060921204402.GA26683@redhat.com> <20060921210329.GA16590@dbz.icequake.net> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20060921210329.GA16590@dbz.icequake.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: cpufreq-bounces@lists.linux.org.uk Errors-To: cpufreq-bounces+glkc-cpufreq=gmane.org+glkc-cpufreq=gmane.org@lists.linux.org.uk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ryan Underwood Cc: Cpufreq@lists.linux.org.uk On Thu, Sep 21, 2006 at 04:03:29PM -0500, Ryan Underwood wrote: > > On Thu, Sep 21, 2006 at 04:44:02PM -0400, Dave Jones wrote: > > > > > > No, because only the firmware knows what the real CPU speeds are. How > > > would I deal with this? > > > > Actually, if your driver is correctly using cpufreq_notify_transition() > > it should be doing this automagically for you. If you turn on debugging with > > cpufreq.debug=7 , you should see lines of the form. > > > > scaling loops_per_jiffy to %lu for frequency %u kHz\n > > I don't see this, here's the dmesg (2.6.16.28) Pointer to the driver source ? Dave