linux/arch/x86/kernel/cpu
Yinghai Lu 95ffa2438d x86: mtrr cleanup for converting continuous to discrete layout, v8
some BIOS like to use continus MTRR layout, and X driver can not add
WB entries for graphical cards when 4g or more RAM installed.

the patch will change MTRR to discrete.

mtrr_chunk_size= could be used to have smaller continuous block to hold holes.
default is 256m, could be set according to size of graphics card memory.

mtrr_gran_size= could be used to send smallest mtrr block to avoid run out of MTRRs

v2: fix -1 for UC checking
v3: default to disable, and need use enable_mtrr_cleanup to enable this feature
    skip the var state change warning.
    remove next_basek in range_to_mtrr()
v4: correct warning mask.
v5: CONFIG_MTRR_SANITIZER
v6: fix 1g, 2g, 512 aligment with extra hole
v7: gran_sizek to prevent running out of MTRRs.
v8: fix hole_basek caculation caused when removing next_basek
    gran_sizek using when basek is 0.

need to apply
	[PATCH] x86: fix trimming e820 with MTRR holes.
right after this one.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-25 10:55:09 +02:00
..
cpufreq [CPUFREQ] expose cpufreq coordination requirements regardless of coordination mechanism 2008-04-28 16:27:08 -04:00
mcheck x86-64: extend MCE CPU quirk handling 2008-04-26 17:35:46 +02:00
mtrr x86: mtrr cleanup for converting continuous to discrete layout, v8 2008-05-25 10:55:09 +02:00
Makefile x86: remove NexGen support 2008-04-26 17:35:47 +02:00
addon_cpuid_features.c x86: cleanup PAT cpu validation 2008-05-08 15:43:51 +02:00
amd.c x86: remove unused function amd_init_cpu() 2008-04-26 17:35:46 +02:00
bugs.c Fix booting pentium+ with dodgy TSC 2008-04-06 16:10:40 -07:00
centaur.c x86: clean up cpu capabilities accesses, centaur.c 2008-04-17 17:40:51 +02:00
common.c x86: cleanup PAT cpu validation 2008-05-08 15:43:51 +02:00
cpu.h x86: use ELF section to list CPU vendor specific code 2008-04-17 17:40:47 +02:00
cyrix.c x86: clean up cpu capabilities accesses, cyrix.c 2008-04-17 17:40:51 +02:00
feature_names.c x86: arch/x86/kernel/cpu/feature_names.c - use angle brackets for include 2008-04-17 17:40:57 +02:00
intel.c x86: clean up cpu capabilities in arch/x86/kernel/cpu/intel.c 2008-04-17 17:40:51 +02:00
intel_cacheinfo.c x86: modify show_shared_cpu_map in intel_cacheinfo 2008-04-19 19:44:59 +02:00
perfctr-watchdog.c x86: fix watchdog ops for CoreDuo 2008-04-26 17:35:46 +02:00
proc.c arch: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:14:49 -04:00
transmeta.c x86: clean up cpu capabilities accesses, transmeta.c 2008-04-17 17:40:51 +02:00
umc.c x86: coding style fixes to arch/x86/kernel/cpu/umc.c 2008-04-17 17:40:49 +02:00