render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
8c03ec
From b5716d1b191eb52cd88d7b94cb9bf0186f3e427b Mon Sep 17 00:00:00 2001
8c03ec
Message-Id: <b5716d1b191eb52cd88d7b94cb9bf0186f3e427b@dist-git>
8c03ec
From: Jiri Denemark <jdenemar@redhat.com>
8c03ec
Date: Wed, 3 Mar 2021 11:11:54 +0100
8c03ec
Subject: [PATCH] cpu_map: Add EPYC-Milan x86 CPU model
8c03ec
MIME-Version: 1.0
8c03ec
Content-Type: text/plain; charset=UTF-8
8c03ec
Content-Transfer-Encoding: 8bit
8c03ec
8c03ec
Introduced in QEMU 6.0.0 by 623972ceae091b31331ae4a1dc94fe5cbb891937
8c03ec
8c03ec
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
8c03ec
Reviewed-by: Ján Tomko <jtomko@redhat.com>
8c03ec
(cherry picked from commit f321a4822e9fa6542e48a78611989ecd9acaa83a)
8c03ec
8c03ec
https://bugzilla.redhat.com/show_bug.cgi?id=1926864
8c03ec
8c03ec
Conflicts:
8c03ec
	src/cpu_map/index.xml
8c03ec
            - context: commit 82bebba1803c63a733e17f5ab2618e020e4abd8d
8c03ec
              "cpu_map: Unify apostrophe and quotation mark usage" was
8c03ec
              not backported
8c03ec
8c03ec
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
8c03ec
Message-Id: <715abc0f90faafb7daa193dd24bad65046c36de0.1614766279.git.jdenemar@redhat.com>
8c03ec
Reviewed-by: Ján Tomko <jtomko@redhat.com>
8c03ec
---
8c03ec
 src/cpu_map/index.xml          |  1 +
8c03ec
 src/cpu_map/x86_EPYC-Milan.xml | 92 ++++++++++++++++++++++++++++++++++
8c03ec
 2 files changed, 93 insertions(+)
8c03ec
 create mode 100644 src/cpu_map/x86_EPYC-Milan.xml
8c03ec
8c03ec
diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml
8c03ec
index 2f58261e6d..c3dda794b1 100644
8c03ec
--- a/src/cpu_map/index.xml
8c03ec
+++ b/src/cpu_map/index.xml
8c03ec
@@ -68,6 +68,7 @@
8c03ec
     <include filename="x86_EPYC.xml"/>
8c03ec
     <include filename="x86_EPYC-IBPB.xml"/>
8c03ec
     <include filename="x86_EPYC-Rome.xml"/>
8c03ec
+    <include filename='x86_EPYC-Milan.xml'/>
8c03ec
 
8c03ec
     
8c03ec
     <include filename="x86_Dhyana.xml"/>
