public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* x86 PAT errata
@ 2001-01-25 17:45 Mikael Pettersson
  2001-01-25 17:51 ` Jeff Hartmann
  2001-01-25 22:28 ` H. Peter Anvin
  0 siblings, 2 replies; 5+ messages in thread
From: Mikael Pettersson @ 2001-01-25 17:45 UTC (permalink / raw)
  To: linux-kernel

Before people get too exited about the x86 Page Attribute Table ...
Does Linux use mode B (CR4.PSE=1) or mode C (CR4.PAE=1) paging?
If so, known P6 errata must be taken into account.
In particular, Pentium III errata E27 and Pentium II errata A56
imply that only the low four PAT entries are working for 4KB
pages, if CR4.PSE or CR4.PAE is enabled.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: x86 PAT errata
  2001-01-25 17:45 x86 PAT errata Mikael Pettersson
@ 2001-01-25 17:51 ` Jeff Hartmann
  2001-01-25 22:28 ` H. Peter Anvin
  1 sibling, 0 replies; 5+ messages in thread
From: Jeff Hartmann @ 2001-01-25 17:51 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: linux-kernel

Mikael Pettersson wrote:

> Before people get too exited about the x86 Page Attribute Table ...
> Does Linux use mode B (CR4.PSE=1) or mode C (CR4.PAE=1) paging?
> If so, known P6 errata must be taken into account.
> In particular, Pentium III errata E27 and Pentium II errata A56
> imply that only the low four PAT entries are working for 4KB
> pages, if CR4.PSE or CR4.PAE is enabled.
> 
> /Mikael
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/

Yes it does use PSE/PAE paging.  Could you point me to these errata 
documents?  According to the documentation I've seen it says that only 
the low four PAT entries work for 4MB pages.  I've never seen 
documentation that says the same is true for 4k pages.

-Jeff

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: x86 PAT errata
@ 2001-01-25 18:12 Mikael Pettersson
  0 siblings, 0 replies; 5+ messages in thread
From: Mikael Pettersson @ 2001-01-25 18:12 UTC (permalink / raw)
  To: jhartmann; +Cc: linux-kernel

Jeff Hartmann wrote:
> > Before people get too exited about the x86 Page Attribute Table ...
> > Does Linux use mode B (CR4.PSE=1) or mode C (CR4.PAE=1) paging?
> > If so, known P6 errata must be taken into account.
> > In particular, Pentium III errata E27 and Pentium II errata A56
> > imply that only the low four PAT entries are working for 4KB
> > pages, if CR4.PSE or CR4.PAE is enabled.
> ...
> Yes it does use PSE/PAE paging.  Could you point me to these errata 
> documents?  According to the documentation I've seen it says that only 
> the low four PAT entries work for 4MB pages.  I've never seen 
> documentation that says the same is true for 4k pages.

They're called "Specification Updates" and are available at
developer.intel.com in the same place you get the manuals
and other docs. The Pentium III one is at
http://developer.intel.com/design/PentiumIII/specupdt/.
According to the errata, one bit which should be used for selecting
PAT entry is forced to zero for 4KB pages, which limits them
to the low four PAT entries. Large pages get to use all entries.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: x86 PAT errata
  2001-01-25 17:45 x86 PAT errata Mikael Pettersson
  2001-01-25 17:51 ` Jeff Hartmann
@ 2001-01-25 22:28 ` H. Peter Anvin
  2001-01-26  0:35   ` Jeff Hartmann
  1 sibling, 1 reply; 5+ messages in thread
From: H. Peter Anvin @ 2001-01-25 22:28 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <200101251745.SAA07063@harpo.it.uu.se>
By author:    Mikael Pettersson <mikpe@csd.uu.se>
In newsgroup: linux.dev.kernel
>
> Before people get too exited about the x86 Page Attribute Table ...
> Does Linux use mode B (CR4.PSE=1) or mode C (CR4.PAE=1) paging?
> If so, known P6 errata must be taken into account.
> In particular, Pentium III errata E27 and Pentium II errata A56
> imply that only the low four PAT entries are working for 4KB
> pages, if CR4.PSE or CR4.PAE is enabled.
> 

All of the above.  Sounds like PAT should be declared broken on these
chips.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: x86 PAT errata
  2001-01-25 22:28 ` H. Peter Anvin
@ 2001-01-26  0:35   ` Jeff Hartmann
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Hartmann @ 2001-01-26  0:35 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: linux-kernel

H. Peter Anvin wrote:

> Followup to:  <200101251745.SAA07063@harpo.it.uu.se>
> By author:    Mikael Pettersson <mikpe@csd.uu.se>
> In newsgroup: linux.dev.kernel
> 
>> Before people get too exited about the x86 Page Attribute Table ...
>> Does Linux use mode B (CR4.PSE=1) or mode C (CR4.PAE=1) paging?
>> If so, known P6 errata must be taken into account.
>> In particular, Pentium III errata E27 and Pentium II errata A56
>> imply that only the low four PAT entries are working for 4KB
>> pages, if CR4.PSE or CR4.PAE is enabled.
>> 
> 
> 
> All of the above.  Sounds like PAT should be declared broken on these
> chips.
> 
> 	-hpa

We can do set PAT entry one to be write combined.  Currently it doesn't 
look like anyone is using write through page mapping anywhere in the 
kernel (Just PAGE_PWT set).  Am I correct in that assumption?

-Jeff

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-01-26  0:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-25 17:45 x86 PAT errata Mikael Pettersson
2001-01-25 17:51 ` Jeff Hartmann
2001-01-25 22:28 ` H. Peter Anvin
2001-01-26  0:35   ` Jeff Hartmann
  -- strict thread matches above, loose matches on Subject: below --
2001-01-25 18:12 Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox