qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Liu, Jinsong" <jinsong.liu@intel.com>,
	Asit K Mallick <asit.k.mallick@intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: [Qemu-devel] [PULL 3/3] target-i386: bugfix of Intel MPX
Date: Tue, 11 Mar 2014 11:50:38 +0100	[thread overview]
Message-ID: <1394535038-32454-4-git-send-email-pbonzini@redhat.com> (raw)
In-Reply-To: <1394535038-32454-1-git-send-email-pbonzini@redhat.com>

From: "Liu, Jinsong" <jinsong.liu@intel.com>

The correct size of cpuid 0x0d sub-leaf 4 is 0x40, not 0x10.
This is confirmed by Anvin H Peter and Mallick Asit K.

Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Asit K Mallick <asit.k.mallick@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
---
 target-i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 0e8812a..9f69d7e 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -339,7 +339,7 @@ static const ExtSaveArea ext_save_areas[] = {
     [3] = { .feature = FEAT_7_0_EBX, .bits = CPUID_7_0_EBX_MPX,
             .offset = 0x3c0, .size = 0x40  },
     [4] = { .feature = FEAT_7_0_EBX, .bits = CPUID_7_0_EBX_MPX,
-            .offset = 0x400, .size = 0x10  },
+            .offset = 0x400, .size = 0x40  },
 };
 
 const char *get_register_name_32(unsigned int reg)
-- 
1.8.3.1

  parent reply	other threads:[~2014-03-11 10:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11 10:50 [Qemu-devel] [PULL 0/3] KVM uq/master changes for 2013-03-14 Paolo Bonzini
2014-03-11 10:50 ` [Qemu-devel] [PULL 1/3] kvm-all: exit in case max vcpus exceeded Paolo Bonzini
2014-03-11 10:50 ` [Qemu-devel] [PULL 2/3] file_ram_alloc: unify mem-path, mem-prealloc error handling Paolo Bonzini
2014-03-11 10:50 ` Paolo Bonzini [this message]
2014-03-11 21:10   ` [Qemu-devel] [PULL 3/3] target-i386: bugfix of Intel MPX Andreas Färber
2014-03-11 19:54 ` [Qemu-devel] [PULL 0/3] KVM uq/master changes for 2013-03-14 Peter Maydell

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=1394535038-32454-4-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=asit.k.mallick@intel.com \
    --cc=hpa@zytor.com \
    --cc=jinsong.liu@intel.com \
    --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).