Venki Pallipadi 77db988564 x86/PCI: X86_PAT & mprotect
Some versions of X used the mprotect workaround to change caching type from UC
to WB, so that it can then use mtrr to program WC for that region [1].  Change
the mmap of pci space through /sys or /proc interfaces from UC to UC_MINUS.
With this change, X will not need to use mprotect workaround to get WC type
since the MTRR mapping type will be honored.

The bug in mprotect that clobbers PAT bits is fixed in a follow on patch. So,
this X workaround will stop working as well.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-05-13 09:51:54 -07:00
..
2008-04-26 17:44:55 +02:00
2008-04-30 08:29:37 -07:00
2008-05-13 09:51:53 -07:00
2007-10-20 01:13:56 +02:00
2007-10-17 20:16:15 +02:00
2008-05-08 15:43:51 +02:00
2008-05-13 09:51:54 -07:00
2008-05-10 19:31:45 +02:00
2008-04-30 23:15:35 +02:00