From nobody Sun May 19 10:38:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1586500565; cv=none; d=zohomail.com; s=zohoarc; b=ibCKCEvcnkk9aQ6wlOkxOubkwChXmf8Hj8z8Zn2pjierCjKQ540yItToh0pJi/4XEO8/8bb6POEz0K+L1heG8NUzfEfUB18uo2VPYzK5jwGsS7y+Ufu/v22+uv16vOMpeGfQPXSNr7fCqIRBUjAM48ZndN8O0PCFADsUI1YxoEE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586500565; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=TLkcSUXbgXBJoBROh3RUqDExjTfVUpTRwgNNpzwgJ9A=; b=AYrm9X+9YsGMMirJP1H/eGX0I0ddY4YaWvfK7JNWp6BGUWnhgK4sSQ22Li4psbFvb0Ly/syNfYUwIE4Dr45RKqRPqZ+vYRXW0mDi7LJV8Q71mE3h5KZCTj3NACI1SaxxgqnxTohGbkDrAf7SuwSsSB8D91V3ujcbN+YumTBjHX8= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1586500565726886.3856124768446; Thu, 9 Apr 2020 23:36:05 -0700 (PDT) Received: from localhost ([::1]:59158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMnGm-0000WU-9g for importer@patchew.org; Fri, 10 Apr 2020 02:36:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34125) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMnFb-0007HP-20 for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMnFZ-0007CD-EA for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:50 -0400 Received: from mga07.intel.com ([134.134.136.100]:42754) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMnFZ-0007Al-6n for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:49 -0400 Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2020 23:34:41 -0700 Received: from chenyi-pc.sh.intel.com ([10.239.159.72]) by orsmga005.jf.intel.com with ESMTP; 09 Apr 2020 23:34:39 -0700 IronPort-SDR: gSwy3RgQGX03+N/WOtdi0sFHbmqbf4OCvfrEGD+6Ah0Kf8dkv0ziGNze2eQUpjnFWSidGmAcA3 lVmdNYJTP+tg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False IronPort-SDR: uLEH4+2TgYoEpNNj2/mfPAdBmkyJcsUUXcyYk5fa6HwIn1Wc58jHi/t5od+mlNwrHTBZeGXNkG mMFTN+Df0Gmw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,364,1580803200"; d="scan'208";a="425800261" From: Chenyi Qiang To: Paolo Bonzini , Richard Henderson , Eduardo Habkost Subject: [PATCH v3 1/4] target/i386: add missing vmx features for several CPU models Date: Fri, 10 Apr 2020 14:35:52 +0800 Message-Id: <20200410063555.2309-2-chenyi.qiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200410063555.2309-1-chenyi.qiang@intel.com> References: <20200410063555.2309-1-chenyi.qiang@intel.com> X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 134.134.136.100 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Xiaoyao Li , qemu-devel@nongnu.org, Robert Hoo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add some missing VMX features in Skylake-Server, Cascadelake-Server and Icelake-Server CPU models based on the output of Paolo's script. Signed-off-by: Chenyi Qiang --- target/i386/cpu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 90ffc5f3b1..3ed7502e80 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -2982,6 +2982,7 @@ static X86CPUDefinition builtin_x86_defs[] =3D { VMX_SECONDARY_EXEC_RDRAND_EXITING | VMX_SECONDARY_EXEC_ENABLE= _INVPCID | VMX_SECONDARY_EXEC_ENABLE_VMFUNC | VMX_SECONDARY_EXEC_SHADOW_= VMCS | VMX_SECONDARY_EXEC_RDSEED_EXITING | VMX_SECONDARY_EXEC_ENABLE= _PML, + .features[FEAT_VMX_VMFUNC] =3D MSR_VMX_VMFUNC_EPT_SWITCHING, .xlevel =3D 0x80000008, .model_id =3D "Intel Xeon Processor (Skylake)", .versions =3D (X86CPUVersionDefinition[]) { @@ -3110,6 +3111,7 @@ static X86CPUDefinition builtin_x86_defs[] =3D { VMX_SECONDARY_EXEC_RDRAND_EXITING | VMX_SECONDARY_EXEC_ENABLE= _INVPCID | VMX_SECONDARY_EXEC_ENABLE_VMFUNC | VMX_SECONDARY_EXEC_SHADOW_= VMCS | VMX_SECONDARY_EXEC_RDSEED_EXITING | VMX_SECONDARY_EXEC_ENABLE= _PML, + .features[FEAT_VMX_VMFUNC] =3D MSR_VMX_VMFUNC_EPT_SWITCHING, .xlevel =3D 0x80000008, .model_id =3D "Intel Xeon Processor (Cascadelake)", .versions =3D (X86CPUVersionDefinition[]) { @@ -3457,7 +3459,9 @@ static X86CPUDefinition builtin_x86_defs[] =3D { VMX_SECONDARY_EXEC_APIC_REGISTER_VIRT | VMX_SECONDARY_EXEC_VIRTUAL_INTR_DELIVERY | VMX_SECONDARY_EXEC_RDRAND_EXITING | VMX_SECONDARY_EXEC_ENABLE= _INVPCID | - VMX_SECONDARY_EXEC_ENABLE_VMFUNC | VMX_SECONDARY_EXEC_SHADOW_= VMCS, + VMX_SECONDARY_EXEC_ENABLE_VMFUNC | VMX_SECONDARY_EXEC_SHADOW_= VMCS | + VMX_SECONDARY_EXEC_RDSEED_EXITING | VMX_SECONDARY_EXEC_ENABLE= _PML, + .features[FEAT_VMX_VMFUNC] =3D MSR_VMX_VMFUNC_EPT_SWITCHING, .xlevel =3D 0x80000008, .model_id =3D "Intel Xeon Processor (Icelake)", .versions =3D (X86CPUVersionDefinition[]) { --=20 2.17.1 From nobody Sun May 19 10:38:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1586500633; cv=none; d=zohomail.com; s=zohoarc; b=GxPq3COomSJMSGqB7fmzNMYJ7KgCSo8QRDzyixx0O687lkM2f1JKRipLLkgnnz8wEPxCERfCGX9w3c9/xi9q74giFYnWKCNeG4hHDvrWxOY9EVlaVHhIYzPBlm8t+vOBAlPXMniEQ3VLvOd5/5wnC5IwGcWjwMBYv7guVf2g4mA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586500633; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=/kjmdA1YLu68+IuxjpIfoUF4q/dtLTwyBvzgehYASQI=; b=WVmECZl9OmRIdwtp5isjHqtZM++xM1jjB4/R2hV5AnQlHw/GfthzSpet6qk+dOPqO3VWc3VOFr9m0dvMzW0kDA754+esQIHFWZ4N/F1Wl7z0zOCHbyZEpofcyKN+r4kxNuYucLsoQVCqdQFrUc80m0gs45gZmceJFXRmJ/Ygpck= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1586500633546720.5978211857006; Thu, 9 Apr 2020 23:37:13 -0700 (PDT) Received: from localhost ([::1]:59174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMnHs-0002xT-Ca for importer@patchew.org; Fri, 10 Apr 2020 02:37:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34124) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMnFb-0007HO-5G for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMnFZ-0007CI-EU for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:50 -0400 Received: from mga07.intel.com ([134.134.136.100]:42757) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMnFZ-0007BO-5F for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:49 -0400 Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2020 23:34:43 -0700 Received: from chenyi-pc.sh.intel.com ([10.239.159.72]) by orsmga005.jf.intel.com with ESMTP; 09 Apr 2020 23:34:41 -0700 IronPort-SDR: b0c5s9RoRFOs2pR9DQ9Qx5vV8NvKe0RtBGGs0ai4xqlTJBv3W8JDbgWKHmdYixw49/CcztiRhJ 46o/s5LNjGrA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False IronPort-SDR: yzJyejpyJb1YGM0NOqERfxSn+tE76jivnloYYN1ZAWZx5kUHYxKEg/pLqEtYKmg2XZKUL0qbH9 FcZ+RTUd2Hiw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,364,1580803200"; d="scan'208";a="425800265" From: Chenyi Qiang To: Paolo Bonzini , Richard Henderson , Eduardo Habkost Subject: [PATCH v3 2/4] target/i386: add fast short REP MOV support Date: Fri, 10 Apr 2020 14:35:53 +0800 Message-Id: <20200410063555.2309-3-chenyi.qiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200410063555.2309-1-chenyi.qiang@intel.com> References: <20200410063555.2309-1-chenyi.qiang@intel.com> X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 134.134.136.100 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Xiaoyao Li , qemu-devel@nongnu.org, Robert Hoo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" For CPUs support fast short REP MOV[CPUID.(EAX=3D7,ECX=3D0):EDX(bit4)], e.g Icelake and Tigerlake, expose it to the guest VM. Signed-off-by: Chenyi Qiang --- target/i386/cpu.c | 2 +- target/i386/cpu.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 3ed7502e80..4bbe9f0948 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -984,7 +984,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS]= =3D { .type =3D CPUID_FEATURE_WORD, .feat_names =3D { NULL, NULL, "avx512-4vnniw", "avx512-4fmaps", - NULL, NULL, NULL, NULL, + "fsrm", NULL, NULL, NULL, NULL, NULL, "md-clear", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL /* pconfig */, NULL, diff --git a/target/i386/cpu.h b/target/i386/cpu.h index e818fc712a..d320265b92 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -770,6 +770,8 @@ typedef uint64_t FeatureWordArray[FEATURE_WORDS]; #define CPUID_7_0_EDX_AVX512_4VNNIW (1U << 2) /* AVX512 Multiply Accumulation Single Precision */ #define CPUID_7_0_EDX_AVX512_4FMAPS (1U << 3) +/* Fast Short Rep Mov */ +#define CPUID_7_0_EDX_FSRM (1U << 4) /* Speculation Control */ #define CPUID_7_0_EDX_SPEC_CTRL (1U << 26) /* Single Thread Indirect Branch Predictors */ --=20 2.17.1 From nobody Sun May 19 10:38:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1586500565; cv=none; d=zohomail.com; s=zohoarc; b=XjxzKsqfaHuhw+azhgD1jUhYBBM2gLcrGvCVGoLuDdTCXn7xJADH8CQqxz1b+FcooZK/Dbubmx6QaiAFs5I+2IP49uQaO3wU/dDYtMfET1bG5jpI5JcBFIdgJM+s1oclBC2OismU0HEknZEhm/h6O6bzoHSm2zdfLM1QWavWDAU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586500565; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=WNCNgPlEQs2tzYrWPVeWRyU8dfNYHuj7/zEDjJbSujE=; b=jyx9a73tKzCZ3UMbY7VLm0oiYuhGsLB5piN69hlZJNuU5sOhtoBB0OK69gjl+15sjLovo6HR2nYJ1csNp5KHiIn3VhrIlslvuEWJZmkmmB8pLVdu0FLqbt46rUEByHssi26rY17DCbnEyEeQfudgBL99mrFNhsgNryVozb4a9tI= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1586500565723527.9476648966851; Thu, 9 Apr 2020 23:36:05 -0700 (PDT) Received: from localhost ([::1]:59156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMnGl-0000U8-NI for importer@patchew.org; Fri, 10 Apr 2020 02:36:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34130) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMnFa-0007HR-US for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMnFZ-0007DH-S1 for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:50 -0400 Received: from mga07.intel.com ([134.134.136.100]:42754) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMnFZ-0007Al-Ks for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:49 -0400 Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2020 23:34:45 -0700 Received: from chenyi-pc.sh.intel.com ([10.239.159.72]) by orsmga005.jf.intel.com with ESMTP; 09 Apr 2020 23:34:43 -0700 IronPort-SDR: pJG3Fu6NFW3bZ4WL4gUp0xIjN885Z7GTiGQKJQNRe+PFbiZ436P/vMnZeVGgSoSeOTgKQq4EV3 dqyxgnPQq2dA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False IronPort-SDR: Uco3NC7Aq9glRaJPkQboPZUdWo2tcAa0ZOHgv1N5ci94A/T+DNLCChRRKwZMTM2BPrlWpVezG8 AWScmpiaziSA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,364,1580803200"; d="scan'208";a="425800277" From: Chenyi Qiang To: Paolo Bonzini , Richard Henderson , Eduardo Habkost Subject: [PATCH v3 3/4] target/i386: add the missing features for Icelake-Server CPU model Date: Fri, 10 Apr 2020 14:35:54 +0800 Message-Id: <20200410063555.2309-4-chenyi.qiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200410063555.2309-1-chenyi.qiang@intel.com> References: <20200410063555.2309-1-chenyi.qiang@intel.com> X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 134.134.136.100 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Xiaoyao Li , qemu-devel@nongnu.org, Robert Hoo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add the SHA_NI and AVX512IFMA feature bits in FEAT_7_0_EBX, RDPID feature bit in FEAT_7_0_ECX and FSRM feature bit in FEAT_7_0_EDX. Signed-off-by: Chenyi Qiang --- target/i386/cpu.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 4bbe9f0948..d2f8a276c4 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -3488,6 +3488,16 @@ static X86CPUDefinition builtin_x86_defs[] =3D { { /* end of list */ } }, }, + { + .version =3D 4, + .props =3D (PropValue[]) { + { "sha-ni", "on" }, + { "avx512ifma", "on" }, + { "rdpid", "on" }, + { "fsrm", "on" }, + { /* end of list */ } + }, + }, { /* end of list */ } } }, --=20 2.17.1 From nobody Sun May 19 10:38:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1586500566; cv=none; d=zohomail.com; s=zohoarc; b=jqrVRQMaUEobQahB0G43HQd3WjYpGEF/H0GuIb+opuVXcoZnbhGCnEkzxCiSuD6w8S5X/qZDu2dwD+aBk2VxYwRKlipIKHipkWV/jf8RDHHRKtBXkV+30Q0xDyGSU0kJZjkkcCN+zmDv7P/X33mel0nJT/Rt6GGLQWwo1MrUfTw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586500566; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=v8eewhUVS+ioCnaaaME81wmWNXS3BhOZFr5PWdQ3iOc=; b=hXw5L92qjXj5/3PJwTPfmQaW0v8+Jaairetuao/8AKSQxaoeLHxM9voPdmGWOmQeHh7qwSy3VDEYm99094YOZQ8rQc6xwbwbYxeeq0NU1rUk+Ks3SEprPTZVr8nQ9TkjiNO+74g2zc5ODf4/9ZRVPt2DXcSZZa9TO6Rl1mycCeI= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1586500566198268.82331916824853; Thu, 9 Apr 2020 23:36:06 -0700 (PDT) Received: from localhost ([::1]:59160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMnGm-0000Z5-VM for importer@patchew.org; Fri, 10 Apr 2020 02:36:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34129) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMnFa-0007HQ-V0 for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMnFZ-0007DM-SX for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:50 -0400 Received: from mga07.intel.com ([134.134.136.100]:42757) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMnFZ-0007BO-LK for qemu-devel@nongnu.org; Fri, 10 Apr 2020 02:34:49 -0400 Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2020 23:34:47 -0700 Received: from chenyi-pc.sh.intel.com ([10.239.159.72]) by orsmga005.jf.intel.com with ESMTP; 09 Apr 2020 23:34:45 -0700 IronPort-SDR: EGEVUS0wPxpD4VnSD2Y8ZuKxj4qOW9ROCXvZ1TTKeKgWiF4v1GOAzM6EpeKjWKcCHky8q2u6h8 7GYnIF7Csk0g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False IronPort-SDR: R2p4DFymLWwVHchEGoYrdiv087rMj6e2XpD2eJbqcTblmkCifkAQPIa8nmMcvz9PDs4u40mHM/ 5DATugx0FWGQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,364,1580803200"; d="scan'208";a="425800280" From: Chenyi Qiang To: Paolo Bonzini , Richard Henderson , Eduardo Habkost Subject: [PATCH v3 4/4] target/i386: modify Icelake-Server CPU model number Date: Fri, 10 Apr 2020 14:35:55 +0800 Message-Id: <20200410063555.2309-5-chenyi.qiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200410063555.2309-1-chenyi.qiang@intel.com> References: <20200410063555.2309-1-chenyi.qiang@intel.com> X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 134.134.136.100 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Xiaoyao Li , qemu-devel@nongnu.org, Robert Hoo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" According to the Intel Icelake family list, Icelake-Server uses model number 106(0x6A). Signed-off-by: Chenyi Qiang --- 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 d2f8a276c4..04bcf01b5a 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -3364,7 +3364,7 @@ static X86CPUDefinition builtin_x86_defs[] =3D { .level =3D 0xd, .vendor =3D CPUID_VENDOR_INTEL, .family =3D 6, - .model =3D 134, + .model =3D 106, .stepping =3D 0, .features[FEAT_1_EDX] =3D CPUID_VME | CPUID_SSE2 | CPUID_SSE | CPUID_FXSR | CPUID_MMX | --=20 2.17.1