linux_old1/arch/x86/pci
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
..
Makefile x86_64: move pci 2007-10-11 11:17:12 +02:00
Makefile_32 x86: undo visws/numaq build changes 2008-05-04 20:04:45 +02:00
Makefile_64 x86: multi pci root bus with different io resource range, on 64-bit 2008-04-26 23:41:04 +02:00
acpi.c x86/pci: add pci=skip_isa_align command lines. 2008-05-05 09:22:08 -07:00
common.c Revert "PCI: remove default PCI expansion ROM memory allocation" 2008-05-08 19:02:55 -07:00
direct.c x86 pci: remove checking type for mmconfig probe 2008-04-26 23:41:04 +02:00
early.c i386: move pci 2007-10-11 11:16:36 +02:00
fixup.c x86/pci: remove flag in pci_cfg_space_size_ext 2008-04-29 15:34:05 -07:00
i386.c x86/PCI: X86_PAT & mprotect 2008-05-13 09:51:54 -07:00
init.c x86 PCI: call dmi_check_pciprobe() 2008-05-05 09:24:00 -07:00
irq.c x86: get mp_bus_to_node early 2008-04-26 23:41:04 +02:00
k8-bus_64.c x86: remove spew print out about bus to node mapping 2008-05-10 19:31:45 +02:00
legacy.c x86: get mp_bus_to_node early 2008-04-26 23:41:04 +02:00
mmconfig-shared.c x86: add pci=check_enable_amd_mmconf and dmi check 2008-04-26 23:41:04 +02:00
mmconfig_32.c x86: clear pci_mmcfg_virt when mmcfg get rejected 2008-04-26 23:41:03 +02:00
mmconfig_64.c x86: clear pci_mmcfg_virt when mmcfg get rejected 2008-04-26 23:41:03 +02:00
mp_bus_to_node.c x86: get mp_bus_to_node early 2008-04-26 23:41:04 +02:00
numa.c x86: remove mpc_oem_bus_info() 2008-04-17 17:41:08 +02:00
olpc.c x86: olpc: add One Laptop Per Child architecture support 2008-04-29 08:06:07 -07:00
pcbios.c PCI: remove initial bios sort of PCI devices on x86 2008-04-20 21:46:58 -07:00
pci.h x86 PCI: call dmi_check_pciprobe() 2008-05-05 09:24:00 -07:00
visws.c Change pci_raw_ops to pci_raw_read/write 2008-02-10 12:52:46 -08:00