linux/arch/x86/mm
venkatesh.pallipadi@intel.com 2e5d9c857d x86: PAT infrastructure patch
Sets up pat_init() infrastructure.

PAT MSR has following setting.
	PAT
	|PCD
	||PWT
	|||
	000 WB		_PAGE_CACHE_WB
	001 WC		_PAGE_CACHE_WC
	010 UC-		_PAGE_CACHE_UC_MINUS
	011 UC		_PAGE_CACHE_UC

We are effectively changing WT from boot time setting to WC.
UC_MINUS is used to provide backward compatibility to existing /dev/mem
users(X).

reserve_memtype and free_memtype are new interfaces for maintaining alias-free
mapping. It is currently implemented in a simple way with a linked list and
not optimized. reserve and free tracks the effective memory type, as a result
of PAT and MTRR setting rather than what is actually requested in PAT.

pat_init piggy backs on mtrr_init as the rules for setting both pat and mtrr
are same.

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>
2008-04-17 17:41:19 +02:00
..
Makefile x86: PAT infrastructure patch 2008-04-17 17:41:19 +02:00
discontig_32.c x86: use get_bios_ebda in mpparse_64.c 2008-04-17 17:41:05 +02:00
dump_pagetables.c x86: sort address_markers for dump_pagetables 2008-04-17 17:40:58 +02:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault.c x86: check vmlinux limits, 64-bit 2008-04-17 17:40:45 +02:00
highmem_32.c Avoid false positive warnings in kmap_atomic_prot() with DEBUG_HIGHMEM 2008-03-28 13:08:14 -07:00
hugetlbpage.c x86: stricter check in follow_huge_addr() 2008-03-27 16:08:45 +01:00
init_32.c x86: enhance DEBUG_RODATA support for hotplug and kprobes 2008-04-17 17:40:58 +02:00
init_64.c x86: early memtest to find bad ram 2008-04-17 17:41:19 +02:00
ioremap.c x86: warn about RAM pages in ioremap() 2008-04-17 17:40:52 +02:00
k8topology_64.c x86: add PCI IDs to k8topology_64.c 2008-01-30 13:34:12 +01:00
mmap.c x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
numa_64.c x86: remove never used nodenumer in pda 2008-04-17 17:40:47 +02:00
pageattr-test.c x86: remove over noisy debug printk 2008-02-11 11:24:24 -08:00
pageattr.c x86: PAT infrastructure patch 2008-04-17 17:41:19 +02:00
pat.c x86: PAT infrastructure patch 2008-04-17 17:41:19 +02:00
pgtable_32.c x86: Remove redundant display of free swap space in show_mem() 2008-04-17 17:40:58 +02:00
srat_64.c x86: get apic_id later in acpi_numa_processor_affinity_init 2008-04-17 17:40:47 +02:00