49 lines
1.5 KiB
Diff
49 lines
1.5 KiB
Diff
|
|
From 3323c09d283e02c10bbf6e8dfc43ea9f41e746db Mon Sep 17 00:00:00 2001
|
||
|
|
From: Lei Wang <lei4.wang@intel.com>
|
||
|
|
Date: Wed, 24 Apr 2024 03:29:12 -0400
|
||
|
|
Subject: [PATCH] target/i386: Introduce SapphireRapids-v3 to add missing
|
||
|
|
features
|
||
|
|
|
||
|
|
commit b10b2481738304db13d28252e86c10555121a5b3 upstream.
|
||
|
|
|
||
|
|
Add the missing features(ss, tsc-adjust, cldemote, movdiri, movdir64b) in
|
||
|
|
the SapphireRapids-v3 CPU model.
|
||
|
|
|
||
|
|
Intel-SIG: commit b10b24817383 target/i386: Introduce SapphireRapids-v3 to add missing features.
|
||
|
|
8.2-SPR new model support
|
||
|
|
|
||
|
|
Signed-off-by: Lei Wang <lei4.wang@intel.com>
|
||
|
|
Message-ID: <20240424072912.43188-1-lei4.wang@intel.com>
|
||
|
|
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
||
|
|
[ Quanxian Wang: amend commit log ]
|
||
|
|
Signed-off-by: Quanxian Wang <quanxian.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 19ebd49e8c..ca7e5337b0 100644
|
||
|
|
--- a/target/i386/cpu.c
|
||
|
|
+++ b/target/i386/cpu.c
|
||
|
|
@@ -4020,6 +4020,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.41.0.windows.1
|
||
|
|
|