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