[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 4/6] target/i386: fix model number and add missing features for Ic
From: |
Eduardo Habkost |
Subject: |
[PULL 4/6] target/i386: fix model number and add missing features for Icelake-Server CPU model |
Date: |
Thu, 16 Jul 2020 14:19:01 -0400 |
From: Chenyi Qiang <chenyi.qiang@intel.com>
Add the missing features(sha_ni, avx512ifma, rdpid, fsrm,
vmx-rdseed-exit, vmx-pml, vmx-eptp-switching) and change the model
number to 106 in the Icelake-Server-v4 CPU model.
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20200714084148.26690-3-chenyi.qiang@intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
target/i386/cpu.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 3885826bc4..132ef90421 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3512,6 +3512,20 @@ static X86CPUDefinition builtin_x86_defs[] = {
{ /* end of list */ }
},
},
+ {
+ .version = 4,
+ .props = (PropValue[]) {
+ { "sha-ni", "on" },
+ { "avx512ifma", "on" },
+ { "rdpid", "on" },
+ { "fsrm", "on" },
+ { "vmx-rdseed-exit", "on" },
+ { "vmx-pml", "on" },
+ { "vmx-eptp-switching", "on" },
+ { "model", "106" },
+ { /* end of list */ }
+ },
+ },
{ /* end of list */ }
}
},
--
2.26.2
- [PULL 0/6] x86 fixes for -rc1, Eduardo Habkost, 2020/07/16
- [PULL 2/6] i386/cpu: Don't add unavailable_features to env->user_features, Eduardo Habkost, 2020/07/16
- [PULL 1/6] i368/cpu: Clear env->user_features after loading versioned CPU model, Eduardo Habkost, 2020/07/16
- [PULL 6/6] i386: hvf: Explicitly set CR4 guest/host mask, Eduardo Habkost, 2020/07/16
- [PULL 5/6] target/i386: add the missing vmx features for Skylake-Server and Cascadelake-Server CPU models, Eduardo Habkost, 2020/07/16
- [PULL 3/6] target/i386: add fast short REP MOV support, Eduardo Habkost, 2020/07/16
- [PULL 4/6] target/i386: fix model number and add missing features for Icelake-Server CPU model,
Eduardo Habkost <=
- Re: [PULL 0/6] x86 fixes for -rc1, Peter Maydell, 2020/07/17