Re: [PATCH] p4-clockmod: Calculate frequency based on TSC value for P4 models 0 and 1

From: Frans Pop
Date: Tue Feb 24 2009 - 12:13:18 EST


On Tuesday 24 February 2009, Dave Jones wrote:
> On Tue, Feb 24, 2009 at 08:08:58AM +0100, Frans Pop wrote:
> > From: Mattias-Christian Ott <ott@xxxxxxxxx>
> >
> > Commit ed9cbcd40004904dbe61ccc16d6106a7de38c998 reverted an
> > incorrect change that resulted in random frequencies being displayed
> > in some cases for early P4 models because the MSR_FBC_REGISTER_ID
> > ratio is undefined.
> >
> > Result of the revert is that for some users the CPU frequency is
> > displayed multiplied by a factor 8 in /proc/cpuinfo when p4-clockmod
> > is loaded.
> >
> > Calculating the frequency from the TSC value should work in all
> > cases.
>
> I already picked this up in cpufreq-next.

OK, thanks. The status of the patch was somewhat unclear as, from what I
could see in bugzilla, it had been submitted well before the merge window
for .29 was opened. Good to know it's in the pipeline.
--
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/