The Intel docs say that on reset all the MTRR ranges are disabled. So
if your BIOS doesn't touch them at all, I'm surprised that you see
anthing in /proc/mtrr.
If your BIOS does set them up, but not with settings that match the
memory it detects, then it is broken. But it wouldn't be the only
BIOS that is broken with regard to MTRRs.
> My question is: is there anything in the mtrr driver that would allow
> me to force the configuration of mtrr registers ?
There is nothing to force the MTRRs to match the memory that the
kernel knows about. We expect the BIOS to get that much right.
So, unless you want to do some hacking on the mtrr driver, you'll have
to use /proc/mtrr (perhaps you could put together a script to set up
/proc/mtrr based on what it sees in /proc/meminfo).
David Wragg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/