cpu_map: Use compat partial check for all x86 CPU models

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Jiri Denemark 2024-10-09 14:38:21 +02:00
parent f8ade72c2b
commit cd93f7ddab
62 changed files with 62 additions and 0 deletions

View File

@ -1,5 +1,6 @@
<cpus>
<model name='486'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<feature name='fpu'/>
<feature name='pse'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Broadwell-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='61'/> <!-- 0306d0 -->
<signature family='6' model='71'/> <!-- 040670 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Broadwell-noTSX-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='61'/> <!-- 0306d0 -->
<signature family='6' model='71'/> <!-- 040670 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Broadwell-noTSX'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='61'/> <!-- 0306d0 -->
<signature family='6' model='71'/> <!-- 040670 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Broadwell'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='61'/> <!-- 0306d0 -->
<signature family='6' model='71'/> <!-- 040670 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Cascadelake-Server-noTSX'>
<check partial='compat'/>
<decode host='on' guest='off'/>
<signature family='6' model='85' stepping='5-7'/> <!-- 050654 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Cascadelake-Server'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='85' stepping='5-7'/> <!-- 050654 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Conroe'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='15'/> <!-- 0006f0 -->
<signature family='6' model='22'/> <!-- 010660 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Cooperlake'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='85' stepping='10-11'/> <!-- 05065b -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Dhyana'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='24' model='0'/> <!-- 900f00 -->
<vendor name='Hygon'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='EPYC-Genoa'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='25' model='17'/>
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='EPYC-IBPB'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='23' model='1'/> <!-- 800f10 -->
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='EPYC-Milan'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='25' model='1'/>
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='EPYC-Rome'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='23' model='49'/>
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='EPYC'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='23' model='1'/> <!-- 800f10 -->
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='GraniteRapids'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='173'/>
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Haswell-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='60'/> <!-- 0306c0 -->
<signature family='6' model='63'/> <!-- 0306f0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Haswell-noTSX-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='60'/> <!-- 0306c0 -->
<signature family='6' model='63'/> <!-- 0306f0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Haswell-noTSX'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='60'/> <!-- 0306c0 -->
<signature family='6' model='63'/> <!-- 0306f0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Haswell'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='60'/> <!-- 0306c0 -->
<signature family='6' model='63'/> <!-- 0306f0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Icelake-Client-noTSX'>
<check partial='compat'/>
<decode host='on' guest='off'/>
<signature family='6' model='126'/> <!-- 0706e0 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Icelake-Client'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='126'/> <!-- 0706e0 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Icelake-Server-noTSX'>
<check partial='compat'/>
<decode host='on' guest='off'/>
<signature family='6' model='106'/> <!-- 0606A5 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Icelake-Server'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='106'/> <!-- 0606A5 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='IvyBridge-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='58'/> <!-- 0306a0 -->
<signature family='6' model='62'/> <!-- 0306e0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='IvyBridge'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='58'/> <!-- 0306a0 -->
<signature family='6' model='62'/> <!-- 0306e0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Nehalem-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='26'/> <!-- 0106a0 -->
<signature family='6' model='30'/> <!-- 0106e0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Nehalem'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='26'/> <!-- 0106a0 -->
<signature family='6' model='30'/> <!-- 0106e0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Opteron_G1'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='15' model='6'/> <!-- 100e60 -->
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Opteron_G2'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='15' model='6'/> <!-- 100e60 -->
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Opteron_G3'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='15' model='6'/> <!-- 100e60 -->
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Opteron_G4'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='21' model='1'/> <!-- 600f10 -->
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Opteron_G5'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='21' model='2'/> <!-- 600f20 -->
<vendor name='AMD'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Penryn'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='23'/> <!-- 010670 -->
<signature family='6' model='29'/> <!-- 0106d0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='SandyBridge-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='42'/> <!-- 0206a0 -->
<signature family='6' model='45'/> <!-- 0206d0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='SandyBridge'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='42'/> <!-- 0206a0 -->
<signature family='6' model='45'/> <!-- 0206d0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='SapphireRapids'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='143'/>
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='SierraForest'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='175'/>
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Skylake-Client-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='94'/> <!-- 0506e0 -->
<signature family='6' model='78'/> <!-- 0406e0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Skylake-Client-noTSX-IBRS'>
<check partial='compat'/>
<decode host='on' guest='off'/>
<signature family='6' model='94'/> <!-- 0506e0 -->
<signature family='6' model='78'/> <!-- 0406e0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Skylake-Client'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='94'/> <!-- 0506e0 -->
<signature family='6' model='78'/> <!-- 0406e0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Skylake-Server-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='85' stepping='0-4'/> <!-- 050654 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Skylake-Server-noTSX-IBRS'>
<check partial='compat'/>
<decode host='on' guest='off'/>
<signature family='6' model='85' stepping='0-4'/> <!-- 050654 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Skylake-Server'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='85' stepping='0-4'/> <!-- 050654 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Snowridge'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='134'/> <!-- 080665 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Westmere-IBRS'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='44'/> <!-- 0206c0 -->
<vendor name='Intel'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='Westmere'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<signature family='6' model='44'/> <!-- 0206c0 -->
<signature family='6' model='47'/> <!-- 0206f0 -->

View File

@ -1,5 +1,6 @@
<cpus>
<model name='athlon'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<vendor name='AMD'/>
<feature name='3dnow'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='core2duo'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<vendor name='Intel'/>
<feature name='apic'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='coreduo'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<vendor name='Intel'/>
<feature name='apic'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='cpu64-rhel5'>
<check partial='compat'/>
<decode host='off' guest='off'/>
<feature name='apic'/>
<feature name='clflush'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='cpu64-rhel6'>
<check partial='compat'/>
<decode host='off' guest='off'/>
<feature name='apic'/>
<feature name='clflush'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='kvm32'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<feature name='apic'/>
<feature name='clflush'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='kvm64'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<feature name='apic'/>
<feature name='clflush'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='n270'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<vendor name='Intel'/>
<feature name='apic'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='pentium'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<feature name='cx8'/>
<feature name='de'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='pentium2'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<feature name='cmov'/>
<feature name='cx8'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='pentium3'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<feature name='cmov'/>
<feature name='cx8'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='pentiumpro'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<feature name='apic'/>
<feature name='cmov'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='phenom'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<vendor name='AMD'/>
<feature name='3dnow'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='qemu32'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<feature name='apic'/>
<feature name='cmov'/>

View File

@ -1,5 +1,6 @@
<cpus>
<model name='qemu64'>
<check partial='compat'/>
<decode host='on' guest='on'/>
<!-- These are supported only by TCG. KVM supports them only if the
host does. So we leave them out: