:p
atchew
Login
This brings libvirt in sync qith qemu commit 886c0453cbf10eebd42a9ccf89c3e46eb389c357. Tim Wiederhake (15): cpu_map: Add missing feature "amd-psfd" cpu_map: Add missing feature "amx-fp16" cpu_map: Add missing feature "auto-ibrs" cpu_map: Add missing feature "avx-ifma" cpu_map: Add missing feature "avx-ne-convert" cpu_map: Add missing feature "avx-vnni-int8" cpu_map: Add missing feature "cmpccxadd" cpu_map: Add missing feature "fb-clear" cpu_map: Add missing feature "flush-l1d" cpu_map: Add missing feature "lfence-always-serializing" cpu_map: Add missing feature "no-nested-data-bp" cpu_map: Add missing feature "null-sel-clr-base" cpu_map: Add missing feature "prefetchiti" cpu_map: Add missing feature "stibp-always-on" cpu_map: Add missing feature "vnmi" src/cpu_map/x86_features.xml | 48 +++++++++++++++++++ .../x86_64-cpuid-Atom-P5362-disabled.xml | 2 +- .../x86_64-cpuid-Atom-P5362-guest.xml | 1 + .../x86_64-cpuid-Atom-P5362-host.xml | 1 + .../x86_64-cpuid-Cooperlake-disabled.xml | 2 +- .../x86_64-cpuid-Cooperlake-guest.xml | 1 + .../x86_64-cpuid-Cooperlake-host.xml | 1 + .../x86_64-cpuid-Core-i7-7600U-disabled.xml | 2 +- .../x86_64-cpuid-Core-i7-7600U-guest.xml | 1 + .../x86_64-cpuid-Core-i7-7600U-host.xml | 1 + .../x86_64-cpuid-Core-i7-8550U-disabled.xml | 2 +- .../x86_64-cpuid-Core-i7-8550U-guest.xml | 1 + .../x86_64-cpuid-Core-i7-8550U-host.xml | 1 + .../x86_64-cpuid-Core-i7-8700-disabled.xml | 2 +- .../x86_64-cpuid-Core-i7-8700-guest.xml | 1 + .../x86_64-cpuid-Core-i7-8700-host.xml | 1 + .../x86_64-cpuid-Ice-Lake-Server-disabled.xml | 2 +- .../x86_64-cpuid-Ice-Lake-Server-guest.xml | 1 + .../x86_64-cpuid-Ice-Lake-Server-host.xml | 1 + .../x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml | 2 +- .../x86_64-cpuid-Xeon-E3-1225-v5-guest.xml | 1 + .../x86_64-cpuid-Xeon-E3-1225-v5-host.xml | 1 + .../x86_64-cpuid-Xeon-E5-2650-disabled.xml | 1 + .../x86_64-cpuid-Xeon-E5-2650-guest.xml | 1 + .../x86_64-cpuid-Xeon-E5-2650-host.xml | 1 + .../x86_64-cpuid-Xeon-E7540-disabled.xml | 1 + .../x86_64-cpuid-Xeon-E7540-guest.xml | 1 + .../x86_64-cpuid-Xeon-E7540-host.xml | 1 + .../x86_64-cpuid-Xeon-Gold-6130-disabled.xml | 2 +- .../x86_64-cpuid-Xeon-Gold-6130-guest.xml | 1 + .../x86_64-cpuid-Xeon-Gold-6130-host.xml | 1 + ...6_64-cpuid-Xeon-Platinum-8268-disabled.xml | 2 +- .../x86_64-cpuid-Xeon-Platinum-8268-guest.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-8268-host.xml | 1 + ...6_64-cpuid-Xeon-Platinum-9242-disabled.xml | 2 +- .../x86_64-cpuid-Xeon-Platinum-9242-guest.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-9242-host.xml | 1 + 37 files changed, 84 insertions(+), 10 deletions(-) -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='amd-no-ssb'> <cpuid eax_in='0x80000008' ebx='0x04000000'/> </feature> + <feature name='amd-psfd'> + <cpuid eax_in='0x80000008' ebx='0x10000000'/> + </feature> <!-- SVM features --> <feature name='npt'> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='fsrc'> <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00001000'/> </feature> + <feature name='amx-fp16'> + <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00200000'/> + </feature> <!-- Processor Extended State Enumeration sub leaf 1 --> <feature name='xsaveopt'> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <cpuid eax_in='0x8000000a' edx='0x10000000'/> </feature> + <!-- cpuid level 0x80000021 ecx 0x0 features --> + <feature name='auto-ibrs'> + <cpuid eax_in='0x80000021' eax='0x00000100'/> + </feature> + <!-- IA32_ARCH_CAPABILITIES features --> <feature name='rdctl-no'> <msr index='0x10a' edx='0x00000000' eax='0x00000001'/> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='amx-fp16'> <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00200000'/> </feature> + <feature name='avx-ifma'> + <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00800000'/> + </feature> <!-- Processor Extended State Enumeration sub leaf 1 --> <feature name='xsaveopt'> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00800000'/> </feature> + <feature name='avx-ne-convert'> + <cpuid eax_in='0x07' ecx_in='0x01' edx='0x00000020'/> + </feature> + <!-- Processor Extended State Enumeration sub leaf 1 --> <feature name='xsaveopt'> <cpuid eax_in='0x0d' ecx_in='0x01' eax='0x00000001'/> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00800000'/> </feature> + <feature name='avx-vnni-int8'> + <cpuid eax_in='0x07' ecx_in='0x01' edx='0x00000010'/> + </feature> <feature name='avx-ne-convert'> <cpuid eax_in='0x07' ecx_in='0x01' edx='0x00000020'/> </feature> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='avx512-bf16'> <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00000020'/> </feature> + <feature name='cmpccxadd'> + <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00000080'/> + </feature> <feature name='fzrm'> <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00000400'/> </feature> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='taa-no'> <msr index='0x10a' edx='0x00000000' eax='0x00000100'/> </feature> + <feature name='fb-clear'> + <msr index='0x10a' edx='0x00000000' eax='0x00020000'/> + </feature> <!-- IA32_CORE_CAPABILITIES features --> <feature name='split-lock-detect'> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ tests/cputestdata/x86_64-cpuid-Atom-P5362-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Atom-P5362-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Atom-P5362-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Cooperlake-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Cooperlake-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i7-7600U-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Core-i7-7600U-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i7-7600U-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i7-8550U-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Core-i7-8550U-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i7-8550U-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i7-8700-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Core-i7-8700-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i7-8700-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-disabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-E7540-disabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-E7540-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-E7540-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-guest.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml | 1 + 37 files changed, 39 insertions(+), 10 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='stibp'> <cpuid eax_in='0x07' ecx_in='0x00' edx='0x08000000'/> </feature> + <feature name='flush-l1d'> + <cpuid eax_in='0x07' ecx_in='0x00' edx='0x10000000'/> + </feature> <feature name='arch-capabilities'> <alias name='arch_capabilities' source='linux'/> <cpuid eax_in='0x07' ecx_in='0x00' edx='0x20000000'/> diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-disabled.xml b/tests/cputestdata/x86_64-cpuid-Atom-P5362-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x080041dc' edx='0xb0600000'/> - <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02001000' ecx='0x00000020' edx='0x40000000'/> + <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02001000' ecx='0x00000020' edx='0x50000000'/> <cpuid eax_in='0x0000000f' ecx_in='0x01' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000006'/> <cpuid eax_in='0x00000014' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x80000000' edx='0x00000000'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-guest.xml b/tests/cputestdata/x86_64-cpuid-Atom-P5362-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='rdpid'/> <feature policy='require' name='md-clear'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='mbm_total'/> <feature policy='require' name='mbm_local'/> diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-host.xml b/tests/cputestdata/x86_64-cpuid-Atom-P5362-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='movdir64b'/> <feature name='md-clear'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='arch-capabilities'/> <feature name='core-capability'/> <feature name='ssbd'/> diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-disabled.xml b/tests/cputestdata/x86_64-cpuid-Cooperlake-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0804c1dc' 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='0x00000010' edx='0x10000000'/> <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'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-guest.xml b/tests/cputestdata/x86_64-cpuid-Cooperlake-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='intel-pt'/> <feature policy='require' name='ospke'/> <feature policy='require' name='md-clear'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='mbm_total'/> <feature policy='require' name='mbm_local'/> diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml b/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='intel-pt'/> <feature name='ospke'/> <feature name='md-clear'/> + <feature name='flush-l1d'/> <feature name='xsaves'/> <feature name='mbm_total'/> <feature name='mbm_local'/> diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-disabled.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0800c1dc' edx='0xb0600000'/> - <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02000004' ecx='0x00000000' edx='0x08000000'/> + <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02000004' ecx='0x00000000' edx='0x18000000'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-guest.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='clflushopt'/> <feature policy='require' name='intel-pt'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='ssbd'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-host.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-7600U-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='clflushopt'/> <feature name='intel-pt'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='ssbd'/> <feature name='xsaves'/> <feature name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-disabled.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0800c19c' edx='0xb0600000'/> - <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02000004' ecx='0x00000000' edx='0x00000000'/> + <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02000004' ecx='0x00000000' edx='0x10000000'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-guest.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='intel-pt'/> <feature policy='require' name='md-clear'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='ssbd'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-host.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='intel-pt'/> <feature name='md-clear'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='ssbd'/> <feature name='xsaves'/> <feature name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8700-disabled.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-8700-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8700-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8700-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0800c1fc' edx='0xb0600000'/> - <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02000004' ecx='0x40000000' edx='0x08000000'/> + <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02000004' ecx='0x40000000' edx='0x18000000'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8700-guest.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-8700-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8700-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8700-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='intel-pt'/> <feature policy='require' name='sgxlc'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='ssbd'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8700-host.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-8700-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8700-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8700-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='intel-pt'/> <feature name='sgxlc'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='ssbd'/> <feature name='xsaves'/> <feature name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <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='0x02001004' ecx='0x40400010' edx='0x00000010'/> + <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02001004' ecx='0x40400010' edx='0x10000010'/> <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'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='sgxlc'/> <feature policy='require' name='fsrm'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='arch-capabilities'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='mbm_total'/> diff --git a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='sgxlc'/> <feature name='fsrm'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='arch-capabilities'/> <feature name='xsaves'/> <feature name='mbm_total'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0800c1fc' edx='0xb0600000'/> - <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02000004' ecx='0x00000000' edx='0x00000000'/> + <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02000004' ecx='0x00000000' edx='0x10000000'/> <cpuid eax_in='0x0000000d' ecx_in='0x01' eax='0x00000008' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='intel-pt'/> <feature policy='require' name='md-clear'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='ssbd'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='intel-pt'/> <feature name='md-clear'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='ssbd'/> <feature name='xsaves'/> <feature name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <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='0x00000000' ecx='0x00000000' edx='0x10000000'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='osxsave'/> <feature policy='require' name='arat'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='ssbd'/> <feature policy='require' name='xsaveopt'/> <feature policy='require' name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='osxsave'/> <feature name='arat'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='ssbd'/> <feature name='xsaveopt'/> <feature name='pdpe1gb'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7540-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E7540-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E7540-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E7540-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0004c1bc' edx='0xb0600000'/> + <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x10000000'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7540-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E7540-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E7540-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E7540-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='dca'/> <feature policy='require' name='x2apic'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='ssbd'/> <feature policy='require' name='rdtscp'/> <feature policy='require' name='invtsc'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7540-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E7540-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E7540-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E7540-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='dca'/> <feature name='x2apic'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='ssbd'/> <feature name='rdtscp'/> <feature name='invtsc'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0804c1dc' 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='0x00000010' edx='0x10000000'/> <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'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='ospke'/> <feature policy='require' name='md-clear'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='ssbd'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='mbm_total'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='ospke'/> <feature name='md-clear'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='ssbd'/> <feature name='xsaves'/> <feature name='mbm_total'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <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='0x28000400'/> + <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02001000' ecx='0x00000010' edx='0x38000400'/> <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'/> <msr index='0x10a' edx='0x00000000' eax='0x00000020'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='ospke'/> <feature policy='require' name='md-clear'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='arch-capabilities'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='mbm_total'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='ospke'/> <feature name='md-clear'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='arch-capabilities'/> <feature name='xsaves'/> <feature name='mbm_total'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-disabled.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-disabled.xml @@ -XXX,XX +XXX,XX @@ <!-- Features disabled by QEMU --> <cpudata arch='x86'> <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0804c1dc' 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='0x00000010' edx='0x10000000'/> <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'/> </cpudata> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-guest.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-guest.xml @@ -XXX,XX +XXX,XX @@ <feature policy='require' name='ospke'/> <feature policy='require' name='md-clear'/> <feature policy='require' name='stibp'/> + <feature policy='require' name='flush-l1d'/> <feature policy='require' name='arch-capabilities'/> <feature policy='require' name='xsaves'/> <feature policy='require' name='mbm_total'/> diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml index XXXXXXX..XXXXXXX 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml @@ -XXX,XX +XXX,XX @@ <feature name='ospke'/> <feature name='md-clear'/> <feature name='stibp'/> + <feature name='flush-l1d'/> <feature name='arch-capabilities'/> <feature name='xsaves'/> <feature name='mbm_total'/> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ </feature> <!-- cpuid level 0x80000021 ecx 0x0 features --> + <feature name='lfence-always-serializing'> + <cpuid eax_in='0x80000021' eax='0x00000004'/> + </feature> <feature name='auto-ibrs'> <cpuid eax_in='0x80000021' eax='0x00000100'/> </feature> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ </feature> <!-- cpuid level 0x80000021 ecx 0x0 features --> + <feature name='no-nested-data-bp'> + <cpuid eax_in='0x80000021' eax='0x00000001'/> + </feature> <feature name='lfence-always-serializing'> <cpuid eax_in='0x80000021' eax='0x00000004'/> </feature> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='lfence-always-serializing'> <cpuid eax_in='0x80000021' eax='0x00000004'/> </feature> + <feature name='null-sel-clr-base'> + <cpuid eax_in='0x80000021' eax='0x00000040'/> + </feature> <feature name='auto-ibrs'> <cpuid eax_in='0x80000021' eax='0x00000100'/> </feature> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='avx-ne-convert'> <cpuid eax_in='0x07' ecx_in='0x01' edx='0x00000020'/> </feature> + <feature name='prefetchiti'> + <cpuid eax_in='0x07' ecx_in='0x01' edx='0x00004000'/> + </feature> <!-- Processor Extended State Enumeration sub leaf 1 --> <feature name='xsaveopt'> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='amd-stibp'> <cpuid eax_in='0x80000008' ebx='0x00008000'/> </feature> + <feature name='stibp-always-on'> + <cpuid eax_in='0x80000008' ebx='0x00020000'/> + </feature> <feature name='amd-ssbd'> <cpuid eax_in='0x80000008' ebx='0x01000000'/> </feature> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='vgif'> <cpuid eax_in='0x8000000a' edx='0x00010000'/> </feature> + <feature name='vnmi'> + <cpuid eax_in='0x8000000a' edx='0x02000000'/> + </feature> <feature name='svme-addr-chk'> <cpuid eax_in='0x8000000a' edx='0x10000000'/> </feature> -- 2.39.2
This brings libvirt in sync qith qemu commit 6f05a92ddc73ac8aa16cfd6188f907b30b0501e3. Tim Wiederhake (6): cpu_map: Add missing feature "mcdt-no" cpu_map: Add missing feature "sbdr-ssdp-no" cpu_map: Add missing feature "fbsdp-no" cpu_map: Add missing feature "psdp-no" cpu_map: Add missing feature "pbrsb-no" sync_qemu_models_i386.py: Add missing features src/cpu_map/sync_qemu_models_i386.py | 7 +++++++ src/cpu_map/x86_features.xml | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <cpuid eax_in='0x07' ecx_in='0x01' edx='0x00004000'/> </feature> + <feature name='mcdt-no'> + <cpuid eax_in='0x07' ecx_in='0x02' edx='0x00000020'/> + </feature> + <!-- Processor Extended State Enumeration sub leaf 1 --> <feature name='xsaveopt'> <cpuid eax_in='0x0d' ecx_in='0x01' eax='0x00000001'/> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='taa-no'> <msr index='0x10a' edx='0x00000000' eax='0x00000100'/> </feature> + <feature name='sbdr-ssdp-no'> + <msr index='0x10a' edx='0x00000000' eax='0x00002000'/> + </feature> <feature name='fb-clear'> <msr index='0x10a' edx='0x00000000' eax='0x00020000'/> </feature> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='sbdr-ssdp-no'> <msr index='0x10a' edx='0x00000000' eax='0x00002000'/> </feature> + <feature name='fbsdp-no'> + <msr index='0x10a' edx='0x00000000' eax='0x00004000'/> + </feature> <feature name='fb-clear'> <msr index='0x10a' edx='0x00000000' eax='0x00020000'/> </feature> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='fbsdp-no'> <msr index='0x10a' edx='0x00000000' eax='0x00004000'/> </feature> + <feature name='psdp-no'> + <msr index='0x10a' edx='0x00000000' eax='0x00008000'/> + </feature> <feature name='fb-clear'> <msr index='0x10a' edx='0x00000000' eax='0x00020000'/> </feature> -- 2.39.2
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index XXXXXXX..XXXXXXX 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -XXX,XX +XXX,XX @@ <feature name='fb-clear'> <msr index='0x10a' edx='0x00000000' eax='0x00020000'/> </feature> + <feature name='pbrsb-no'> + <msr index='0x10a' edx='0x00000000' eax='0x01000000'/> + </feature> <!-- IA32_CORE_CAPABILITIES features --> <feature name='split-lock-detect'> -- 2.39.2
This brings the tool's list of features in sync with qemu commit 6f05a92ddc73ac8aa16cfd6188f907b30b0501e3. Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/sync_qemu_models_i386.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_models_i386.py index XXXXXXX..XXXXXXX 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -XXX,XX +XXX,XX @@ def translate_feature(name): "CPUID_7_0_EDX_SPEC_CTRL_SSBD": "ssbd", "CPUID_7_0_EDX_STIBP": "stibp", "CPUID_7_0_EDX_TSX_LDTRK": "tsx-ldtrk", + "CPUID_7_1_EAX_AMX_FP16": "amx-fp16", "CPUID_7_1_EAX_AVX512_BF16": "avx512-bf16", "CPUID_7_1_EAX_AVX_VNNI": "avx-vnni", "CPUID_7_1_EAX_FSRC": "fsrc", "CPUID_7_1_EAX_FSRS": "fsrs", "CPUID_7_1_EAX_FZRM": "fzrm", + "CPUID_7_1_EDX_PREFETCHITI": "prefetchiti", + "CPUID_7_2_EDX_MCDT_NO": "mcdt-no", "CPUID_8000_0008_EBX_AMD_PSFD": "amd-psfd", "CPUID_8000_0008_EBX_AMD_SSBD": "amd-ssbd", "CPUID_8000_0008_EBX_CLZERO": "clzero", @@ -XXX,XX +XXX,XX @@ def translate_feature(name): "CPUID_XSAVE_XSAVEC": "xsavec", "CPUID_XSAVE_XSAVEOPT": "xsaveopt", "CPUID_XSAVE_XSAVES": "xsaves", + "MSR_ARCH_CAP_FBSDP_NO": "fbsdp-no", "MSR_ARCH_CAP_IBRS_ALL": "ibrs-all", "MSR_ARCH_CAP_MDS_NO": "mds-no", + "MSR_ARCH_CAP_PBRSB_NO": "pbrsb-no", "MSR_ARCH_CAP_PSCHANGE_MC_NO": "pschange-mc-no", + "MSR_ARCH_CAP_PSDP_NO": "psdp-no", "MSR_ARCH_CAP_RDCL_NO": "rdctl-no", + "MSR_ARCH_CAP_SBDR_SSDP_NO": "sbdr-ssdp-no", "MSR_ARCH_CAP_SKIP_L1DFL_VMENTRY": "skip-l1dfl-vmentry", "MSR_ARCH_CAP_TAA_NO": "taa-no", "MSR_CORE_CAP_SPLIT_LOCK_DETECT": "split-lock-detect", -- 2.39.2