Re: PAT and MTRRs

From: H. Peter Anvin
Date: Sun Oct 26 2008 - 20:41:48 EST


Arjan van de Ven wrote:

Now, if it wasn't for the braindamage called ACPI and SMM, we could
have cleared the MTRR settings and just used PAT...

yeah.. one thing we need to investigate is if we can set the default
"no mtrr coverage" value to cached
(and also.. to check we don't set that to uncached if the bios had it
set to cached..)


Well, in the end it comes down to the same thing: SMM expects the memory map to reside in MTRRs. We can "sanitize" the memory map, but we can't throw it out the window like what we really should be able to.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/