qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Tao Xu <tao3.xu@intel.com>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: "Lai, Paul C" <paul.c.lai@intel.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"Guo, Xuelian" <xuelian.guo@intel.com>
Subject: Re: About MONITOR/MWAIT in i386 CPU model
Date: Thu, 14 Nov 2019 08:50:49 +0800	[thread overview]
Message-ID: <b1499e62-269a-2a78-d89a-3e9cdf99f919@intel.com> (raw)
In-Reply-To: <20191113224717.GN3812@habkost.net>

On 11/14/2019 6:47 AM, Eduardo Habkost wrote:
> On Wed, Nov 13, 2019 at 04:42:25PM +0800, Tao Xu wrote:
>> Hi Eduardo,
>>
>> After kvm use "-overcommit cpu-pm=on" to expose MONITOR/MWAIT
>> (commit id 6f131f13e68d648a8e4f083c667ab1acd88ce4cd), the MONITOR/MWAIT
>> feature in CPU model (phenom core2duo coreduo n270 Opteron_G3 EPYC Snowridge
>> Denverton) may be unused. For example, when we boot a guest with Denverton
>> cpu model, guest cannot detect MONITOR and boot with no warning. Should we
>> remove this feature from some CPU model?
> 
> Good catch, thanks!
> 
> Yes, we should remove them from Opteron_G3, EPYC, Snowridge, and
> Denverton, at least.  The other older CPU models can be left
> alone: they are more useful for use with TCG than with KVM, and
> TCG supports MONITOR/MWAIT.
> 
> I would like to understand why this wasn't detected during
> testing by Intel.  I suggest always testing CPU models using the
> "enforce" flag to make sure warnings don't go unnoticed.
> 

OK we will improve the testing.


      reply	other threads:[~2019-11-14  0:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-13  8:42 About MONITOR/MWAIT in i386 CPU model Tao Xu
2019-11-13 22:47 ` Eduardo Habkost
2019-11-14  0:50   ` Tao Xu [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=b1499e62-269a-2a78-d89a-3e9cdf99f919@intel.com \
    --to=tao3.xu@intel.com \
    --cc=ehabkost@redhat.com \
    --cc=paul.c.lai@intel.com \
    --cc=qemu-devel@nongnu.org \
    --cc=xuelian.guo@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).