Re: [ACPI] X86_PM_TIMER: /proc/cpuinfo doesn't get updated
From: john stultz
Date: Tue Mar 16 2004 - 18:41:03 EST
On Tue, 2004-03-16 at 15:19, Dmitry Torokhov wrote:
> On Tuesday 16 March 2004 04:42 pm, 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.
> > Best regards,
> >
>
> PM timer does not install CPUFREQ handler which would scale cpu_khz to
> give proper display. I might cook up something later tonight.
Actually, the cpufreq handler is installed by an initcall regardless of
which time-source is used. However as the handler changes a few TSC
specific variables, it exits in timer_tsc.c.
I think the fix I just mailed should do the trick. Let me know if it
doesn't.
thanks
-john
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/