Re: CPU/cache detection wrong

Maciej W. Rozycki
2002-10-01T13:30:09Z

On Tue, 1 Oct 2002, Dave Jones 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?

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +