[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/13] target/i386: add sha512, sm3, sm4 feature bits
From: |
Paolo Bonzini |
Subject: |
[PULL 01/13] target/i386: add sha512, sm3, sm4 feature bits |
Date: |
Fri, 8 Nov 2024 18:38:16 +0100 |
SHA512, SM3, SM4 (CPUID[EAX=7,ECX=1).EAX bits 0 to 2) is supported by
Clearwater Forest processor, add it to QEMU as it does not need any
specific enablement.
See https://lore.kernel.org/kvm/20241105054825.870939-1-tao1.su@linux.intel.com/
for reference.
Reviewed-by: Tao Su <tao1.su@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
target/i386/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 58c96eafea9..3725dbbc4b3 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -1116,7 +1116,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
[FEAT_7_1_EAX] = {
.type = CPUID_FEATURE_WORD,
.feat_names = {
- NULL, NULL, NULL, NULL,
+ "sha512", "sm3", "sm4", NULL,
"avx-vnni", "avx512-bf16", NULL, "cmpccxadd",
NULL, NULL, "fzrm", "fsrs",
"fsrc", NULL, NULL, NULL,
--
2.47.0
- [PULL 00/13] (Almost entirely) bugfix changes for QEMU 9.2 hard freeze, Paolo Bonzini, 2024/11/08
- [PULL 01/13] target/i386: add sha512, sm3, sm4 feature bits,
Paolo Bonzini <=
- [PULL 02/13] target/i386/hvf: fix clang compilation warning, Paolo Bonzini, 2024/11/08
- [PULL 03/13] rust: add meson_version to all subprojects, Paolo Bonzini, 2024/11/08
- [PULL 04/13] target/i386: Fix legacy page table walk, Paolo Bonzini, 2024/11/08
- [PULL 05/13] eif: cope with huge section offsets, Paolo Bonzini, 2024/11/08
- [PULL 07/13] i386/hvf: Integrates x2APIC support with hvf accel, Paolo Bonzini, 2024/11/08
- [PULL 06/13] eif: cope with huge section sizes, Paolo Bonzini, 2024/11/08
- [PULL 09/13] i386/hvf: Fixes startup memory leak (vmcs caps), Paolo Bonzini, 2024/11/08
- [PULL 08/13] i386/hvf: Fix for UB in handling CPUID function 0xD, Paolo Bonzini, 2024/11/08