From patchwork Thu Jun 11 02:47:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Hoo X-Patchwork-Id: 11599157 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CC4E792A for ; Thu, 11 Jun 2020 02:49:42 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ABC672064C for ; Thu, 11 Jun 2020 02:49:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ABC672064C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:52246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjDHh-0007dl-VV for patchwork-qemu-devel@patchwork.kernel.org; Wed, 10 Jun 2020 22:49:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjDGS-0006Qw-EA for qemu-devel@nongnu.org; Wed, 10 Jun 2020 22:48:24 -0400 Received: from mga17.intel.com ([192.55.52.151]:30725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjDGR-0003Vi-FL for qemu-devel@nongnu.org; Wed, 10 Jun 2020 22:48:24 -0400 IronPort-SDR: VUK6NQKiRnGmub77MIkR5E6AwVJnpLi7wicYb2KcQ3COZt63EAf4Fl7JtMUS4GwOuea/stpfb9 yBy8OvNr+/GQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2020 19:48:21 -0700 IronPort-SDR: niSxMeSwORaLCTWIJFQE3jZVxwNTQrRZ+EOkyVylLmIMH06dbh+OxB0XvA60TZ9R3B3oZF9mzF nXHw0Ic75Izw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,498,1583222400"; d="scan'208";a="275183966" Received: from sqa-gate.sh.intel.com (HELO robert-ivt.tsp.org) ([10.239.48.212]) by orsmga006.jf.intel.com with ESMTP; 10 Jun 2020 19:48:19 -0700 From: Robert Hoo To: pbonzini@redhat.com, rth@twiddle.net, ehabkost@redhat.com, eblake@redhat.com, armbru@redhat.com Subject: [PATCH v2 2/2] Mark Icelake-Client CPU models deprecated Date: Thu, 11 Jun 2020 10:47:56 +0800 Message-Id: <1591843676-102054-2-git-send-email-robert.hu@linux.intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1591843676-102054-1-git-send-email-robert.hu@linux.intel.com> References: <1591843676-102054-1-git-send-email-robert.hu@linux.intel.com> Received-SPF: none client-ip=192.55.52.151; envelope-from=robert.hu@linux.intel.com; helo=mga17.intel.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/10 22:48:22 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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: robert.hu@intel.com, Robert Hoo , xiaoyao.li@intel.com, qemu-devel@nongnu.org, chenyi.qiang@intel.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Going to obsolete Icelake-Client CPU models in the future. (No changes in v2) Signed-off-by: Robert Hoo --- target/i386/cpu.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 0d8638a..47a11b5 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -3350,7 +3350,12 @@ static X86CPUDefinition builtin_x86_defs[] = { .xlevel = 0x80000008, .model_id = "Intel Core Processor (Icelake)", .versions = (X86CPUVersionDefinition[]) { - { .version = 1 }, + { + .version = 1, + .deprecated = true, + .note = "Deprecated. Will be obsoleted in v5.1. Please use " + "'Icelake-Server-v1' CPU model", + }, { .version = 2, .alias = "Icelake-Client-noTSX", @@ -3359,6 +3364,9 @@ static X86CPUDefinition builtin_x86_defs[] = { { "rtm", "off" }, { /* end of list */ } }, + .deprecated = true, + .note = "Deprecated. Will be obsoleted in v5.1. Please use " + "'Icelake-Server-v2' CPU model", }, { /* end of list */ } }