|
|
05bba0 |
From ec56a547380c2cecda150988545287fafee14a6d Mon Sep 17 00:00:00 2001
|
|
|
05bba0 |
From: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
05bba0 |
Date: Thu, 25 Jun 2015 19:31:25 +0200
|
|
|
05bba0 |
Subject: [PATCH 05/10] target-i386: bugfix of Intel MPX
|
|
|
05bba0 |
|
|
|
05bba0 |
Message-id: <1435260689-9556-5-git-send-email-ehabkost@redhat.com>
|
|
|
05bba0 |
Patchwork-id: 66502
|
|
|
05bba0 |
O-Subject: [RHEL-7.2 qemu-kvm PATCH 4/8] target-i386: bugfix of Intel MPX
|
|
|
05bba0 |
Bugzilla: 1233350
|
|
|
05bba0 |
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
|
|
|
05bba0 |
RH-Acked-by: Bandan Das <bsd@redhat.com>
|
|
|
05bba0 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
05bba0 |
|
|
|
05bba0 |
From: "Liu, Jinsong" <jinsong.liu@intel.com>
|
|
|
05bba0 |
|
|
|
05bba0 |
The correct size of cpuid 0x0d sub-leaf 4 is 0x40, not 0x10.
|
|
|
05bba0 |
This is confirmed by Anvin H Peter and Mallick Asit K.
|
|
|
05bba0 |
|
|
|
05bba0 |
Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
|
|
|
05bba0 |
Cc: H. Peter Anvin <hpa@zytor.com>
|
|
|
05bba0 |
Cc: Asit K Mallick <asit.k.mallick@intel.com>
|
|
|
05bba0 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
05bba0 |
|
|
|
05bba0 |
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
|
|
|
05bba0 |
(cherry picked from commit b0f15a5d5628994c71a6f428f360a5a537ad3b39)
|
|
|
05bba0 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
05bba0 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
05bba0 |
---
|
|
|
05bba0 |
target-i386/cpu.c | 2 +-
|
|
|
05bba0 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
05bba0 |
|
|
|
05bba0 |
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
|
|
|
05bba0 |
index a9e80d9..2eeff5c 100644
|
|
|
05bba0 |
--- a/target-i386/cpu.c
|
|
|
05bba0 |
+++ b/target-i386/cpu.c
|
|
|
05bba0 |
@@ -227,7 +227,7 @@ static const ExtSaveArea ext_save_areas[] = {
|
|
|
05bba0 |
[3] = { .feature = FEAT_7_0_EBX, .bits = CPUID_7_0_EBX_MPX,
|
|
|
05bba0 |
.offset = 0x3c0, .size = 0x40 },
|
|
|
05bba0 |
[4] = { .feature = FEAT_7_0_EBX, .bits = CPUID_7_0_EBX_MPX,
|
|
|
05bba0 |
- .offset = 0x400, .size = 0x10 },
|
|
|
05bba0 |
+ .offset = 0x400, .size = 0x40 },
|
|
|
05bba0 |
};
|
|
|
05bba0 |
|
|
|
05bba0 |
const char *get_register_name_32(unsigned int reg)
|
|
|
05bba0 |
--
|
|
|
05bba0 |
1.8.3.1
|
|
|
05bba0 |
|