Re: Support for i386 PATs

From: H. Peter Anvin
Date: Sun Jan 28 2007 - 02:54:41 EST


Mikael Pettersson wrote:

3) Many Intel processors, including at least most P6s and probably
also some P4s, have an erratum which effectively halves the number
of available PAT entries, forcing an OS to make the low 4 and upper
4 PAT entries identical.

I don't know if 4 PAT types suffice for the kinds of uses people
have in mind. But support for PAT would either have to restrict
itself to only 4 PAT types, or ensure that it is only enabled on
new enough processors where it actually works.

You will need to read all available Intel errata sheets (spec updates)
to determine which processors are affected and which are OK.


There aren't really that many useful caching types, so it probably doesn't matter all that much.

The types that matters most are WB, WC, and UC. The fourth one could be WT, or it could be UC- (however, UC- can *always* be emulated by simply having the kernel being aware of the MTRR settings.)

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/