LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@it.uu.se>
To: linux-kernel@vger.kernel.org, thomas@tungstengraphics.com
Subject: Re: Support for i386 PATs
Date: Sat, 27 Jan 2007 11:59:59 +0100 (MET)	[thread overview]
Message-ID: <200701271059.l0RAxxP5018994@harpo.it.uu.se> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]

On Sat, 27 Jan 2007 10:20:18 +0100, Thomas Hellström wrote:
> Does anybody have a strong opinion against adding support for
> i386 Page Attribute Tables?
...
> Issues:
> 1) The _PAGE_BIT_PAT will be the same as _PAGE_PSE, and _PAGE_PROTNONE.
> As I understand it, _PAGE_PROTNONE is not used when the page is present, 
> so this might not be an issue.
> What about _PAGE_PSE?
> 
> 2) The PATs need to be setup for each processor just after system boot.
> Where is the best place to do this?

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.

/Mikael

             reply	other threads:[~2007-01-27 11:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-27 10:59 Mikael Pettersson [this message]
2007-01-28  7:54 ` H. Peter Anvin
  -- 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=200701271059.l0RAxxP5018994@harpo.it.uu.se \
    --to=mikpe@it.uu.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thomas@tungstengraphics.com \
    --subject='Re: Support for i386 PATs' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).