From: Alexander Graf <agraf@suse.de>
To: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] target-i386: Do not announce extended mwait features
Date: Wed, 16 Mar 2011 18:19:30 +0100 [thread overview]
Message-ID: <4D80F122.4050101@suse.de> (raw)
In-Reply-To: <1300285539-30905-1-git-send-email-adam@os.inf.tu-dresden.de>
On 03/16/2011 03:25 PM, Adam Lackorzynski wrote:
> CPUID claims that extended monitor/mwait features are available but the
> mwait helper instantly raises a GPF if they are used. Thus do not announce
> that the extension are available.
Would be better to just implement mwait, no?
Alex
> Signed-off-by: Adam Lackorzynski<adam@os.inf.tu-dresden.de>
> ---
> target-i386/cpuid.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c
> index 5382a28..28275a6 100644
> --- a/target-i386/cpuid.c
> +++ b/target-i386/cpuid.c
> @@ -1104,7 +1104,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count,
> /* mwait info: needed for Core compatibility */
> *eax = 0; /* Smallest monitor-line size in bytes */
> *ebx = 0; /* Largest monitor-line size in bytes */
> - *ecx = CPUID_MWAIT_EMX | CPUID_MWAIT_IBE;
> + *ecx = 0; /* Supported extensions */
> *edx = 0;
> break;
> case 6:
prev parent reply other threads:[~2011-03-16 17:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 14:25 [Qemu-devel] [PATCH] target-i386: Do not announce extended mwait features Adam Lackorzynski
2011-03-16 17:19 ` Alexander Graf [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=4D80F122.4050101@suse.de \
--to=agraf@suse.de \
--cc=adam@os.inf.tu-dresden.de \
--cc=qemu-devel@nongnu.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 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).