Re: [PATCH] ia64: Fix CPU freq displayed in /proc/cpuinfo

From: Venki Pallipadi <venkatesh.pallipadi_at_intel.com>
Date: 2007-04-07 03:48:04
On Fri, Apr 06, 2007 at 10:29:03AM -0700, Luck, Tony wrote:
> 
> +		   "cpu MHz    : %lu.%03lu\n"
>  		   "itc MHz    : %lu.%06lu\n"
> 
> 
> Why did you cut the precision of cpu MHz back to 1Khz?  Is the
> extra precision not-warranted, or is this just to be more like
> other architectures?

That is because we try to get this from cpufreq and cpufreq
has this info in kHz.
 
> Should we do the same for itc MHz to treat both evenly?

Not sure about this. I guess we can retain it the way it is as it is
something directly coming from hardware. CPU frequency in turn can come
cpufreq or acpi tables. ACPI table will reduce this further as it
always gives the info in MHz (on processors that has ACPI
based P-states support).

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Apr 07 03:49:25 2007

This archive was generated by hypermail 2.1.8 : 2007-04-07 03:49:38 EST