lkml.org 
[lkml]   [2002]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CPU/cache detection wrong
On Tue, Oct 01, 2002 at 03:35:54PM +0200, Maciej W. Rozycki wrote:


> > Some of the tualatins have an errata which makes L2 cache sizing
> > impossible. They actually report they have 0K L2 cache. By checking
> > the CPU model, we can guess we have at least 256K (which is where Linux
> > got that number from in your case). But this however means the 512K
> > models will report as 256K too.
> > To work around it, boot with cachesize=512 and all will be good.
>
> Strange -- why not to default to 256K and override it with the value
> obtained from a cache descriptor if != 0, then?

Because the cache descriptor IS zero. So we default to 256K.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
-
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:29    [from the cache]
©2003-2011 Jasper Spaans