8c03ec
diff --git a/src/cpu_map/x86_EPYC-Milan.xml b/src/cpu_map/x86_EPYC-Milan.xml
8c03ec
new file mode 100644
8c03ec
index 0000000000..53f0cd6aac
8c03ec
--- /dev/null
8c03ec
+++ b/src/cpu_map/x86_EPYC-Milan.xml
8c03ec
@@ -0,0 +1,92 @@
8c03ec
+<cpus>
8c03ec
+  <model name='EPYC-Milan'>
8c03ec
+    <decode host='on' guest='on'/>
8c03ec
+    <signature family='25' model='1'/>
8c03ec
+    <vendor name='AMD'/>
8c03ec
+    <feature name='3dnowprefetch'/>
8c03ec
+    <feature name='abm'/>
8c03ec
+    <feature name='adx'/>
8c03ec
+    <feature name='aes'/>
8c03ec
+    <feature name='amd-ssbd'/>
8c03ec
+    <feature name='amd-stibp'/>
8c03ec
+    <feature name='apic'/>
8c03ec
+    <feature name='arat'/>
8c03ec
+    <feature name='avx'/>
8c03ec
+    <feature name='avx2'/>
8c03ec
+    <feature name='bmi1'/>
8c03ec
+    <feature name='bmi2'/>
8c03ec
+    <feature name='clflush'/>
8c03ec
+    <feature name='clflushopt'/>
8c03ec
+    <feature name='clwb'/>
8c03ec
+    <feature name='clzero'/>
8c03ec
+    <feature name='cmov'/>
8c03ec
+    <feature name='cr8legacy'/>
8c03ec
+    <feature name='cx16'/>
8c03ec
+    <feature name='cx8'/>
8c03ec
+    <feature name='de'/>
8c03ec
+    <feature name='erms'/>
8c03ec
+    <feature name='f16c'/>
8c03ec
+    <feature name='fma'/>
8c03ec
+    <feature name='fpu'/>
8c03ec
+    <feature name='fsgsbase'/>
8c03ec
+    <feature name='fsrm'/>
8c03ec
+    <feature name='fxsr'/>
8c03ec
+    <feature name='fxsr_opt'/>
8c03ec
+    <feature name='ibpb'/>
8c03ec
+    <feature name='ibrs'/>
8c03ec
+    <feature name='invpcid'/>
8c03ec
+    <feature name='lahf_lm'/>
8c03ec
+    <feature name='lm'/>
8c03ec
+    <feature name='mca'/>
8c03ec
+    <feature name='mce'/>
8c03ec
+    <feature name='misalignsse'/>
8c03ec
+    <feature name='mmx'/>
8c03ec
+    <feature name='mmxext'/>
8c03ec
+    <feature name='movbe'/>
8c03ec
+    <feature name='msr'/>
8c03ec
+    <feature name='mtrr'/>
8c03ec
+    <feature name='npt'/>
8c03ec
+    <feature name='nrip-save'/>
8c03ec
+    <feature name='nx'/>
8c03ec
+    <feature name='osvw'/>
8c03ec
+    <feature name='pae'/>
8c03ec
+    <feature name='pat'/>
8c03ec
+    <feature name='pcid'/>
8c03ec
+    <feature name='pclmuldq'/>
8c03ec
+    <feature name='pdpe1gb'/>
8c03ec
+    <feature name='perfctr_core'/>
8c03ec
+    <feature name='pge'/>
8c03ec
+    <feature name='pku'/>
8c03ec
+    <feature name='pni'/>
8c03ec
+    <feature name='popcnt'/>
8c03ec
+    <feature name='pse'/>
8c03ec
+    <feature name='pse36'/>
8c03ec
+    <feature name='rdpid'/>
8c03ec
+    <feature name='rdrand'/>
8c03ec
+    <feature name='rdseed'/>
8c03ec
+    <feature name='rdtscp'/>
8c03ec
+    <feature name='sep'/>
8c03ec
+    <feature name='sha-ni'/>
8c03ec
+    <feature name='smap'/>
8c03ec
+    <feature name='smep'/>
8c03ec
+    <feature name='sse'/>
8c03ec
+    <feature name='sse2'/>
8c03ec
+    <feature name='sse4.1'/>
8c03ec
+    <feature name='sse4.2'/>
8c03ec
+    <feature name='sse4a'/>
8c03ec
+    <feature name='ssse3'/>
8c03ec
+    <feature name='svm'/>
8c03ec
+    <feature name='svme-addr-check'/>
8c03ec
+    <feature name='syscall'/>
8c03ec
+    <feature name='tsc'/>
8c03ec
+    <feature name='umip'/>
8c03ec
+    <feature name='vme'/>
8c03ec
+    <feature name='wbnoinvd'/>
8c03ec
+    <feature name='xgetbv1'/>
8c03ec
+    <feature name='xsave'/>
8c03ec
+    <feature name='xsavec'/>
8c03ec
+    <feature name='xsaveerptr'/>
8c03ec
+    <feature name='xsaveopt'/>
8c03ec
+    <feature name='xsaves'/>
8c03ec
+  </model>
8c03ec
+</cpus>
8c03ec
-- 
8c03ec
2.30.0
8c03ec