[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200701271059.l0RAxxP5018994@harpo.it.uu.se>
Date: Sat, 27 Jan 2007 11:59:59 +0100 (MET)
From: Mikael Pettersson <mikpe@...uu.se>
To: linux-kernel@...r.kernel.org, thomas@...gstengraphics.com
Subject: Re: Support for i386 PATs
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists