Re: [PATCH] 2.2.0-pre8 AMD K6-2/stepping misdetection

Rafael Reilova (rreilova@ececs.uc.edu)
Thu, 21 Jan 1999 12:52:58 -0500 (EST)


On Thu, 21 Jan 1999, Matthias Andree wrote:

Hi,

> This would also prevent displaying the string "AMD" twice during
> boot-up. However, this will require some redesign in setup.c which is
> not-trivial and which I cannot currently do due to lack of spare time,
> since MediaGX stuff relies on amd_model as well. I might look at it
> later if nobody has done so until then. While we're at it, we could
> also read from cpuid(0x80000005, ...) to obtain L1 cache and other
> information.

This has also bothered me for some time, but I haven't had the
spare time to fix it. Ideally, what currently is the amd_model() function
should be renamed get_ext_cpuid() or something like that. Then a new
amd_model() can be written to do a call to the get_ext_cpuid(), and
contain all the AMD specific code. Including Alexey's write-allocate
patch, and the sep flag (bit 10) fix for the K5 step 6, plus the L1 cache
stuff if anyone wants to code it. It's pretty easy to do this, and it
keeps the MediaGX happy. I don't have an AMD K6 around that's why I
haven't done it myself ;)

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/