Skip to contentSkip to conversation

target-i386: fix IvyBridge xlevel in PC_COMPAT_2_3

PATCH Applied Radim Krčmář 6 participants 10 messages Aug 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target-i386: fix IvyBridge xlevel in PC_COMPAT_2_3

Previous patch changed xlevel and missed the compatibility code.

Fixes 3046bb5debc8 ("target-i386: emulate CPUID level of real hardware")
---
 include/hw/i386/pc.h | 4 ++++
 1 file changed, 4 insertions(+)
include/hw/i386/pc.h +4 -0
index c4165740cf1c..954203d227e4 100644
@@ -351,6 +351,10 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
             .property = "xlevel",\
             .value    = stringify(0x8000000a),\
         },{\
+            .driver   = "IvyBridge" "-" TYPE_X86_CPU,\
+            .property = "xlevel",\
+            .value    = stringify(0x8000000a),\
+        },{\
             .driver   = "Haswell" "-" TYPE_X86_CPU,\
             .property = "xlevel",\
             .value    = stringify(0x8000000a),\
Signature · 1 line
2.5.0
Reviewed-by on v1 1/1
#1 lore raw

Am 04.08.2015 um 16:17 schrieb Radim Krčmář:

Quoted 7 lines

Previous patch changed xlevel and missed the compatibility code.

Fixes 3046bb5debc8 ("target-i386: emulate CPUID level of real hardware")
---
 include/hw/i386/pc.h | 4 ++++
 1 file changed, 4 insertions(+)

Looks okay,

Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB
21284 (AG Nürnberg)
#2 lore raw
Quoted 9 lines · Andreas Färber

Am 04.08.2015 um 16:17 schrieb Radim Krčmář:

Quoted 7 lines

Previous patch changed xlevel and missed the compatibility code.

Fixes 3046bb5debc8 ("target-i386: emulate CPUID level of real hardware")
---
 include/hw/i386/pc.h | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 5 lines

Looks okay,

Andreas

Please merge through the CPU tree.

Quoted 4 lines
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB
21284 (AG Nürnberg)
#3 lore raw
Quoted 12 lines · Michael S. Tsirkin
Quoted 11 lines · Andreas Färber

Am 04.08.2015 um 16:17 schrieb Radim Krčmář:

Quoted 7 lines

Previous patch changed xlevel and missed the compatibility code.

Fixes 3046bb5debc8 ("target-i386: emulate CPUID level of real hardware")
---
 include/hw/i386/pc.h | 4 ++++
 1 file changed, 4 insertions(+)

Looks okay,

Quoted 7 lines
Quoted 3 lines

Andreas

Please merge through the CPU tree.

Do you object if I just apply it to master? I'd like to get the next rc out today or tomorrow and I'm not sure we have any other outstanding for-2.4 fixes...

-- PMM

#4 lore raw
Quoted 19 lines · Peter Maydell
Quoted 18 lines · Michael S. Tsirkin
Quoted 9 lines · Andreas Färber

Am 04.08.2015 um 16:17 schrieb Radim Krčmář:

Quoted 7 lines

Previous patch changed xlevel and missed the compatibility code.

Fixes 3046bb5debc8 ("target-i386: emulate CPUID level of real hardware")
---
 include/hw/i386/pc.h | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 5 lines

Looks okay,

Andreas

Quoted 7 lines
Quoted 1 line

Please merge through the CPU tree.

Do you object if I just apply it to master? I'd like to get the next rc out today or tomorrow and I'm not sure we have any other outstanding for-2.4 fixes...

-- PMM

I don't object.

#5 lore raw
In reply to Peter Maydell
Quoted 17 lines · Peter Maydell
Quoted 16 lines · Michael S. Tsirkin
Quoted 14 lines · Andreas Färber

Am 04.08.2015 um 16:17 schrieb Radim Krčmář:

Quoted 7 lines

Previous patch changed xlevel and missed the compatibility code.

Fixes 3046bb5debc8 ("target-i386: emulate CPUID level of real hardware")
---
 include/hw/i386/pc.h | 4 ++++
 1 file changed, 4 insertions(+)

Looks okay,

Andreas

Quoted 7 lines
Quoted 3 lines

Please merge through the CPU tree.

Do you object if I just apply it to master? I'd like to get the next rc out today or tomorrow and I'm not sure we have any other outstanding for-2.4 fixes...

No problem. If you want to, I have just published a signed tag ready for pulling:

---------------------

The following changes since commit 426d0e7b7e031a1592292b3eb275483b341a2f28:

Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150804' into staging (2015-08-04 12:57:06 +0100)

are available in the git repository at:

git://github.com/ehabkost/qemu.git tags/x86-pull-request

for you to fetch changes up to 27751aabd1e0359d84314bc230beccdef2168d1f:

target-i386: fix IvyBridge xlevel in PC_COMPAT_2_3 (2015-08-04 12:49:32 -0300)

----------------------------------------------------------------
X86 queue, 2015-08-04

----------------------------------------------------------------

Radim Krčmář (1):
target-i386: fix IvyBridge xlevel in PC_COMPAT_2_3

 include/hw/i386/pc.h | 4 ++++
 1 file changed, 4 insertions(+)
Signature · 1 line
Eduardo
#6 lore raw
Quoted 20 lines · Eduardo Habkost
Quoted 19 lines · Peter Maydell
Quoted 18 lines · Michael S. Tsirkin
Quoted 9 lines · Andreas Färber

Am 04.08.2015 um 16:17 schrieb Radim Krčmář:

Quoted 7 lines

Previous patch changed xlevel and missed the compatibility code.

Fixes 3046bb5debc8 ("target-i386: emulate CPUID level of real hardware")
---
 include/hw/i386/pc.h | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 5 lines

Looks okay,

Andreas

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Please merge through the CPU tree.

Do you object if I just apply it to master? I'd like to get the next rc out today or tomorrow and I'm not sure we have any other outstanding for-2.4 fixes...

No problem. If you want to, I have just published a signed tag ready for pulling:

Great, I'll use that.

-- PMM

#7 lore raw
Quoted 5 lines · Peter Maydell
Quoted 2 lines · Eduardo Habkost

No problem. If you want to, I have just published a signed tag ready for pulling:

Great, I'll use that.

Applied, thanks.

-- PMM

#8 lore raw
In reply to Peter Maydell
Quoted 3 lines · Peter Maydell

Do you object if I just apply it to master? I'd like to get the next rc out today or tomorrow and I'm not sure we have any other outstanding for-2.4 fixes...

https://lists.gnu.org/archive/html/qemu-devel/2015-08/msg00412.html
looks like a regression in 2.4 that might be worth including in the rc...

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org