[libvirt PATCH v3 16/24] cpu_map: Add missing x86 feature "avx512-fp16"

Tim Wiederhake posted 24 patches 3 years, 1 month ago
[libvirt PATCH v3 16/24] cpu_map: Add missing x86 feature "avx512-fp16"
Posted by Tim Wiederhake 3 years, 1 month ago
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@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 08694edbf5..eb1b2728aa 100644
--- a/src/cpu_map/x86_features.xml
+++ b/src/cpu_map/x86_features.xml
@@ -372,6 +372,9 @@
   <feature name='pconfig'>
     <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00040000'/>
   </feature>
+  <feature name='avx512-fp16'>
+    <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00800000'/>
+  </feature>
   <feature name='spec-ctrl'>
     <cpuid eax_in='0x07' ecx_in='0x00' edx='0x04000000'/>
   </feature>
-- 
2.36.1
Re: [libvirt PATCH v3 16/24] cpu_map: Add missing x86 feature "avx512-fp16"
Posted by Jiri Denemark 3 years, 1 month ago
On Fri, Nov 04, 2022 at 16:43:36 +0100, Tim Wiederhake wrote:
> Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
> Reviewed-by: Jiri Denemark <jdenemar@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 08694edbf5..eb1b2728aa 100644
> --- a/src/cpu_map/x86_features.xml
> +++ b/src/cpu_map/x86_features.xml
> @@ -372,6 +372,9 @@
>    <feature name='pconfig'>
>      <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00040000'/>
>    </feature>
> +  <feature name='avx512-fp16'>
> +    <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00800000'/>
> +  </feature>
>    <feature name='spec-ctrl'>
>      <cpuid eax_in='0x07' ecx_in='0x00' edx='0x04000000'/>
>    </feature>

This patch conflicts with recently pushed e528717d903. The conflict
resolution is trivial, just mind the placement. The new avx512-fp16
feature should go between amx-bf16 and amx-tile which were both added by
the conflicting commit.

Jirka