mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
cpu_map: Define and enable Snowridge model
Due to missing pdpe1gb support in the host CPU data, the CPU is still incorrectly detected as Westmere-IBRS for host capabilities because we don't have the option to disable features included in the base model there. Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
13db542cf3
commit
f0a5cf4b8a
@ -55,6 +55,7 @@
|
||||
<include filename='x86_Icelake-Server.xml'/>
|
||||
<include filename='x86_Icelake-Server-noTSX.xml'/>
|
||||
<include filename='x86_Cooperlake.xml'/>
|
||||
<include filename='x86_Snowridge.xml'/>
|
||||
|
||||
<!-- AMD CPUs -->
|
||||
<include filename='x86_athlon.xml'/>
|
||||
|
@ -72,6 +72,7 @@ cpumap_data = [
|
||||
'x86_Skylake-Server-IBRS.xml',
|
||||
'x86_Skylake-Server-noTSX-IBRS.xml',
|
||||
'x86_Skylake-Server.xml',
|
||||
'x86_Snowridge.xml',
|
||||
'x86_vendors.xml',
|
||||
'x86_Westmere-IBRS.xml',
|
||||
'x86_Westmere.xml',
|
||||
|
71
src/cpu_map/x86_Snowridge.xml
Normal file
71
src/cpu_map/x86_Snowridge.xml
Normal file
@ -0,0 +1,71 @@
|
||||
<cpus>
|
||||
<model name='Snowridge'>
|
||||
<decode host='on' guest='on'/>
|
||||
<signature family='6' model='134'/> <!-- 080665 -->
|
||||
<vendor name='Intel'/>
|
||||
<feature name='3dnowprefetch'/>
|
||||
<feature name='aes'/>
|
||||
<feature name='apic'/>
|
||||
<feature name='arat'/>
|
||||
<feature name='arch-capabilities'/>
|
||||
<feature name='cldemote'/>
|
||||
<feature name='clflush'/>
|
||||
<feature name='clflushopt'/>
|
||||
<feature name='clwb'/>
|
||||
<feature name='cmov'/>
|
||||
<feature name='core-capability'/>
|
||||
<feature name='cx16'/>
|
||||
<feature name='cx8'/>
|
||||
<feature name='de'/>
|
||||
<feature name='erms'/>
|
||||
<feature name='fpu'/>
|
||||
<feature name='fsgsbase'/>
|
||||
<feature name='fxsr'/>
|
||||
<feature name='gfni'/>
|
||||
<feature name='lahf_lm'/>
|
||||
<feature name='lm'/>
|
||||
<feature name='mca'/>
|
||||
<feature name='mce'/>
|
||||
<feature name='mmx'/>
|
||||
<feature name='movbe'/>
|
||||
<feature name='movdir64b'/>
|
||||
<feature name='movdiri'/>
|
||||
<feature name='msr'/>
|
||||
<feature name='mtrr'/>
|
||||
<feature name='nx'/>
|
||||
<feature name='pae'/>
|
||||
<feature name='pat'/>
|
||||
<feature name='pclmuldq'/>
|
||||
<feature name='pdpe1gb'/>
|
||||
<feature name='pge'/>
|
||||
<feature name='pni'/>
|
||||
<feature name='popcnt'/>
|
||||
<feature name='pse'/>
|
||||
<feature name='pse36'/>
|
||||
<feature name='rdrand'/>
|
||||
<feature name='rdseed'/>
|
||||
<feature name='rdtscp'/>
|
||||
<feature name='sep'/>
|
||||
<feature name='sha-ni'/>
|
||||
<feature name='smap'/>
|
||||
<feature name='smep'/>
|
||||
<feature name='spec-ctrl'/>
|
||||
<feature name='split-lock-detect'/>
|
||||
<feature name='ssbd'/>
|
||||
<feature name='sse'/>
|
||||
<feature name='sse2'/>
|
||||
<feature name='sse4.1'/>
|
||||
<feature name='sse4.2'/>
|
||||
<feature name='ssse3'/>
|
||||
<feature name='syscall'/>
|
||||
<feature name='tsc'/>
|
||||
<feature name='tsc-deadline'/>
|
||||
<feature name='umip'/>
|
||||
<feature name='vme'/>
|
||||
<feature name='x2apic'/>
|
||||
<feature name='xgetbv1'/>
|
||||
<feature name='xsave'/>
|
||||
<feature name='xsavec'/>
|
||||
<feature name='xsaveopt'/>
|
||||
</model>
|
||||
</cpus>
|
@ -1,5 +1,5 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='forbid'>IvyBridge-IBRS</model>
|
||||
<model fallback='forbid'>Snowridge</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='ds'/>
|
||||
<feature policy='require' name='acpi'/>
|
||||
@ -16,36 +16,17 @@
|
||||
<feature policy='require' name='tm2'/>
|
||||
<feature policy='require' name='xtpr'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='movbe'/>
|
||||
<feature policy='require' name='osxsave'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='cmt'/>
|
||||
<feature policy='require' name='rdseed'/>
|
||||
<feature policy='require' name='smap'/>
|
||||
<feature policy='require' name='clflushopt'/>
|
||||
<feature policy='require' name='clwb'/>
|
||||
<feature policy='require' name='intel-pt'/>
|
||||
<feature policy='require' name='sha-ni'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='waitpkg'/>
|
||||
<feature policy='require' name='gfni'/>
|
||||
<feature policy='require' name='rdpid'/>
|
||||
<feature policy='require' name='cldemote'/>
|
||||
<feature policy='require' name='movdiri'/>
|
||||
<feature policy='require' name='movdir64b'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='core-capability'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='xsavec'/>
|
||||
<feature policy='require' name='xgetbv1'/>
|
||||
<feature policy='require' name='xsaves'/>
|
||||
<feature policy='require' name='mbm_total'/>
|
||||
<feature policy='require' name='mbm_local'/>
|
||||
<feature policy='require' name='3dnowprefetch'/>
|
||||
<feature policy='require' name='invtsc'/>
|
||||
<feature policy='require' name='rdctl-no'/>
|
||||
<feature policy='require' name='ibrs-all'/>
|
||||
@ -53,7 +34,8 @@
|
||||
<feature policy='require' name='mds-no'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='require' name='taa-no'/>
|
||||
<feature policy='require' name='split-lock-detect'/>
|
||||
<feature policy='disable' name='avx'/>
|
||||
<feature policy='disable' name='f16c'/>
|
||||
<feature policy='disable' name='mpx'/>
|
||||
<feature policy='disable' name='core-capability'/>
|
||||
<feature policy='disable' name='pdpe1gb'/>
|
||||
<feature policy='disable' name='split-lock-detect'/>
|
||||
</cpu>
|
||||
|
@ -1,33 +1,15 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='forbid'>IvyBridge-IBRS</model>
|
||||
<model fallback='forbid'>Snowridge</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='movbe'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='rdseed'/>
|
||||
<feature policy='require' name='smap'/>
|
||||
<feature policy='require' name='clflushopt'/>
|
||||
<feature policy='require' name='clwb'/>
|
||||
<feature policy='require' name='sha-ni'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='gfni'/>
|
||||
<feature policy='require' name='rdpid'/>
|
||||
<feature policy='require' name='cldemote'/>
|
||||
<feature policy='require' name='movdiri'/>
|
||||
<feature policy='require' name='movdir64b'/>
|
||||
<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='xsaveopt'/>
|
||||
<feature policy='require' name='xsavec'/>
|
||||
<feature policy='require' name='xgetbv1'/>
|
||||
<feature policy='require' name='xsaves'/>
|
||||
<feature policy='require' name='3dnowprefetch'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
@ -36,6 +18,8 @@
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='mds-no'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='disable' name='avx'/>
|
||||
<feature policy='disable' name='f16c'/>
|
||||
<feature policy='disable' name='mpx'/>
|
||||
<feature policy='disable' name='core-capability'/>
|
||||
<feature policy='disable' name='pdpe1gb'/>
|
||||
<feature policy='disable' name='split-lock-detect'/>
|
||||
</cpu>
|
||||
|
@ -68,6 +68,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='yes'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
<model usable='yes'>Skylake-Client-IBRS</model>
|
||||
|
@ -76,6 +76,7 @@
|
||||
<model usable='yes'>athlon</model>
|
||||
<model usable='no'>Westmere-IBRS</model>
|
||||
<model usable='no'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
<model usable='no'>Skylake-Client-IBRS</model>
|
||||
|
@ -67,6 +67,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='yes'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
<model usable='yes'>Skylake-Client-IBRS</model>
|
||||
|
@ -69,6 +69,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='yes'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -76,6 +76,7 @@
|
||||
<model usable='yes'>athlon</model>
|
||||
<model usable='no'>Westmere-IBRS</model>
|
||||
<model usable='no'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -68,6 +68,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='yes'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -69,6 +69,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='yes'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -75,6 +75,7 @@
|
||||
<model usable='yes'>athlon</model>
|
||||
<model usable='no'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -68,6 +68,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='yes'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -70,6 +70,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='no'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -75,6 +75,7 @@
|
||||
<model usable='yes'>athlon</model>
|
||||
<model usable='no'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -69,6 +69,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='no'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -70,6 +70,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='no'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -75,6 +75,7 @@
|
||||
<model usable='yes'>athlon</model>
|
||||
<model usable='no'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
@ -69,6 +69,7 @@
|
||||
<model usable='no'>athlon</model>
|
||||
<model usable='no'>Westmere-IBRS</model>
|
||||
<model usable='yes'>Westmere</model>
|
||||
<model usable='no'>Snowridge</model>
|
||||
<model usable='no'>Skylake-Server-noTSX-IBRS</model>
|
||||
<model usable='no'>Skylake-Server-IBRS</model>
|
||||
<model usable='no'>Skylake-Server</model>
|
||||
|
Loading…
Reference in New Issue
Block a user