lkml.org 
[lkml]   [1998]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] improved/fixed CPU detection for Cyrix and AMD
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/

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