From nobody Mon May 13 07:47:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1709833483; cv=none; d=zohomail.com; s=zohoarc; b=iiMu0G8Up8Jf+uRi1v23JwTeJj6N4xWNL6bdX7nvsgQxjiW0CvYIhQLkeXNB6YZkS6TCYMKFqZixtwpSh74PJDqE7IuhBfGj2phstDvScHWpJMgwGjozHgoPJUmZ17kw4j4s22wpF4+lbi8FdqGhWtzD+8l1tp6f2mmiSRuGJTI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709833483; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=y4QLOlLWMBW0KA/QcJchwb0FTomDYOH6O+n1qD5hyPk=; b=Mg/jZJSiBTTcD+7PTfqPeFVk9NOj7+38tHz/7TPaxUfPXAkD9bhGwimfC/3gO5TSHFqnYZwXrWAYE+Z0Zwl+Jq3tfxAGEyASUivwoxDC7fDMPnbw6jYP4bwQE4PhvFTYgSfbtq29jAvlKnkvoxH0FLolI8jEHyrrGK8g6Qyoqlk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1709833483591802.6024722292572; Thu, 7 Mar 2024 09:44:43 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riHmr-0000t5-Uj; Thu, 07 Mar 2024 12:44:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHmY-0000jd-G5 for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:43:52 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHmS-0003zc-NW for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:43:50 -0500 Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-325-JSa6KMUYOo-JbmFJlbsrqQ-1; Thu, 07 Mar 2024 12:43:39 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DFADB3C000AC; Thu, 7 Mar 2024 17:43:38 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.192.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 27022492BFC; Thu, 7 Mar 2024 17:43:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709833422; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y4QLOlLWMBW0KA/QcJchwb0FTomDYOH6O+n1qD5hyPk=; b=i1x/wO8YtsazGJxPoppo1y0xiH6ZhIic2MQQFYjOrOTcC3sXHG8Z5+t+Yq+vqz5o9v0WlW dDg7PZqc/1hCQcfJmyhIjjzf7InVMKGxns1OKLVGo0E/EOnTFwID9YQsKzlFwd8IVmagef THJajudU4ZmpjPhwcVZr79Is1qoeGv0= X-MC-Unique: JSa6KMUYOo-JbmFJlbsrqQ-1 From: Thomas Huth To: qemu-devel@nongnu.org, Artyom Tarasenko , Mark Cave-Ayland Cc: Eduardo Habkost , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini Subject: [PATCH 1/5] target/sparc/cpu: Rename the CPU models with a "+" in their names Date: Thu, 7 Mar 2024 18:43:30 +0100 Message-ID: <20240307174334.130407-2-thuth@redhat.com> In-Reply-To: <20240307174334.130407-1-thuth@redhat.com> References: <20240307174334.130407-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 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; Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.583, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1709833485821100008 Content-Type: text/plain; charset="utf-8" Commit b447378e12 ("qom/object: Limit type names to alphanumerical ...") cut down the amount of allowed characters for QOM types to a saner set. The "+" character was not meant to be included in this set, so we had to add a hack there to still allow the legacy names of POWER and Sparc64 CPUs. However, instead of putting such a hack in the common QOM code, there is a much better place to do this: The sparc_cpu_class_by_name() function which is used to look up the names of all Sparc CPUs. Thus let's finally get rid of the "+" in the Sparc CPU names, and provide backward compatibility for the old names via some simple checks in the sparc_cpu_class_by_name() function. Signed-off-by: Thomas Huth Reviewed-by: Mark Cave-Ayland --- qom/object.c | 8 -------- target/sparc/cpu.c | 14 ++++++++++++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/qom/object.c b/qom/object.c index d4a001cf41..759e194972 100644 --- a/qom/object.c +++ b/qom/object.c @@ -158,14 +158,6 @@ static bool type_name_is_valid(const char *name) "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789-_."); =20 - /* Allow some legacy names with '+' in it for compatibility reasons */ - if (name[plen] =3D=3D '+') { - if (plen >=3D 17 && g_str_has_prefix(name, "Sun-UltraSparc-I")) { - /* Allow "Sun-UltraSparc-IV+" and "Sun-UltraSparc-IIIi+" */ - return true; - } - } - return plen =3D=3D slen; } =20 diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index 313ebc4c11..651e49bfeb 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -316,7 +316,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Sun UltraSparc IV+", + .name =3D "Sun UltraSparc IVp", .iu_version =3D ((0x3eULL << 48) | (0x19ULL << 32) | (0x22ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -325,7 +325,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES | CPU_FEATURE_CMT, }, { - .name =3D "Sun UltraSparc IIIi+", + .name =3D "Sun UltraSparc IIIip", .iu_version =3D ((0x3eULL << 48) | (0x22ULL << 32) | (0ULL << 24)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_3, @@ -767,6 +767,16 @@ static ObjectClass *sparc_cpu_class_by_name(const char= *cpu_model) char *typename; =20 typename =3D sparc_cpu_type_name(cpu_model); + + /* Fix up legacy names with '+' in it */ + if (g_str_equal(typename, SPARC_CPU_TYPE_NAME("Sun-UltraSparc-IV+"))) { + g_free(typename); + typename =3D g_strdup(SPARC_CPU_TYPE_NAME("Sun-UltraSparc-IVp")); + } else if (g_str_equal(typename, SPARC_CPU_TYPE_NAME("Sun-UltraSparc-I= IIi+"))) { + g_free(typename); + typename =3D g_strdup(SPARC_CPU_TYPE_NAME("Sun-UltraSparc-IIIip")); + } + oc =3D object_class_by_name(typename); g_free(typename); return oc; --=20 2.44.0 From nobody Mon May 13 07:47:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1709833483; cv=none; d=zohomail.com; s=zohoarc; b=Tg4jB+8cXaeBtgxghN/WzixOyvY6caIG/vhkrtE9QN2caqVz66EDXwq28QbJePLo+RnNkZ24/nYfr6alYPjNLMZsD8GoTZFGwWVCYirLTUWwSmPAWJ3KQhvR+TjDiIDlK1rKLkSRp8GOWbS6HnDxd3e44uGmvqxgD03gRfCPhJk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709833483; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=SPmJU6DLj8tZZCP7Akw3R7cWOpL9VFTanRI+1Y8sK/w=; b=Lg64g8ps9FOyhctKMWA41HORh2NVKOO0vEvT+LgjwWCkuCiZ2o9O1RKAYZV0Asdsg19Gitup9JTZtULE/LvJDXuTsUu1C96d1veWyDEv9wpVox5wzfey9Fyk7Yq2QWajmeXmLBooHcT5pyJUOD6cChup1w/3LGnrUnzxYvX0cvU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1709833483866182.23080546264578; Thu, 7 Mar 2024 09:44:43 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riHmt-0000tJ-19; Thu, 07 Mar 2024 12:44:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHmU-0000fW-1q for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:43:46 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHmS-00041C-2t for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:43:45 -0500 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-663-TCip_INrPeOj-ivF9PiuIQ-1; Thu, 07 Mar 2024 12:43:41 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 041C48F8F64; Thu, 7 Mar 2024 17:43:41 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.192.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 487F4492BDC; Thu, 7 Mar 2024 17:43:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709833423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SPmJU6DLj8tZZCP7Akw3R7cWOpL9VFTanRI+1Y8sK/w=; b=GpUdsAMBJjYlWv4Zv17dJZ0X9iwpX1vFVepW3XuKkGGcriXBO49mwrXsRqbILVAWec9C8p 6chDBMahxfALUldl3jR5EUvLfLxaIcouLMG0OQaZumjOdZN41DMhLLWQPx9H7K/5C4uURo xYdqdbA6cKel3HESjZLW3SN5WCCtrEQ= X-MC-Unique: TCip_INrPeOj-ivF9PiuIQ-1 From: Thomas Huth To: qemu-devel@nongnu.org, Artyom Tarasenko , Mark Cave-Ayland Cc: Eduardo Habkost , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini Subject: [PATCH 2/5] target/sparc/cpu: Avoid spaces by default in the CPU names Date: Thu, 7 Mar 2024 18:43:31 +0100 Message-ID: <20240307174334.130407-3-thuth@redhat.com> In-Reply-To: <20240307174334.130407-1-thuth@redhat.com> References: <20240307174334.130407-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 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; Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.583, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1709833485826100009 Content-Type: text/plain; charset="utf-8" The output of "-cpu help" is currently rather confusing to the users: It is not clear which part of the output defines the CPU names since the CPU names contain white spaces (which we later have to convert into dashes internally) For example: Sparc TI UltraSparc II IU 0017001120000000 FPU 00000000 MMU 00000000 NWINS 8 At a first glance, should the name for -cpu be "Sparc TI Ultrasparc II" or "TI UltraSparc II IU" here? Both would be wrong, the right guess is "TI UltraSparc II" only. Let's start cleaning up this mess by using dashes instead of white spaces for the CPU names, like we're doing it internally later (and like we're doing it in most other targets of QEMU). Note that it is still possible to pass the CPU names with spaces to the "-cpu" option, since sparc_cpu_type_name() still translates those to "-". Buglink: https://gitlab.com/qemu-project/qemu/-/issues/2141 Signed-off-by: Thomas Huth Reviewed-by: Mark Cave-Ayland Reviewed-by: Richard Henderson --- target/sparc/cpu.c | 56 +++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index 651e49bfeb..ae30cded22 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -208,7 +208,7 @@ void cpu_sparc_set_id(CPUSPARCState *env, unsigned int = cpu) static const sparc_def_t sparc_defs[] =3D { #ifdef TARGET_SPARC64 { - .name =3D "Fujitsu Sparc64", + .name =3D "Fujitsu-Sparc64", .iu_version =3D ((0x04ULL << 48) | (0x02ULL << 32) | (0ULL << 24)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -217,7 +217,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Fujitsu Sparc64 III", + .name =3D "Fujitsu-Sparc64-III", .iu_version =3D ((0x04ULL << 48) | (0x03ULL << 32) | (0ULL << 24)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -226,7 +226,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Fujitsu Sparc64 IV", + .name =3D "Fujitsu-Sparc64-IV", .iu_version =3D ((0x04ULL << 48) | (0x04ULL << 32) | (0ULL << 24)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -235,7 +235,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Fujitsu Sparc64 V", + .name =3D "Fujitsu-Sparc64-V", .iu_version =3D ((0x04ULL << 48) | (0x05ULL << 32) | (0x51ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -244,7 +244,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI UltraSparc I", + .name =3D "TI-UltraSparc-I", .iu_version =3D ((0x17ULL << 48) | (0x10ULL << 32) | (0x40ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -253,7 +253,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI UltraSparc II", + .name =3D "TI-UltraSparc-II", .iu_version =3D ((0x17ULL << 48) | (0x11ULL << 32) | (0x20ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -262,7 +262,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI UltraSparc IIi", + .name =3D "TI-UltraSparc-IIi", .iu_version =3D ((0x17ULL << 48) | (0x12ULL << 32) | (0x91ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -271,7 +271,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI UltraSparc IIe", + .name =3D "TI-UltraSparc-IIe", .iu_version =3D ((0x17ULL << 48) | (0x13ULL << 32) | (0x14ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -280,7 +280,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Sun UltraSparc III", + .name =3D "Sun-UltraSparc-III", .iu_version =3D ((0x3eULL << 48) | (0x14ULL << 32) | (0x34ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -289,7 +289,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Sun UltraSparc III Cu", + .name =3D "Sun-UltraSparc-III-Cu", .iu_version =3D ((0x3eULL << 48) | (0x15ULL << 32) | (0x41ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_3, @@ -298,7 +298,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Sun UltraSparc IIIi", + .name =3D "Sun-UltraSparc-IIIi", .iu_version =3D ((0x3eULL << 48) | (0x16ULL << 32) | (0x34ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -307,7 +307,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Sun UltraSparc IV", + .name =3D "Sun-UltraSparc-IV", .iu_version =3D ((0x3eULL << 48) | (0x18ULL << 32) | (0x31ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_4, @@ -316,7 +316,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Sun UltraSparc IVp", + .name =3D "Sun-UltraSparc-IVp", .iu_version =3D ((0x3eULL << 48) | (0x19ULL << 32) | (0x22ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -325,7 +325,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES | CPU_FEATURE_CMT, }, { - .name =3D "Sun UltraSparc IIIip", + .name =3D "Sun-UltraSparc-IIIip", .iu_version =3D ((0x3eULL << 48) | (0x22ULL << 32) | (0ULL << 24)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_3, @@ -334,7 +334,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Sun UltraSparc T1", + .name =3D "Sun-UltraSparc-T1", /* defined in sparc_ifu_fdp.v and ctu.h */ .iu_version =3D ((0x3eULL << 48) | (0x23ULL << 32) | (0x02ULL << 2= 4)), .fpu_version =3D 0x00000000, @@ -345,7 +345,7 @@ static const sparc_def_t sparc_defs[] =3D { | CPU_FEATURE_GL, }, { - .name =3D "Sun UltraSparc T2", + .name =3D "Sun-UltraSparc-T2", /* defined in tlu_asi_ctl.v and n2_revid_cust.v */ .iu_version =3D ((0x3eULL << 48) | (0x24ULL << 32) | (0x02ULL << 2= 4)), .fpu_version =3D 0x00000000, @@ -356,7 +356,7 @@ static const sparc_def_t sparc_defs[] =3D { | CPU_FEATURE_GL, }, { - .name =3D "NEC UltraSparc I", + .name =3D "NEC-UltraSparc-I", .iu_version =3D ((0x22ULL << 48) | (0x10ULL << 32) | (0x40ULL << 2= 4)), .fpu_version =3D 0x00000000, .mmu_version =3D mmu_us_12, @@ -366,7 +366,7 @@ static const sparc_def_t sparc_defs[] =3D { }, #else { - .name =3D "Fujitsu MB86904", + .name =3D "Fujitsu-MB86904", .iu_version =3D 0x04 << 24, /* Impl 0, ver 4 */ .fpu_version =3D 4 << FSR_VER_SHIFT, /* FPU version 4 (Meiko) */ .mmu_version =3D 0x04 << 24, /* Impl 0, ver 4 */ @@ -379,7 +379,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "Fujitsu MB86907", + .name =3D "Fujitsu-MB86907", .iu_version =3D 0x05 << 24, /* Impl 0, ver 5 */ .fpu_version =3D 4 << FSR_VER_SHIFT, /* FPU version 4 (Meiko) */ .mmu_version =3D 0x05 << 24, /* Impl 0, ver 5 */ @@ -392,7 +392,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI MicroSparc I", + .name =3D "TI-MicroSparc-I", .iu_version =3D 0x41000000, .fpu_version =3D 4 << FSR_VER_SHIFT, .mmu_version =3D 0x41000000, @@ -405,7 +405,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_FEATURE_MUL | CPU_FEATURE_DIV, }, { - .name =3D "TI MicroSparc II", + .name =3D "TI-MicroSparc-II", .iu_version =3D 0x42000000, .fpu_version =3D 4 << FSR_VER_SHIFT, .mmu_version =3D 0x02000000, @@ -418,7 +418,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI MicroSparc IIep", + .name =3D "TI-MicroSparc-IIep", .iu_version =3D 0x42000000, .fpu_version =3D 4 << FSR_VER_SHIFT, .mmu_version =3D 0x04000000, @@ -431,7 +431,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI SuperSparc 40", /* STP1020NPGA */ + .name =3D "TI-SuperSparc-40", /* STP1020NPGA */ .iu_version =3D 0x41000000, /* SuperSPARC 2.x */ .fpu_version =3D 0 << FSR_VER_SHIFT, .mmu_version =3D 0x00000800, /* SuperSPARC 2.x, no MXCC */ @@ -444,7 +444,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI SuperSparc 50", /* STP1020PGA */ + .name =3D "TI-SuperSparc-50", /* STP1020PGA */ .iu_version =3D 0x40000000, /* SuperSPARC 3.x */ .fpu_version =3D 0 << FSR_VER_SHIFT, .mmu_version =3D 0x01000800, /* SuperSPARC 3.x, no MXCC */ @@ -457,7 +457,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI SuperSparc 51", + .name =3D "TI-SuperSparc-51", .iu_version =3D 0x40000000, /* SuperSPARC 3.x */ .fpu_version =3D 0 << FSR_VER_SHIFT, .mmu_version =3D 0x01000000, /* SuperSPARC 3.x, MXCC */ @@ -471,7 +471,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI SuperSparc 60", /* STP1020APGA */ + .name =3D "TI-SuperSparc-60", /* STP1020APGA */ .iu_version =3D 0x40000000, /* SuperSPARC 3.x */ .fpu_version =3D 0 << FSR_VER_SHIFT, .mmu_version =3D 0x01000800, /* SuperSPARC 3.x, no MXCC */ @@ -484,7 +484,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI SuperSparc 61", + .name =3D "TI-SuperSparc-61", .iu_version =3D 0x44000000, /* SuperSPARC 3.x */ .fpu_version =3D 0 << FSR_VER_SHIFT, .mmu_version =3D 0x01000000, /* SuperSPARC 3.x, MXCC */ @@ -498,7 +498,7 @@ static const sparc_def_t sparc_defs[] =3D { .features =3D CPU_DEFAULT_FEATURES, }, { - .name =3D "TI SuperSparc II", + .name =3D "TI-SuperSparc-II", .iu_version =3D 0x40000000, /* SuperSPARC II 1.x */ .fpu_version =3D 0 << FSR_VER_SHIFT, .mmu_version =3D 0x08000000, /* SuperSPARC II 1.x, MXCC */ --=20 2.44.0 From nobody Mon May 13 07:47:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1709833527; cv=none; d=zohomail.com; s=zohoarc; b=jVbRBBUdvoqSiqVPijBKbMQeyDp+csTyvNy1OYZwNJB8az98Ww+ZFXZY9xpMZeUyNa3VZuGDB9kYetdoIaq3MPli0TMwWJ55L3vuiV63xzdT4ofywMNSlkOHDN4eoDI2LcPilRYVL4z2efIP4neWbzvniRowuwlEB6JHCUrhUKA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709833527; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ulU3moi76qwMOXwAumLT0gT7G9rAMBvSR0pQNGnTWZw=; b=iw4cZ6Pm/5Nmj/7t+E6Wd+c6/25qgk4LuXeh9h8e9qMesL98ELOeOLRZwW+pu6ca7to1uNjq2JZ/oaQKwbpZXVQaGANwJwtqVNy9RPAgbxybEd8Us01Zo79C721oWRFOAQ91HHplGG4MQ4FQg4IXMbc7ZWXZ4sTdS4p6wTPnweg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1709833527085876.9380322286121; Thu, 7 Mar 2024 09:45:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riHmz-0000yr-5j; Thu, 07 Mar 2024 12:44:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHmY-0000jb-E7 for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:43:52 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHmV-000434-03 for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:43:48 -0500 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-594-gPRTnUy5OKqDhXYeG_o9qQ-1; Thu, 07 Mar 2024 12:43:43 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B36ED8007A3; Thu, 7 Mar 2024 17:43:42 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.192.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 70B53492BDC; Thu, 7 Mar 2024 17:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709833426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ulU3moi76qwMOXwAumLT0gT7G9rAMBvSR0pQNGnTWZw=; b=INhXPkptBB8RTYknMMBxD6oqNMiagBMstJLM1kJiHn5zCcfsLi8B2/4UcbZbI4t6NCG3Fm QVv6Vo4Vi5yEfzvdcf79l5cyrTOIngxGcdvlaVdg5U6RA3yOq7E7riOj8l973ZClx+EMpp l75Zasrki2RieVwYJ2ydM2KwqvRf1JY= X-MC-Unique: gPRTnUy5OKqDhXYeG_o9qQ-1 From: Thomas Huth To: qemu-devel@nongnu.org, Artyom Tarasenko , Mark Cave-Ayland Cc: Eduardo Habkost , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini Subject: [PATCH 3/5] target/sparc/cpu: Improve the CPU help text Date: Thu, 7 Mar 2024 18:43:32 +0100 Message-ID: <20240307174334.130407-4-thuth@redhat.com> In-Reply-To: <20240307174334.130407-1-thuth@redhat.com> References: <20240307174334.130407-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 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; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.583, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1709833527949100003 Content-Type: text/plain; charset="utf-8" Remove the unnecessary "Sparc" at the beginning of the line and put the chip information into parentheses so that it is clearer which part of the line have to be passed to "-cpu" to specify a different CPU. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2141 Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/sparc/cpu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index ae30cded22..6650248ffe 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -576,9 +576,10 @@ void sparc_cpu_list(void) { unsigned int i; =20 + qemu_printf("Available CPU types:\n"); for (i =3D 0; i < ARRAY_SIZE(sparc_defs); i++) { - qemu_printf("Sparc %16s IU " TARGET_FMT_lx - " FPU %08x MMU %08x NWINS %d ", + qemu_printf(" %-20s (IU " TARGET_FMT_lx + " FPU %08x MMU %08x NWINS %d) ", sparc_defs[i].name, sparc_defs[i].iu_version, sparc_defs[i].fpu_version, --=20 2.44.0 From nobody Mon May 13 07:47:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1709833513; cv=none; d=zohomail.com; s=zohoarc; b=G7ZHW77Vx/DnE3TF4qAZgtVUM6Wv2jAAsRLVEtTWoeVCi6KxSOa6b8hdGBK1zPGHreLLTtrs3QORVFZt291+XTiyKKPWXy/ggH2PcFEoj3opjTtlsiTYw4Y3RhkVbvUN6R15rPKWxXNW+MoZbrFOHN3OuBBvscowqk+sGVgHkho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709833513; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=KmFIhMjY6vN/e6JPU/huc49Xuw5+OwAjhgtRJDKzpUY=; b=OUtGZ/Pwf1SJ4fg0RpapPiTJ/7lcKklsNduz/55qAkRAGEmHk2b3lZrs2bpwcoEpvr4uVV4se9C0Hiv7rlveKpqMZdHpuLnEtaiQVst2wEHjQR2fINlzgY9ELgdQln3hMmkEaV3F6Kr9q5LReT8E79Huq5jTquZomaZemjFvR5Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1709833513209560.6398572880524; Thu, 7 Mar 2024 09:45:13 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riHmz-00012U-VA; Thu, 07 Mar 2024 12:44:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHmn-0000pv-1O for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:44:07 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHml-0004CW-5Z for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:44:04 -0500 Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-248-9Ma0ZduvMFGO0v4TQsAh4A-1; Thu, 07 Mar 2024 12:44:00 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8805C3C5CF24; Thu, 7 Mar 2024 17:43:44 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.192.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 21121492BFC; Thu, 7 Mar 2024 17:43:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709833442; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KmFIhMjY6vN/e6JPU/huc49Xuw5+OwAjhgtRJDKzpUY=; b=JBU26Oeqi3Kap5MAS12FXTVvk6OOLclLEjrf8eIym2Wzu6xjQ7XUiTlXhYJUYuXJwA+v5+ 1VvUtIgZjmE/XWb4p7PsHS0+wVwuBHKsSsOXrf6C91rl/MwwMOwu+L8Xh/ZK/87Xns9Ql4 hHmaXE0OinnH6YI8Y4O55pNZObuY7JA= X-MC-Unique: 9Ma0ZduvMFGO0v4TQsAh4A-1 From: Thomas Huth To: qemu-devel@nongnu.org, Artyom Tarasenko , Mark Cave-Ayland Cc: Eduardo Habkost , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini Subject: [PATCH 4/5] docs/system/target-sparc: Improve the Sparc documentation Date: Thu, 7 Mar 2024 18:43:33 +0100 Message-ID: <20240307174334.130407-5-thuth@redhat.com> In-Reply-To: <20240307174334.130407-1-thuth@redhat.com> References: <20240307174334.130407-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 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; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.583, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1709833513977100001 Content-Type: text/plain; charset="utf-8" Add some words about how to enable or disable boolean features, and remove the note about a Linux kernel being available on the QEMU website (they have been removed long ago already). Signed-off-by: Thomas Huth --- docs/system/target-sparc.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/system/target-sparc.rst b/docs/system/target-sparc.rst index 9ec8c90c14..9f418b9d3e 100644 --- a/docs/system/target-sparc.rst +++ b/docs/system/target-sparc.rst @@ -27,6 +27,11 @@ architecture machines: The emulation is somewhat complete. SMP up to 16 CPUs is supported, but Linux limits the number of usable CPUs to 4. =20 +The list of available CPUs can be viewed by starting QEMU with ``-cpu help= ``. +Optional boolean features can be added with a "+" in front of the feature = name, +or disabled with a "-" in front of the name, for example +``-cpu TI-SuperSparc-II,+float128``. + QEMU emulates the following sun4m peripherals: =20 - IOMMU @@ -55,8 +60,7 @@ OpenBIOS is a free (GPL v2) portable firmware implementat= ion. The goal is to implement a 100% IEEE 1275-1994 (referred to as Open Firmware) compliant firmware. =20 -A sample Linux 2.6 series kernel and ram disk image are available on the -QEMU web site. There are still issues with NetBSD and OpenBSD, but most +There are still issues with NetBSD and OpenBSD, but most kernel versions work. Please note that currently older Solaris kernels don't work probably due to interface issues between OpenBIOS and Solaris. --=20 2.44.0 From nobody Mon May 13 07:47:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1709833533; cv=none; d=zohomail.com; s=zohoarc; b=NiQPBF1r9CoJKwHGM81CEWAiHHdkCIZfdEwYnDwKlDEgxwLVJccDsJX/cs5nQjgFMhMTDHJPjOqbhwQTI/datvLE+30B8wURhtVrH+1hnoLDm+OvoxSIpv4gRg+fQBhDLjDZOM8eBHpoePk82AdVkGGzlQnS0v7U4QKP31Kg9ds= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709833533; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=CIlCcmDQIk89Hj3GT6H2QVvx/Dx1HtXandT/F1r5aws=; b=BV1IMzYteG05IivI/sqFwUfCE3wIrM54AoSYpF9zAa8W9T6A/E5k3t02P/87s1EU2nZpwBcEe36zFoFVl7VVMdTrfxx5p9GuR3uRPhkNMvY6Xf21CSc6+FCBSByQFLD3nmMEPmwWRKaXmoygp43PVytPKixqSRpuHXSdzJCG/E0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1709833533012732.0123281418513; Thu, 7 Mar 2024 09:45:33 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riHmz-00010E-Fj; Thu, 07 Mar 2024 12:44:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHmq-0000tA-5x for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:44:08 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riHmY-00045i-QU for qemu-devel@nongnu.org; Thu, 07 Mar 2024 12:44:07 -0500 Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-616-f_mtK3nzPSqkQRSN1LS5Uw-1; Thu, 07 Mar 2024 12:43:47 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9226B3C5CF2A; Thu, 7 Mar 2024 17:43:46 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.192.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0A261492BDC; Thu, 7 Mar 2024 17:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709833430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CIlCcmDQIk89Hj3GT6H2QVvx/Dx1HtXandT/F1r5aws=; b=Pc17ZfBSFcx+Wi5rYVGgYACvGBJx/5JoLU/braef8jFazmVOMYSm7m6z4RfpRIx8crqMKY SQZUMgBfw20pQHT1KiDWOc0/NAX8wioSDGImztlPxMJEkwgz9JW6uJGj9inxI37G3JRKPv Z1JZqDl52M90kqcaCmOOxa0msBtfMhk= X-MC-Unique: f_mtK3nzPSqkQRSN1LS5Uw-1 From: Thomas Huth To: qemu-devel@nongnu.org, Artyom Tarasenko , Mark Cave-Ayland Cc: Eduardo Habkost , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini Subject: [PATCH 5/5] docs/about: Deprecate the old "UltraSparc" CPU names that contain a "+" Date: Thu, 7 Mar 2024 18:43:34 +0100 Message-ID: <20240307174334.130407-6-thuth@redhat.com> In-Reply-To: <20240307174334.130407-1-thuth@redhat.com> References: <20240307174334.130407-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 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; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.583, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1709833534110100003 Content-Type: text/plain; charset="utf-8" For consistency we should drop the names with a "+" in it in the long run. Signed-off-by: Thomas Huth Reviewed-by: Mark Cave-Ayland --- docs/about/deprecated.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst index 8565644da6..7058341f8f 100644 --- a/docs/about/deprecated.rst +++ b/docs/about/deprecated.rst @@ -202,6 +202,15 @@ in the QEMU object model anymore. ``power5+``, ``power= 5+_v2.1``, an alias, but for consistency these will get removed in a future release, too. Use ``power5p_v2.1`` and ``power7p_v2.1`` instead. =20 +``Sun-UltraSparc-IIIi+`` and ``Sun-UltraSparc-IV+`` CPU names (since 9.0) +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +The character "+" in device (and thus also CPU) names is not allowed +in the QEMU object model anymore. ``Sun-UltraSparc-IIIi+`` and +``Sun-UltraSparc-IV+`` are currently still supported via a workaround, +but for consistency these will get removed in a future release, too. +Use ``Sun-UltraSparc-IIIip`` and ``Sun-UltraSparc-IVp`` instead. + CRIS CPU architecture (since 9.0) ''''''''''''''''''''''''''''''''' =20 --=20 2.44.0