Skip to contentSkip to conversation

pc: Fix typo on PC_COMPAT_2_12

PATCH In review Eduardo Habkost 3 participants 3 messages Jul 3, 2018 – Jul 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pc: Fix typo on PC_COMPAT_2_12

I forgot a hyphen when amending the compat code on commit e0051647 ("i386: Enable TOPOEXT feature on AMD EPYC CPU").

Fixes e00516475c270dcb6705753da96063f95699abf2

---
Bug detected by compat_checker:
https://github.com/ehabkost/gdb-qemu

---
 include/hw/i386/pc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/i386/pc.h +1 -1
index 4d99d69681..654003f44c 100644
@@ -309,7 +309,7 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
         .property = "xlevel",\
         .value    = stringify(0x8000000a),\
     },{\
-        .driver   = "EPYC-IBPB" TYPE_X86_CPU,\
+        .driver   = "EPYC-IBPB-" TYPE_X86_CPU,\
         .property = "xlevel",\
         .value    = stringify(0x8000000a),\
     },
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · On Mon, 2 Jul 2018 22:10:26 -0300 Eduardo Habkost <[email protected]> wrote:

I forgot a hyphen when amending the compat code on commit e0051647 ("i386: Enable TOPOEXT feature on AMD EPYC CPU").

Fixes e00516475c270dcb6705753da96063f95699abf2

---
Bug detected by compat_checker:
https://github.com/ehabkost/gdb-qemu

---
 include/hw/i386/pc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/i386/pc.h +0 -0
index 4d99d69681..654003f44c 100644

include/hw/i386/pc.h bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *); · line 315

Quoted 8 lines
include/hw/i386/pc.h +1 -1
@@ -309,7 +309,7 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
         .property = "xlevel",\
         .value    = stringify(0x8000000a),\
     },{\
-        .driver   = "EPYC-IBPB" TYPE_X86_CPU,\
+        .driver   = "EPYC-IBPB-" TYPE_X86_CPU,\
         .property = "xlevel",\
         .value    = stringify(0x8000000a),\
     },
Reviewed-by on v1 1/1
#2 lore raw
In reply to Eduardo Habkost

Looks good. thanks

Quoted 9 lines

-----Original Message-----
From: Eduardo Habkost [mailto:[email protected]]
Sent: Monday, July 2, 2018 8:10 PM
To: [email protected]
Cc: Eduardo Habkost <[email protected]>; Paolo Bonzini <[email protected]>; Moger, Babu <[email protected]>; Michael S. Tsirkin <[email protected]>; Igor Mammedov <[email protected]>
Subject: [PATCH] pc: Fix typo on PC_COMPAT_2_12

Quoted 5 lines

I forgot a hyphen when amending the compat code on commit e0051647 ("i386: Enable TOPOEXT feature on AMD EPYC CPU").

Fixes e00516475c270dcb6705753da96063f95699abf2
Quoted 23 lines

---
Bug detected by compat_checker:
https://github.com/ehabkost/gdb-qemu

---
 include/hw/i386/pc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/i386/pc.h +1 -1
index 4d99d69681..654003f44c 100644
@@ -309,7 +309,7 @@ bool e820_get_entry(int, uint32_t, uint64_t *,
 uint64_t *);
         .property = "xlevel",\
         .value    = stringify(0x8000000a),\
     },{\
-        .driver   = "EPYC-IBPB" TYPE_X86_CPU,\
+        .driver   = "EPYC-IBPB-" TYPE_X86_CPU,\
         .property = "xlevel",\
         .value    = stringify(0x8000000a),\
     },

--
2.18.0.rc1.1.g3f1ff2140