From: "H. Peter Anvin" <hpa@zytor.com>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: linux-kernel@vger.kernel.org, thomas@tungstengraphics.com
Subject: Re: Support for i386 PATs
Date: Sat, 27 Jan 2007 23:54:08 -0800 [thread overview]
Message-ID: <45BC56A0.1000906@zytor.com> (raw)
In-Reply-To: <200701271059.l0RAxxP5018994@harpo.it.uu.se>
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
next prev parent reply other threads:[~2007-01-28 7:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-27 10:59 Support for i386 PATs Mikael Pettersson
2007-01-28 7:54 ` H. Peter Anvin [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-01-27 9:20 Thomas Hellström
2007-01-27 9:33 ` Avi Kivity
2007-01-28 21:48 ` Dave Jones
2007-01-30 15:50 ` Thomas Hellström
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=45BC56A0.1000906@zytor.com \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@it.uu.se \
--cc=thomas@tungstengraphics.com \
/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