Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/cpu_map/index.xml | 1 +
src/cpu_map/meson.build | 1 +
src/cpu_map/x86_SierraForest-v1.xml | 6 +++++
.../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 27 +++++++++++++++++++
.../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 20 ++++++++++++++
tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 27 +++++++++++++++++++
.../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 27 +++++++++++++++++++
.../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 20 ++++++++++++++
tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 27 +++++++++++++++++++
9 files changed, 156 insertions(+)
create mode 100644 src/cpu_map/x86_SierraForest-v1.xml
diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml
index 2cb97a83ba..e4c60fd59b 100644
--- a/src/cpu_map/index.xml
+++ b/src/cpu_map/index.xml
@@ -62,6 +62,7 @@
<include filename='x86_SapphireRapids.xml'/>
<include filename='x86_GraniteRapids.xml'/>
<include filename='x86_SierraForest.xml'/>
+ <include filename='x86_SierraForest-v1.xml'/>
</group>
<group vendor='AMD'>
diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build
index 20f5dbc47e..d5d1f847ec 100644
--- a/src/cpu_map/meson.build
+++ b/src/cpu_map/meson.build
@@ -75,6 +75,7 @@ cpumap_data = [
'x86_SandyBridge-IBRS.xml',
'x86_SandyBridge.xml',
'x86_SapphireRapids.xml',
+ 'x86_SierraForest-v1.xml',
'x86_SierraForest.xml',
'x86_Skylake-Client-IBRS.xml',
'x86_Skylake-Client-noTSX-IBRS.xml',
diff --git a/src/cpu_map/x86_SierraForest-v1.xml b/src/cpu_map/x86_SierraForest-v1.xml
new file mode 100644
index 0000000000..e1498d8713
--- /dev/null
+++ b/src/cpu_map/x86_SierraForest-v1.xml
@@ -0,0 +1,6 @@
+<cpus>
+ <model name='SierraForest-v1'>
+ <decode host='off' guest='off'/>
+ <model name='SierraForest'/>
+ </model>
+</cpus>
diff --git a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml
b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml
index 945e783a25..a4df510af3 100644
--- a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml
+++ b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml
@@ -434,6 +434,33 @@
<feature name='vpclmulqdq'/>
<feature name='xsaves'/>
</blockers>
+ <model usable='no'
vendor='Intel'>SierraForest-v1</model>
+ <blockers model='SierraForest-v1'>
+ <feature name='avx-ifma'/>
+ <feature name='avx-ne-convert'/>
+ <feature name='avx-vnni'/>
+ <feature name='avx-vnni-int8'/>
+ <feature name='bus-lock-detect'/>
+ <feature name='cmpccxadd'/>
+ <feature name='erms'/>
+ <feature name='fbsdp-no'/>
+ <feature name='fsrm'/>
+ <feature name='fsrs'/>
+ <feature name='gfni'/>
+ <feature name='ibrs-all'/>
+ <feature name='invpcid'/>
+ <feature name='mcdt-no'/>
+ <feature name='pbrsb-no'/>
+ <feature name='pcid'/>
+ <feature name='pku'/>
+ <feature name='psdp-no'/>
+ <feature name='sbdr-ssdp-no'/>
+ <feature name='serialize'/>
+ <feature name='spec-ctrl'/>
+ <feature name='vaes'/>
+ <feature name='vpclmulqdq'/>
+ <feature name='xsaves'/>
+ </blockers>
<model usable='no'
vendor='Intel'>Skylake-Client</model>
<blockers model='Skylake-Client'>
<feature name='erms'/>
diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml
b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml
index 9ad8eca845..019cc327a3 100644
--- a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml
+++ b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml
@@ -471,6 +471,26 @@
<feature name='xsavec'/>
<feature name='xsaves'/>
</blockers>
+ <model usable='no'
vendor='Intel'>SierraForest-v1</model>
+ <blockers model='SierraForest-v1'>
+ <feature name='arch-capabilities'/>
+ <feature name='avx-ifma'/>
+ <feature name='avx-ne-convert'/>
+ <feature name='avx-vnni'/>
+ <feature name='avx-vnni-int8'/>
+ <feature name='bus-lock-detect'/>
+ <feature name='gfni'/>
+ <feature name='invpcid'/>
+ <feature name='mcdt-no'/>
+ <feature name='pcid'/>
+ <feature name='serialize'/>
+ <feature name='spec-ctrl'/>
+ <feature name='ssbd'/>
+ <feature name='tsc-deadline'/>
+ <feature name='vpclmulqdq'/>
+ <feature name='xsavec'/>
+ <feature name='xsaves'/>
+ </blockers>
<model usable='no'
vendor='Intel'>Skylake-Client</model>
<blockers model='Skylake-Client'>
<feature name='hle'/>
diff --git a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml
b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml
index 0a131bb151..27b173a441 100644
--- a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml
+++ b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml
@@ -433,6 +433,33 @@
<feature name='vpclmulqdq'/>
<feature name='xsaves'/>
</blockers>
+ <model usable='no'
vendor='Intel'>SierraForest-v1</model>
+ <blockers model='SierraForest-v1'>
+ <feature name='avx-ifma'/>
+ <feature name='avx-ne-convert'/>
+ <feature name='avx-vnni'/>
+ <feature name='avx-vnni-int8'/>
+ <feature name='bus-lock-detect'/>
+ <feature name='cmpccxadd'/>
+ <feature name='erms'/>
+ <feature name='fbsdp-no'/>
+ <feature name='fsrm'/>
+ <feature name='fsrs'/>
+ <feature name='gfni'/>
+ <feature name='ibrs-all'/>
+ <feature name='invpcid'/>
+ <feature name='mcdt-no'/>
+ <feature name='pbrsb-no'/>
+ <feature name='pcid'/>
+ <feature name='pku'/>
+ <feature name='psdp-no'/>
+ <feature name='sbdr-ssdp-no'/>
+ <feature name='serialize'/>
+ <feature name='spec-ctrl'/>
+ <feature name='vaes'/>
+ <feature name='vpclmulqdq'/>
+ <feature name='xsaves'/>
+ </blockers>
<model usable='no'
vendor='Intel'>Skylake-Client</model>
<blockers model='Skylake-Client'>
<feature name='erms'/>
diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml
b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml
index 64c8416672..c88e97cfc4 100644
--- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml
+++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml
@@ -434,6 +434,33 @@
<feature name='vpclmulqdq'/>
<feature name='xsaves'/>
</blockers>
+ <model usable='no'
vendor='Intel'>SierraForest-v1</model>
+ <blockers model='SierraForest-v1'>
+ <feature name='avx-ifma'/>
+ <feature name='avx-ne-convert'/>
+ <feature name='avx-vnni'/>
+ <feature name='avx-vnni-int8'/>
+ <feature name='bus-lock-detect'/>
+ <feature name='cmpccxadd'/>
+ <feature name='erms'/>
+ <feature name='fbsdp-no'/>
+ <feature name='fsrm'/>
+ <feature name='fsrs'/>
+ <feature name='gfni'/>
+ <feature name='ibrs-all'/>
+ <feature name='invpcid'/>
+ <feature name='mcdt-no'/>
+ <feature name='pbrsb-no'/>
+ <feature name='pcid'/>
+ <feature name='pku'/>
+ <feature name='psdp-no'/>
+ <feature name='sbdr-ssdp-no'/>
+ <feature name='serialize'/>
+ <feature name='spec-ctrl'/>
+ <feature name='vaes'/>
+ <feature name='vpclmulqdq'/>
+ <feature name='xsaves'/>
+ </blockers>
<model usable='no'
vendor='Intel'>Skylake-Client</model>
<blockers model='Skylake-Client'>
<feature name='erms'/>
diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml
b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml
index 8a4fc13443..76ca993d50 100644
--- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml
+++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml
@@ -471,6 +471,26 @@
<feature name='xsavec'/>
<feature name='xsaves'/>
</blockers>
+ <model usable='no'
vendor='Intel'>SierraForest-v1</model>
+ <blockers model='SierraForest-v1'>
+ <feature name='arch-capabilities'/>
+ <feature name='avx-ifma'/>
+ <feature name='avx-ne-convert'/>
+ <feature name='avx-vnni'/>
+ <feature name='avx-vnni-int8'/>
+ <feature name='bus-lock-detect'/>
+ <feature name='gfni'/>
+ <feature name='invpcid'/>
+ <feature name='mcdt-no'/>
+ <feature name='pcid'/>
+ <feature name='serialize'/>
+ <feature name='spec-ctrl'/>
+ <feature name='ssbd'/>
+ <feature name='tsc-deadline'/>
+ <feature name='vpclmulqdq'/>
+ <feature name='xsavec'/>
+ <feature name='xsaves'/>
+ </blockers>
<model usable='no'
vendor='Intel'>Skylake-Client</model>
<blockers model='Skylake-Client'>
<feature name='hle'/>
diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml
b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml
index 00f3b78e7e..cc8aa70878 100644
--- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml
+++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml
@@ -433,6 +433,33 @@
<feature name='vpclmulqdq'/>
<feature name='xsaves'/>
</blockers>
+ <model usable='no'
vendor='Intel'>SierraForest-v1</model>
+ <blockers model='SierraForest-v1'>
+ <feature name='avx-ifma'/>
+ <feature name='avx-ne-convert'/>
+ <feature name='avx-vnni'/>
+ <feature name='avx-vnni-int8'/>
+ <feature name='bus-lock-detect'/>
+ <feature name='cmpccxadd'/>
+ <feature name='erms'/>
+ <feature name='fbsdp-no'/>
+ <feature name='fsrm'/>
+ <feature name='fsrs'/>
+ <feature name='gfni'/>
+ <feature name='ibrs-all'/>
+ <feature name='invpcid'/>
+ <feature name='mcdt-no'/>
+ <feature name='pbrsb-no'/>
+ <feature name='pcid'/>
+ <feature name='pku'/>
+ <feature name='psdp-no'/>
+ <feature name='sbdr-ssdp-no'/>
+ <feature name='serialize'/>
+ <feature name='spec-ctrl'/>
+ <feature name='vaes'/>
+ <feature name='vpclmulqdq'/>
+ <feature name='xsaves'/>
+ </blockers>
<model usable='no'
vendor='Intel'>Skylake-Client</model>
<blockers model='Skylake-Client'>
<feature name='erms'/>
--
2.47.0