[Qemu-devel] [PATCH] i386: Update Cascadelake-Server-v2 CPU model

Eduardo Habkost posted 1 patch 4 years, 10 months ago
Failed in applying to current master (apply log)
target/i386/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[Qemu-devel] [PATCH] i386: Update Cascadelake-Server-v2 CPU model
Posted by Eduardo Habkost 4 years, 10 months ago
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(-)

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 */ }
               },
             },
-- 
2.18.0.rc1.1.g3f1ff2140