Re: [PATCH] improved/fixed CPU detection for Cyrix and AMD

Rafael Reilova (rreilova@ececs.uc.edu)
Mon, 12 Oct 1998 14:26:52 -0400 (EDT)


Hi,

> You might want to fix identify_cpu() also. amd_model() is not called if
> model_id is found in the internal list, so
> the ext. caps are not fetched if you have an AMD.

Is there a reason for this?, or just an oversight. Are the chip id string
returned by AMD so lame that a table lookup is better? ;-) JK

OK by popular demand, the following patch vs. 2.1.125, at:

http://www.ececs.uc.edu/~rreilova/linux/cpu-det-2.1.125.gz

attempts to fix this (UNTESTED). I don't have an AMD.

It also avoids repeating the cpuid(2,...) call many times from inside the
table lookup loop on Intel Pentiums. This is in addition to all the other
Cyrix changes (which are already in 2.1.125ac1, ie. don't apply to ac1).

Cheers,

Rafael

-
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/