From nobody Fri Nov 7 04:19:52 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=intel.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1545878798048177.07479186412093; Wed, 26 Dec 2018 18:46:38 -0800 (PST) Received: from localhost ([127.0.0.1]:49151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcLgy-0005Tx-Nx for importer@patchew.org; Wed, 26 Dec 2018 21:46:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcLfG-0004SE-Nw for qemu-devel@nongnu.org; Wed, 26 Dec 2018 21:44:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcLfC-00049T-Jh for qemu-devel@nongnu.org; Wed, 26 Dec 2018 21:44:50 -0500 Received: from mga14.intel.com ([192.55.52.115]:35524) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gcLfC-0003oN-5s for qemu-devel@nongnu.org; Wed, 26 Dec 2018 21:44:46 -0500 Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Dec 2018 18:44:36 -0800 Received: from vmmtaopc.sh.intel.com ([10.239.13.92]) by orsmga005.jf.intel.com with ESMTP; 26 Dec 2018 18:44:35 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,403,1539673200"; d="scan'208";a="286869305" From: Tao Xu To: pbonzini@redhat.com, rth@twiddle.net, ehabkost@redhat.com Date: Thu, 27 Dec 2018 10:43:03 +0800 Message-Id: <20181227024304.12182-2-tao3.xu@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181227024304.12182-1-tao3.xu@intel.com> References: <20181227024304.12182-1-tao3.xu@intel.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.55.52.115 Subject: [Qemu-devel] [PATCH 1/2] i386: Update stepping of Cascadelake-Server X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tao3.xu@intel.com, qemu-devel@nongnu.org, robert.hu@linux.intel.com 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" Update the stepping from 5 to 6, in order that the Cascadelake-Server CPU model can support AVX512VNNI and MSR based features exposed by ARCH_CAPABILITIES. Signed-off-by: Tao Xu --- include/hw/i386/pc.h | 4 ++++ target/i386/cpu.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index c7c0c944e8..95453968db 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -300,6 +300,10 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_= t *); .driver =3D "intel-iommu",\ .property =3D "dma-drain",\ .value =3D "off",\ + },{\ + .driver =3D "Cascadelake-Server" "-" TYPE_X86_CPU,\ + .property =3D "stepping",\ + .value =3D "5",\ }, =20 #define PC_COMPAT_3_0 \ diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 677a3bd5fb..09706ad51a 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -2466,7 +2466,7 @@ static X86CPUDefinition builtin_x86_defs[] =3D { .vendor =3D CPUID_VENDOR_INTEL, .family =3D 6, .model =3D 85, - .stepping =3D 5, + .stepping =3D 6, .features[FEAT_1_EDX] =3D CPUID_VME | CPUID_SSE2 | CPUID_SSE | CPUID_FXSR | CPUID_MMX | CPUID_CLFLUSH | CPUID_PSE36 | CPUID_PAT | CPUID_CMOV | CPUID_M= CA | --=20 2.17.1