Re: cacheline size detection code in 2.5.66

From: Andi Kleen (ak@muc.de)
Date: Tue Mar 25 2003 - 08:35:25 EST


> > Broken in i386 too.
>
> I don't see anything broken there. The K7 / K8 feature flags are not
> bit for bit compatible though iirc (can't find my K8 cpuid manuals right now).

Umm - they should be. Otherwise CPUID would be completely useless.

I double checked both the Intel and the x86-64 manual now and bit 19
of 0000_0001 is CLFLUSH

So cpufeature.h and the x86-64 test is correct

0000_0001 is supposed to be globally compatible. 8000_0001
is supposed to be compatible inside AMD CPUs (and 19 is reserved here)

Ivan confused me. Either he read the application note wrong or it is wrong.

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



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:19 EST