[lkml]   [1998]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Cyrix 6x86MX and Centaur C6 CPUs in 2.1.102
From 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

 \ /
  Last update: 2005-03-22 13:42    [W:0.067 / U:2.584 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site