the following patch was just integrated into master: commit 734bdc32fadc41f4e023868495fbc5b2bef562b3 Author: Sven Schnelle svens@stackframe.org Date: Tue Jan 10 12:01:43 2012 +0100
MTRR: get physical address size from CPUID
The current code uses static values for the physical address size supported by a CPU. This isn't always the right value: I.e. on model_6[ef]x Core (2) Duo CPUs physical address size is 36, while Xeons from the same family have 38 bits, which results in invalid MTRR setup. Fix this by getting the right number from CPUID.
Change-Id: If019c3d9147c3b86357f0ef0d9fda94d49d811ca Signed-off-by: Sven Schnelle svens@stackframe.org
Build-Tested: build bot (Jenkins) at Tue Jan 10 14:43:20 2012, giving +1 Reviewed-By: Stefan Reinauer stefan.reinauer@coreboot.org at Tue Jan 10 21:32:38 2012, giving +2 See http://review.coreboot.org/529 for details.
-gerrit