From nobody Wed Feb 11 02:57:47 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail header.i=@wdc.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=wdc.com ARC-Seal: i=1; a=rsa-sha256; t=1592587723; cv=none; d=zohomail.com; s=zohoarc; b=FcNNJmdwajezmgDAjySl7OT3pPXb4+YcfIuFJ+UFfwxFvvQnQ1ktA3hc1q5z/5xujc3Ai6PBC5VbkzPl8Z2cxHOqacEG6anz7XatlSZAeif7HbA9LOZp8hAARJQ5nXAWqixH6mMM4WSdpnwFpzSZD35ua1LhxZlyi1MJ3NlSjUk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592587723; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qmdJhu2l7OAPEcUkT0+BZbilmgtY49SGTMU3MHuOMT4=; b=kcNAcvfRBUHNY4LeoA8+Vu0wd5Z2G9sQhHgjv8s/tIgRWQkuHJdLTK3pIKlQK44XMHwXtYaDylYphVucbugDH9U8gbMMFtmtfI1tFhrR2LN3NteGJIiU9/0PU/EGPUxYj1rePWVqn7ufqH6URjdpLajWtRq7Xq4EXbJFLr/SFAk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail header.i=@wdc.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 1592587723780556.3948106592469; Fri, 19 Jun 2020 10:28:43 -0700 (PDT) Received: from localhost ([::1]:59440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmKok-000344-FO for importer@patchew.org; Fri, 19 Jun 2020 13:28:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmKUm-0001lB-V3 for qemu-devel@nongnu.org; Fri, 19 Jun 2020 13:08:04 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:24436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmKUl-0004Q3-4x for qemu-devel@nongnu.org; Fri, 19 Jun 2020 13:08:04 -0400 Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 20 Jun 2020 01:07:30 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jun 2020 09:56:05 -0700 Received: from unknown (HELO risc6-mainframe.hgst.com) ([10.86.58.142]) by uls-op-cesaip02.wdc.com with ESMTP; 19 Jun 2020 10:07:28 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1592586504; x=1624122504; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mNUxJaBqscecrc5iYSnB5gf7mz+p8sMw9gNqAnpXd2M=; b=M9hyhgG338vwwudBOd8egHYDVM7ZapHlv6DSmQn8HQUDfOpsvcP4DfTk WDVm9hKDkOUOB7FFau1oRB5t2dcUOnDdbTqUsCJUcX/sFarSy6ugS8Yk+ 0CT8/z4HQjp2cuya8FW9//GQJtwXLMtwTERFRkNIkN34HdlR9mZnERYyg Tw8j662OTa13qsITO7xpzeEwZdKQ7FTse52nL4O8ABFt08FgLS0NYUK6o fyEIoUzDTmMh9I1FSa3ttJ18H4pFFJ8m+78mF4g5CTqhjHTXWxXZBIOH9 S6ZXkw09NDAboy/aJ+qB/AgQgbCJ8DYn4gkFZEWW1dgPyOxswC1c/I8mR A==; IronPort-SDR: is6wj0Qnp94Akq2OvB9xy2kZd9NzhG7ecWlsno1miOnqajZ0QdjZ/DXp72i4p9VO+YVy+8/9LJ a54AQlcygzJFbyK0H4J0zof1zLYFkrVwhA/Z9TlD17iCLIeLdxMzOww0HlXuw/yoCAebfjgSsM DibpDU1UuWGunZmt7DvE45P6Hy1EOp8TE5GFdvvf1QviW46HYKYpYb92PY1TwkP30U9ikTzTb3 238+lFYYbVEPADcaS416k4wXcFAM7VdQQW+pVkdA8Ag6OkgzCQMqb2FIdMxfX3e6U4tdroHcBe IL8= X-IronPort-AV: E=Sophos;i="5.75,256,1589212800"; d="scan'208";a="243417018" IronPort-SDR: eOrFYqMV2CPwS02EuE14M1wAnHckxwPAcSHMWzHJohaoBQsFgexC5yyZV5Fs5pac4H1Be0Ey21 6NJ1ByAa3WAOAT5fxvUy0t+G09nU0bihg= IronPort-SDR: 57eTFWrET4M8r4VoY8A6+MK96EopGp3RWdekN/x7NU4VkYZo+SS+Ibv3zpviMDrxn1v2ttGSd3 bC8EJMLcnzFQ== WDCIronportException: Internal From: Alistair Francis To: peter.maydell@linaro.org, qemu-devel@nongnu.org Subject: [PULL v2 28/32] target/riscv: Rename IBEX CPU init routine Date: Fri, 19 Jun 2020 09:58:13 -0700 Message-Id: <20200619165817.4144200-29-alistair.francis@wdc.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619165817.4144200-1-alistair.francis@wdc.com> References: <20200619165817.4144200-1-alistair.francis@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=68.232.143.124; envelope-from=prvs=4324eb4de=alistair.francis@wdc.com; helo=esa2.hgst.iphmx.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/19 13:07:24 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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: alistair23@gmail.com, Bin Meng , Alistair Francis Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Bin Meng Current IBEX CPU init routine name seems to be too generic. Since it uses a different reset vector from the generic one, it merits a dedicated name. Signed-off-by: Bin Meng Reviewed-by: Alistair Francis Message-id: 1592268641-7478-2-git-send-email-bmeng.cn@gmail.com Message-Id: <1592268641-7478-2-git-send-email-bmeng.cn@gmail.com> Signed-off-by: Alistair Francis --- target/riscv/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index e867766cf0..5f034588ec 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -153,7 +153,7 @@ static void rvxx_imacu_nommu_cpu_init(Object *obj) =20 #if defined(TARGET_RISCV32) =20 -static void rv32_imcu_nommu_cpu_init(Object *obj) +static void rv32_ibex_cpu_init(Object *obj) { CPURISCVState *env =3D &RISCV_CPU(obj)->env; set_misa(env, RV32 | RVI | RVM | RVC | RVU); @@ -577,7 +577,7 @@ static const TypeInfo riscv_cpu_type_infos[] =3D { DEFINE_CPU(TYPE_RISCV_CPU_ANY, riscv_any_cpu_init), #if defined(TARGET_RISCV32) DEFINE_CPU(TYPE_RISCV_CPU_BASE32, riscv_base_cpu_init), - DEFINE_CPU(TYPE_RISCV_CPU_IBEX, rv32_imcu_nommu_cpu_init), + DEFINE_CPU(TYPE_RISCV_CPU_IBEX, rv32_ibex_cpu_init), DEFINE_CPU(TYPE_RISCV_CPU_SIFIVE_E31, rvxx_imacu_nommu_cpu_init), DEFINE_CPU(TYPE_RISCV_CPU_SIFIVE_E34, rv32_imafcu_nommu_cpu_init= ), DEFINE_CPU(TYPE_RISCV_CPU_SIFIVE_U34, rvxx_gcsu_priv1_10_0_cpu_i= nit), --=20 2.27.0