qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] target/i386: Introduce SapphireRapids-v3 to add missing features
@ 2024-04-24  7:29 Lei Wang
  2024-04-24  8:20 ` Paolo Bonzini
  2024-04-24  8:33 ` Zhao Liu
  0 siblings, 2 replies; 4+ messages in thread
From: Lei Wang @ 2024-04-24  7:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, manish.mishra, xiaoyao.li, chenyi.qiang, tao1.su

Add the missing features(ss, tsc-adjust, cldemote, movdiri, movdir64b) in
the SapphireRapids-v3 CPU model.

Signed-off-by: Lei Wang <lei4.wang@intel.com>
---
 target/i386/cpu.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index fd6af0d763..77e7945152 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3970,6 +3970,17 @@ static const X86CPUDefinition builtin_x86_defs[] = {
                     { /* end of list */ }
                 }
             },
+            {
+                .version = 3,
+                .props = (PropValue[]) {
+                    { "ss", "on" },
+                    { "tsc-adjust", "on" },
+                    { "cldemote", "on" },
+                    { "movdiri", "on" },
+                    { "movdir64b", "on" },
+                    { /* end of list */ }
+                }
+            },
             { /* end of list */ }
         }
     },
-- 
2.39.3



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-24  8:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-24  7:29 [PATCH] target/i386: Introduce SapphireRapids-v3 to add missing features Lei Wang
2024-04-24  8:20 ` Paolo Bonzini
2024-04-24  8:33 ` Zhao Liu
2024-04-24  8:25   ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).