public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Juha Poutiainen <pode@iki.fi>
To: linux-kernel@vger.kernel.org
Subject: L2 cache detection in Celeron 2GHz (P4 based)
Date: Wed, 19 Mar 2003 08:47:43 +0200	[thread overview]
Message-ID: <20030319064743.GA1683@a28a> (raw)

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

             reply	other threads:[~2003-03-19  6:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-19  6:47 Juha Poutiainen [this message]
2003-03-19  8:18 ` L2 cache detection in Celeron 2GHz (P4 based) Paul Rolland
2003-03-19 13:58   ` Dave Jones
2003-03-19 16:53     ` Paul Rolland
2003-03-19 17:01       ` Dave Jones
2003-03-19 13:53 ` Dave Jones
2003-03-19 17:53   ` Juha Poutiainen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030319064743.GA1683@a28a \
    --to=pode@iki.fi \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox