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

[qemu-xen staging] target/i386: fix model number and add missing features for Icelake-Server CPU model



commit e0013791b9326945ccd09b5b602437beb322cab8
Author:     Chenyi Qiang <chenyi.qiang@xxxxxxxxx>
AuthorDate: Tue Jul 14 16:41:47 2020 +0800
Commit:     Eduardo Habkost <ehabkost@xxxxxxxxxx>
CommitDate: Thu Jul 16 11:05:03 2020 -0400

    target/i386: fix model number and add missing features for Icelake-Server 
CPU model
    
    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@xxxxxxxxx>
    Message-Id: <20200714084148.26690-3-chenyi.qiang@xxxxxxxxx>
    Signed-off-by: Eduardo Habkost <ehabkost@xxxxxxxxxx>
---
 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 */ }
         }
     },
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.