[PATCH 3/7] cpu_map: Add sha512, sm3, and sm4 CPU features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Introduced by Clearwater Forest platform.

Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---
 src/cpu_map/x86_features.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml
index 8be8fab42e..0e1fee6e98 100644
--- a/src/cpu_map/x86_features.xml
+++ b/src/cpu_map/x86_features.xml
@@ -416,6 +416,15 @@
   </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>
-- 
2.47.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux