lkml.org 
[lkml]   [2004]   [Mar]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 17 Mar 2004 10:50:33 +0100
FromDominik Brodowski <>
SubjectRe: [ACPI] X86_PM_TIMER: /proc/cpuinfo doesn't get updated
On Tue, Mar 16, 2004 at 04:46:54PM -0800, john stultz wrote:
> On Tue, 2004-03-16 at 15:33, Dominik Brodowski wrote:
> > On Tue, Mar 16, 2004 at 03:28:15PM -0800, john stultz wrote:
> > > On Tue, 2004-03-16 at 13:42, Karol Kozimor wrote:> > > > Thus wrote Daniele Venzano:> > > > > > I have a notebook with an Athlon-M CPU. I tried linux 2.6.4 with
> > > > > > CONFIG_X86_PM_TIMER=y and I noticed that /proc/cpuinfo doesn't get
> > > > > > updated when I switch frequency (via sysfs, using powernow-k7). The is
> > > > > > issue seems cosmetic only, CPU frequency changes (watching
> > > > > > temperature/battery life).> > > > > I can confirm, I'm seeing the same behavior. Please note that the
> > > > > bogomips count gets updated, it's only the frequency that doesn't
> > > > > change.> > > > > > > > Same here with a P4-M, follow-up to John and Dmitry.> > > > > > Hmm. This is untested, but I think this should do the trick.
> > > > > > Dominik: Is there any reason I'm not seeing why cpu_khz should only be
> > > updated when using the TSC?> > > > Is cpu_khz always correct (or, at least, nonzero) when we're reaching this 
> > code path?> > Using the PIT time source, cpu_khz is zero, so maybe it should be
> conditional on if(cpu_khz)?

That will do the trick.

	Dominik
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:01    [from the cache]
©2003-2008