]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
cpu_map: Add sha512, sm3, and sm4 CPU features
authorJiri Denemark <jdenemar@redhat.com>
Wed, 18 Dec 2024 12:27:40 +0000 (13:27 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 19 Dec 2024 14:24:05 +0000 (15:24 +0100)
Introduced by Clearwater Forest platform.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/cpu_map/x86_features.xml

index 8be8fab42ee3d04ce71ff56f7d634694818cfbe3..0e1fee6e981f05cd4b60d34ef8c5fa6263295e4e 100644 (file)
   </feature>
 
   <!-- cpuid level 0x00000007, 0x0001 (eax) -->
+  <feature name='sha512'>
+    <cpuid eax_in='0x00000007' ecx_in='0x00000001' eax='0x00000001'/>
+  </feature>
+  <feature name='sm3'>
+    <cpuid eax_in='0x00000007' ecx_in='0x00000001' eax='0x00000002'/>
+  </feature>
+  <feature name='sm4'>
+    <cpuid eax_in='0x00000007' ecx_in='0x00000001' eax='0x00000004'/>
+  </feature>
   <feature name='avx-vnni'>
     <cpuid eax_in='0x00000007' ecx_in='0x00000001' eax='0x00000010'/>
   </feature>