lkml.org 
[lkml]   [2002]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CPU detection broken in 2.5.27?

On Tue, 23 Jul 2002, Dave Jones wrote:

> On Tue, Jul 23, 2002 at 12:14:08PM -0700, Patrick Mochel wrote:
>
> There are some problems here.

Heh. They've always been there, then. I really did re-add the table from
an older arch/i386/kernel/setup.c ;)

> > + { X86_VENDOR_INTEL, 6,

> [4] is Deschutes according to the docs I used for x86info.

Ok, I added it.

> > + [5] "Pentium II (Deschutes)",
>
> What [5] is is dependant upon cache size & stepping.
>
> stepping 0:
> 0KB - Celeron (Covington)
> 256KB - Mobile Pentium II (Dixon)
> stepping 1-3 Pentium II (Deschutes)

The Celeron detection happens in init_intel().

> > + [6] "Mobile Pentium II",
>
> cache size 128KB - Celeron (Mendocino)

Handled in init_intel().

> Stepping 0/5 - Celeron-A

Added to init_intel().

> Stepping A - Mobile PII

Um, leave as default?

> > + [8] "Pentium III (Coppermine)",
>
> L2 Cachesize == 128 == Celeron (Else P3)

Handled in init_intel().

> > + [10] "Pentium III (Cascades)",
>
> 6a0 is another P2 Deschutes aparently, but this seems
> odd, and I should double check this sometime.

Leaving unchanged.

> > + [11] "Pentium III (Tualatin)",
>
> Could be a celeron too. Not sure of cache size.

Ditto, for the sake of ignorance.

> > + [1] "Pentium 4 (Unknown)",
>
> Model 5 = (Foster)

Added. Wait, isn't Foster the one with HT? The ones I have say that they
support it, so wouldn't that be a Foster (as well as stepping 5)?

Updated patch appended. This updated version hasn't been tested, as I
don't have any of those processors at my disposal...

-pat

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

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