Re: Cyrix 6x86MX and Centaur C6 CPUs in 2.1.102

David Woodhouse (
Tue, 19 May 1998 14:58:07 +0200 said:
> That kind of throws away the whole _point_ of using the capability
> word in the first place.

> If you want to distinguish between
> - has no cycle counter
> - has a broken cycle counter
> - has a cycle counter that works as documented

> then that part I have no argument with. HOWEVER, if so, you'd better
> make it a new capability or something, because I don't want to have
> "real" kernel code having to care.

How about an extra bug field in the struct cpuinfo_x86?
If the TSC instructions are present, fill in the relevant bit in the
capability field, but if it's one of the broken chips, we set the bug flag too.

So the main kernel code can either just use them and be aware that they might
not conform strictly to the spec., or use an alternative, as the author sees

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
finger for PGP key.

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