All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: "Kevin O'Connor" <kevin@koconnor.net>
Cc: seabios@seabios.org, kvm@vger.kernel.org
Subject: Re: [SeaBIOS] [PATCH] Make MTRR region 0xc0000-0x100000 be cached.
Date: Sun, 03 Jan 2010 08:15:31 +0200	[thread overview]
Message-ID: <4B403603.80504@redhat.com> (raw)
In-Reply-To: <20100101182308.GB10271@morn.localdomain>

On 01/01/2010 08:23 PM, Kevin O'Connor wrote:
> The current MTRR code in SeaBIOS uses uncached ram for
> 0xc0000-0x100000.  This seems overly pessimistic as "write protect"
> should be sufficient.  (Note, a WP mtrr does not prevent writes - it
> is a caching strategy for memory that can be read-only.)
>
> I'm not sure how much KVM really uses the MTRRs, but if it does honor
> them this should make bootup a bit faster as it will allow caching of
> the SeaBIOS code.
>
> This change also clears all the variable mtrrs, and makes sure all the
> mtrrs are set before they are enabled.
>
>    

kvm ignores the MTRRs, unless device assignment is enabled, in which 
case it honours them.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


      reply	other threads:[~2010-01-03  6:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-01 18:23 [SeaBIOS] [PATCH] Make MTRR region 0xc0000-0x100000 be cached Kevin O'Connor
2010-01-03  6:15 ` Avi Kivity [this message]

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=4B403603.80504@redhat.com \
    --to=avi@redhat.com \
    --cc=kevin@koconnor.net \
    --cc=kvm@vger.kernel.org \
    --cc=seabios@seabios.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.