i386: Update Cascadelake-Server-v2 CPU model
diff mbox series

Message ID 20190703221723.8161-1-ehabkost@redhat.com
State New
Headers show
Series
  • i386: Update Cascadelake-Server-v2 CPU model
Related show

Commit Message

Eduardo Habkost July 3, 2019, 10:17 p.m. UTC
Cascadelake-Server-v2 had stepping=5 set by mistake (I misread an
old patch setting stepping=5 at compat_props), and doesn't have
mds-no set.  Fix these two issues.

Reported-by: Xiaoyao Li <xiaoyao.li@linux.intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 target/i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 3a66c86c14..805ce95247 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -2347,11 +2347,11 @@  static X86CPUDefinition builtin_x86_defs[] = {
             { .version = 1 },
             { .version = 2,
               .props = (PropValue[]) {
-                  { "stepping", "5" },
                   { "arch-capabilities", "on" },
                   { "rdctl-no", "on" },
                   { "ibrs-all", "on" },
                   { "skip-l1dfl-vmentry", "on" },
+                  { "mds-no", "on" },
                   { /* end of list */ }
               },
             },