linux/arch/i386/kernel/cpu/mtrr
Linus Torvalds 4710bcce8e i386: remove bogus mtrr range check
Commit 9215da3320 "fixed" the MTRR range
check to not allow any MTRR's under the 1MB mark (since that's where the
fixed MTRR's are active).

However, that was totally bogus, since it's normal (and almost required)
to have a large variable MTRR that starts at 0, and covers some large
percentage of the whole RAM, and then using the fixed MTRR's to override
that large MTRR to handle the special ISA hole in the 640k-1M region.

The old check was bogus too (checking that no variable MTRR is used that
is entirely under the 1MB range), but at least it wasn't actively
detrimental, because no sane situation would ever trigger such MTRR
usage in the first place.

That said, the whole notion of not allowing variable MTRR's in the low
1MB is just stupid, so rather than revert the commit, this just removes
the whole sad and unnecessary check entirely.

Cc: Jan Beulich <jbeulich@novell.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Luca Palermo <darkmage@sabayonlinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-01 10:56:11 -07:00
..
amd.c [PATCH] i386: fix MTRR code 2006-12-07 02:14:09 +01:00
centaur.c [PATCH] i386: fix MTRR code 2006-12-07 02:14:09 +01:00
cyrix.c mtrr/cyrix: fix sections 2007-06-28 11:34:53 -07:00
generic.c i386: remove bogus mtrr range check 2007-07-01 10:56:11 -07:00
if.c [PATCH] i386: fix 32-bit ioctls on x64_32 2007-02-13 13:26:26 +01:00
main.c x86_64: fix link warning between for .text and .init.text 2007-06-20 14:27:26 -07:00
Makefile [PATCH] i386: conditionalize inclusion of some MTRR flavors 2006-12-07 02:14:09 +01:00
mtrr.h [PATCH] i386: fix size_or_mask and size_and_mask 2007-02-13 13:26:23 +01:00
state.c i386: fix PGE mask 2007-05-21 09:56:57 -07:00