cpu_map: Add missing x86 features in 0x7 CPUID leaf

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Jiri Denemark 2020-06-17 14:08:43 +02:00
parent df69263c26
commit 6ea3bb19c6
10 changed files with 21 additions and 2 deletions

View File

@ -293,6 +293,9 @@
<feature name='ospke'> <feature name='ospke'>
<cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000010'/> <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000010'/>
</feature> </feature>
<feature name='waitpkg'>
<cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000020'/>
</feature>
<feature name='avx512vbmi2'> <feature name='avx512vbmi2'>
<cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000040'/> <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000040'/>
</feature> </feature>
@ -317,9 +320,18 @@
<feature name='la57'> <feature name='la57'>
<cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00010000'/> <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00010000'/>
</feature> </feature>
<feature name='rdpid'>
<cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00400000'/>
</feature>
<feature name='cldemote'> <feature name='cldemote'>
<cpuid eax_in='0x07' ecx_in='0x00' ecx='0x02000000'/> <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x02000000'/>
</feature> </feature>
<feature name='movdiri'>
<cpuid eax_in='0x07' ecx_in='0x00' ecx='0x08000000'/>
</feature>
<feature name='movdir64b'>
<cpuid eax_in='0x07' ecx_in='0x00' ecx='0x10000000'/>
</feature>
<feature name='avx512-4vnniw'> <feature name='avx512-4vnniw'>
<cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000004'/> <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000004'/>

View File

@ -1,7 +1,7 @@
<!-- Features disabled by QEMU --> <!-- Features disabled by QEMU -->
<cpudata arch='x86'> <cpudata arch='x86'>
<cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0804c1fc' edx='0xb0600000'/> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0804c1fc' edx='0xb0600000'/>
<cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02001000' ecx='0x00000010' edx='0x00000000'/> <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02001000' ecx='0x00400010' edx='0x00000000'/>
<cpuid eax_in='0x0000000f' ecx_in='0x01' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000006'/> <cpuid eax_in='0x0000000f' ecx_in='0x01' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000006'/>
<cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
</cpudata> </cpudata>

View File

@ -23,6 +23,7 @@
<feature policy='require' name='avx512ifma'/> <feature policy='require' name='avx512ifma'/>
<feature policy='require' name='sha-ni'/> <feature policy='require' name='sha-ni'/>
<feature policy='require' name='ospke'/> <feature policy='require' name='ospke'/>
<feature policy='require' name='rdpid'/>
<feature policy='require' name='stibp'/> <feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/> <feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='xsaves'/> <feature policy='require' name='xsaves'/>

View File

@ -24,6 +24,7 @@
<feature name='avx512ifma'/> <feature name='avx512ifma'/>
<feature name='sha-ni'/> <feature name='sha-ni'/>
<feature name='ospke'/> <feature name='ospke'/>
<feature name='rdpid'/>
<feature name='stibp'/> <feature name='stibp'/>
<feature name='arch-capabilities'/> <feature name='arch-capabilities'/>
<feature name='xsaves'/> <feature name='xsaves'/>

View File

@ -2,7 +2,7 @@
<cpudata arch='x86'> <cpudata arch='x86'>
<cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0xf7f83203' edx='0x078bfbff'/> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0xf7f83203' edx='0x078bfbff'/>
<cpuid eax_in='0x00000006' ecx_in='0x00' eax='0x00000004' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x00000006' ecx_in='0x00' eax='0x00000004' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
<cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x219c01ab' ecx='0x00000004' edx='0xa8000000'/> <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x219c01ab' ecx='0x00400004' edx='0xa8000000'/>
<cpuid eax_in='0x0000000d' ecx_in='0x01' eax='0x0000000f' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x0000000d' ecx_in='0x01' eax='0x0000000f' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x008003f7' edx='0x2e500800'/> <cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x008003f7' edx='0x2e500800'/>
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x03001201' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x03001201' ecx='0x00000000' edx='0x00000000'/>

View File

@ -6,6 +6,7 @@
<feature policy='require' name='cmt'/> <feature policy='require' name='cmt'/>
<feature policy='require' name='clwb'/> <feature policy='require' name='clwb'/>
<feature policy='require' name='umip'/> <feature policy='require' name='umip'/>
<feature policy='require' name='rdpid'/>
<feature policy='require' name='xsaves'/> <feature policy='require' name='xsaves'/>
<feature policy='require' name='mbm_total'/> <feature policy='require' name='mbm_total'/>
<feature policy='require' name='mbm_local'/> <feature policy='require' name='mbm_local'/>

View File

@ -7,6 +7,7 @@
<feature name='cmt'/> <feature name='cmt'/>
<feature name='clwb'/> <feature name='clwb'/>
<feature name='umip'/> <feature name='umip'/>
<feature name='rdpid'/>
<feature name='xsaves'/> <feature name='xsaves'/>
<feature name='mbm_total'/> <feature name='mbm_total'/>
<feature name='mbm_local'/> <feature name='mbm_local'/>

View File

@ -7,6 +7,7 @@
<feature policy='require' name='tsc_adjust'/> <feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='clwb'/> <feature policy='require' name='clwb'/>
<feature policy='require' name='umip'/> <feature policy='require' name='umip'/>
<feature policy='require' name='rdpid'/>
<feature policy='require' name='stibp'/> <feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/> <feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/> <feature policy='require' name='ssbd'/>

View File

@ -44,6 +44,7 @@
<feature policy='require' name='tsc_adjust'/> <feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='clwb'/> <feature policy='require' name='clwb'/>
<feature policy='require' name='umip'/> <feature policy='require' name='umip'/>
<feature policy='require' name='rdpid'/>
<feature policy='require' name='stibp'/> <feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/> <feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/> <feature policy='require' name='ssbd'/>

View File

@ -43,6 +43,7 @@
<feature policy='require' name='tsc_adjust'/> <feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='clwb'/> <feature policy='require' name='clwb'/>
<feature policy='require' name='umip'/> <feature policy='require' name='umip'/>
<feature policy='require' name='rdpid'/>
<feature policy='require' name='stibp'/> <feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/> <feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/> <feature policy='require' name='ssbd'/>