L2 cache detection in Celeron 2GHz (P4 based)

Juha Poutiainen (pode@iki.fi)
Wed, 19 Mar 2003 08:47:43 +0200


Hi all

Kernel doesn't seem to detect L2 cache in 2GHz Pentium4 based Celeron.
Most likely it is working normally (BIOS detects it and no system speed
is ok), but it's not shown in dmesg or /proc/cpuinfo.

x86info shows that there is something with descriptor 0x3b, and 0x3c
seems to be 256K L2 cache. So I guess it is as simple as adding a line:

{ 0x3B, LVL_2, 128 },

in arch/i386/kernel/setup.c after line 2204 (2.4.20) and
in arch/i386/kernel/cpu/intel.c after line 102 (2.5.65)

I've tried both, they seems to report it fine, but I can't be sure if
that really is correct id of that cache. Celeron at issue has 128K L2
cache.

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