kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: "Yang, Sheng" <sheng.yang@intel.com>
Cc: kvm@vger.kernel.org, Alex Williamson <alex.williamson@hp.com>
Subject: Re: [PATCH 4/4] kvm: bios: switch MTRRs to cover only the PCI range and default to WB
Date: Sat, 27 Sep 2008 16:36:01 +0300	[thread overview]
Message-ID: <48DE36C1.4070700@redhat.com> (raw)
In-Reply-To: <200809271335.10166.sheng.yang@intel.com>

Yang, Sheng wrote:
> I think we should do a little more than just write msr to update mtrr.
>
> Intel SDM 10.11.8 "MTRR consideration in MP Systems" define the procedure to 
> modify MTRR msr in MP. Especially, step 4 enter no-fill cache mode(set CR0.CD 
> bit and clean NW bit), step 12 re-enabled the caching(clear this two bits).
>
> We based on these behaviors to detect MTRR update.
>
>   

Why not simply flush the mmu on an mtrr write?

(though of course I have no objection to doing what the manual says)

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


  reply	other threads:[~2008-09-27 13:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-25 17:52 [PATCH 4/4] kvm: bios: switch MTRRs to cover only the PCI range and default to WB Alex Williamson
2008-09-27  5:35 ` Yang, Sheng
2008-09-27 13:36   ` Avi Kivity [this message]
2008-09-27 13:55     ` Zwane Mwaikambo
2008-09-28  1:58       ` Sheng Yang

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=48DE36C1.4070700@redhat.com \
    --to=avi@redhat.com \
    --cc=alex.williamson@hp.com \
    --cc=kvm@vger.kernel.org \
    --cc=sheng.yang@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).