]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: Force correct address space size for MTRR on some 64bit Intel Xeons
authorShaohua Li <shaohua.li@intel.com>
Sat, 5 Nov 2005 16:25:54 +0000 (17:25 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 15 Nov 2005 03:55:16 +0000 (19:55 -0800)
commit898d9674f5331fd96ba71b06efff873c666f5169
tree12ecf9850dc75c19cca7a14233d5ba3efe7dbb9d
parent329e07e5049717c252d6f30c649f7b105d2b5194
[PATCH] x86_64: Force correct address space size for MTRR on some 64bit Intel Xeons

They report 40bit, but only have 36bits of physical address space.
This caused problems with setting up the correct masks for MTRR.

CPUID workaround for steppings 0F33h(supporting x86) and 0F34h(supporting x86
and EM64T). Detail info can be found at:
http://download.intel.com/design/Xeon/specupdt/30240216.pdf
http://download.intel.com/design/Pentium4/specupdt/30235221.pdf

Signed-off-by: Shaohua Li<shaohua.li@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/mtrr/main.c
arch/x86_64/kernel/setup.c