Re: Intel's response Linux/MTRR/8GB Memory Support / Why doesn't the kernel realize the BIOS has problems and re-map appropriately?

From: Jesse Barnes
Date: Fri Jun 01 2007 - 17:08:12 EST


On Friday, June 1, 2007 2:14:17 Andi Kleen wrote:
> Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> writes:
> > (or we get proper PAT support, which I think would make this problem
> > go away as well).
>
> No it won't. If the basic MTRRs for memory are wrong just having PAT
> support in drivers (which already exist in a limited form already, just for
> UC only) won't change anything.

No obviously just using PAT for drivers wouldn't help, I was thinking more of
having one PAT type be WB memory, and using it by default for most PTEs
covering normal memory. If that's not possible, then it seems sensible to
try to fix this MTRR problem in a better way, either with something like the
patch I posted earlier or a more advanced MTRR remapper that runs at early
boot. Depending on platform requirements though, that could get complicated
pretty fast...

Jesse

-
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/