Re: Cyrix 6x86MX and Centaur C6 CPUs in 2.1.102

Vojtech Pavlik (
Thu, 21 May 1998 18:09:10 +0200

On Thu, May 21, 1998 at 04:12:18PM +0200, Martin Mares wrote:

> > Yes, but for all the chips produced up to now it is equal, and for later
> > chips we may decide based on the chip revision / manufacturer and if needed
> > apply a TSC per sec / CPU clocks per sec ratio for the respective chip to
> > get the correct CPU frequency.
> Do we need to have such ugliness in the kernel? I know no reason for calculating
> CPU clock rate in the kernelas apposed to the TSC frequency which is really needed when
> you want to use the TSC for measuring real time.

Actually, I don't find it that ugly. And, it's true that we don't need it,
however many users might find it useful to see what frequency their CPU is
running on, since many BIOSes don't either report it, or report wrong

And since there are not any processors for which TSC speed is different from
their clock, and I doubt there will be, and since we need to measure the TSC
speed anyway, I think its worth it to append it to the CPU string in the
bootup messages and put it into /proc/cpu.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to