mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: mtrr madness
Date: Mon, 01 Sep 2008 11:19:01 -0600	[thread overview]
Message-ID: <48BC2405.9070403@shaw.ca> (raw)
In-Reply-To: <fa.oAfJTOqZ/UBF74k5hFotOE73/z4@ifi.uio.no>

Lukas Hejtmanek wrote:
> Hello,
> 
> it seems that all linux kernels contain a bug with mtrr:
> 
>  cat /proc/mtrr 
> reg00: base=0x00000000 (   0MB), size=198656MB: write-back, count=1
> reg01: base=0x80000000 (2048MB), size=197120MB: write-back, count=1
> reg02: base=0x9fc00000 (2556MB), size=196612MB: uncachable, count=1
> reg03: base=0x100000000 (4096MB), size=200704MB: write-back, count=1
> reg04: base=0x200000000 (8192MB), size=204800MB: write-back, count=1
> 
> (watch the size)
> 
> it is definitely  present in the kernels 2.6.16, 2.6.24, 2.6.25, 2.6.26.
> 
> 198656 is 0x3080000000, the correct value would be 0x80000000, similarly
> 197120 is 0x3020000000, the correct would be 0x20000000. 

Those are set up by the BIOS, so it would be what's at fault. I think we 
may be adding something to fix this up though?

       reply	other threads:[~2008-09-01 17:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.oAfJTOqZ/UBF74k5hFotOE73/z4@ifi.uio.no>
2008-09-01 17:19 ` Robert Hancock [this message]
2008-09-01 17:25   ` Yinghai Lu
2008-09-01 14:25 Lukas Hejtmanek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48BC2405.9070403@shaw.ca \
    --to=hancockr@shaw.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xhejtman@ics.muni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®