x86 PAT errata
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 7 lines · Mikael Pettersson
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.
Quoted 5 lines
/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Followup to: <[email protected]> By author: Mikael Pettersson <[email protected]> In newsgroup: linux.dev.kernel
Quoted 8 lines
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
Signature · 7 lines
<[email protected]> at work, <[email protected]> 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 [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 13 lines · H. Peter Anvin
Followup to: <[email protected]> By author: Mikael Pettersson <[email protected]> In newsgroup: linux.dev.kernelQuoted 7 lines
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.
Quoted 4 lines
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/