[lkml]   [2007]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: MTRR initialization
Andi Kleen wrote:
> Jesse Barnes <> writes:
>> To do this in a nicer way (and be less vulnerable to similar BIOS
>> funkiness) the kernel really needs full PAT support. That should allow
>> WC over WB and WC over UC mappings to occur, at least if I'm
>> remembering the docs right...
> PAT only really helps for device driver performance optimizations.
> But if the basic WB MTRRs are wrong PAT cannot really salvage it.

Is there any reason not to set the MTRRs to define the entire memory as
write back, and use PAT exclusively for setting cacheability?

On my home machine for instance, the BIOS uses all 8 MTRRs leaving none
for X. I hacked it by merging a couple of MTRRs but this isn't a
generic solution.

error compiling committee.c: too many arguments to function

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-09-20 14:09    [W:0.077 / U:1.356 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site