mirror of https://gitee.com/openkylin/libvirt.git
cpu_map: Distinguish Cascadelake-Server from Skylake-Server
The signatures of these two CPU model differ only in stepping as both report family 6 and model 85. Skylake-Server uses stepping 4 or less and Cascadelake-Server uses stepping 5..7. https://bugzilla.redhat.com/show_bug.cgi?id=1761678 Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
3714779b15
commit
5d6059f8ec
|
@ -1,7 +1,7 @@
|
|||
<cpus>
|
||||
<model name='Cascadelake-Server-noTSX'>
|
||||
<decode host='on' guest='off'/>
|
||||
<signature family='6' model='85'/> <!-- 050654 -->
|
||||
<signature family='6' model='85' stepping='5-7'/> <!-- 050654 -->
|
||||
<vendor name='Intel'/>
|
||||
<feature name='3dnowprefetch'/>
|
||||
<feature name='abm'/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<cpus>
|
||||
<model name='Cascadelake-Server'>
|
||||
<decode host='on' guest='on'/>
|
||||
<signature family='6' model='85'/> <!-- 050654 -->
|
||||
<signature family='6' model='85' stepping='5-7'/> <!-- 050654 -->
|
||||
<vendor name='Intel'/>
|
||||
<feature name='3dnowprefetch'/>
|
||||
<feature name='abm'/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<cpus>
|
||||
<model name='Skylake-Server-IBRS'>
|
||||
<decode host='on' guest='on'/>
|
||||
<signature family='6' model='85'/> <!-- 050654 -->
|
||||
<signature family='6' model='85' stepping='0-4'/> <!-- 050654 -->
|
||||
<vendor name='Intel'/>
|
||||
<feature name='3dnowprefetch'/>
|
||||
<feature name='abm'/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<cpus>
|
||||
<model name='Skylake-Server-noTSX-IBRS'>
|
||||
<decode host='on' guest='off'/>
|
||||
<signature family='6' model='85'/> <!-- 050654 -->
|
||||
<signature family='6' model='85' stepping='0-4'/> <!-- 050654 -->
|
||||
<vendor name='Intel'/>
|
||||
<feature name='3dnowprefetch'/>
|
||||
<feature name='abm'/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<cpus>
|
||||
<model name='Skylake-Server'>
|
||||
<decode host='on' guest='on'/>
|
||||
<signature family='6' model='85'/> <!-- 050654 -->
|
||||
<signature family='6' model='85' stepping='0-4'/> <!-- 050654 -->
|
||||
<vendor name='Intel'/>
|
||||
<feature name='3dnowprefetch'/>
|
||||
<feature name='abm'/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='forbid'>Cascadelake-Server</model>
|
||||
<model fallback='forbid'>Skylake-Server-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='ds'/>
|
||||
<feature policy='require' name='acpi'/>
|
||||
|
@ -20,14 +20,15 @@
|
|||
<feature policy='require' name='osxsave'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='cmt'/>
|
||||
<feature policy='require' name='clflushopt'/>
|
||||
<feature policy='require' name='intel-pt'/>
|
||||
<feature policy='require' name='pku'/>
|
||||
<feature policy='require' name='ospke'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaves'/>
|
||||
<feature policy='require' name='mbm_total'/>
|
||||
<feature policy='require' name='mbm_local'/>
|
||||
<feature policy='require' name='invtsc'/>
|
||||
<feature policy='disable' name='avx512vnni'/>
|
||||
</cpu>
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='forbid'>Cascadelake-Server</model>
|
||||
<model fallback='forbid'>Skylake-Server-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='clflushopt'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='pku'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaves'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='disable' name='avx512vnni'/>
|
||||
</cpu>
|
||||
|
|
Loading…
Reference in New Issue