RE: NexGen detection

From: Thomas S. Iversen (zensonic@diku.dk)
Date: Fri Apr 14 2000 - 10:59:40 EST


On Fri, 14 Apr 2000, Maciej W. Rozycki wrote:

> This is cheating -- a 5th family processor ought to support wp. Some

It's cheating in one sense not in others. The information you see is what
calling CPUID is yielding. I *know* that the processor has a broken WP,
but it also clearly says so :)

> startup code might rely on this fact and may allow a kernel compiled for a
> 486 or a 586 to boot on your machine. You need to be careful when
> preparing any patches -- I'd suggest overriding the family to be "3" for
> "NexGenDriven" CPUs.

You could argue about that, on the other hand you could argue that
algorithms which depends on the family information to test wether WP is
working or not is not behaving nicely. The WP flag is there for a reason.
 
Well, it's cosmetics anyhow. I just got tired of seeing things like:

Model: ?
Stepping: ?

and so on through out /proc/cpuinfo and would like to remedy this
situation (NexGens are not that easy to come by, so I would step up and do
it if there was interest for it)

Thomas

Thomas S. Iversen
zensonic@diku.dk
Dept. of computer science - copenhagen, denmark.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:24 EST