Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 07019C54F30 for ; Tue, 27 May 2025 12:03:50 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uJt1x-0003ef-ND; Tue, 27 May 2025 08:03:41 -0400 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 1uJt1u-0003dW-8z; Tue, 27 May 2025 08:03:38 -0400 Received: from imap4.hz.codethink.co.uk ([188.40.203.114]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uJt1m-00057z-0l; Tue, 27 May 2025 08:03:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codethink.co.uk; s=imap4-20230908; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=yima1nGxODtmOyU6SbGTW9h9zw+/b2Gwa6neFo8mOxg=; b=afPSkjfWnOsNWuivbpN6o6WTyB 3Bb0lG9AsZEcVcab+TXasSs9NDgs4ZQQf/9NHK+yakpyE2u13OkKuMkWtZTcHDrfEMKLh5PNfKkaY ODe/uOU4ZUt/ToA14R3dG2JfaoUsRPPP7b+C1obtd9LV28+4wi5OSB2dX1Sa3RBZrKRsxEZg7PuZx xpEto3j+ZV4RPPOwuv82Ck/dZmUuD5fYKLwTfDjNVCbPOTvedpr8uhvd9xXc72P0JcPkamCUSvYZk nnH0kyuXwtHeRCDBxxCwJ0Uiw6MbGGeQ3FzThZFzWk5zv6h6jVS63Hsi7/mZeNqYaA3HOW+LcbYtv ewpZakAg==; Received: from [167.98.27.226] (helo=rainbowdash) by imap4.hz.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1uJsQ9-002w7a-NH; Tue, 27 May 2025 12:24:38 +0100 Received: from ben by rainbowdash with local (Exim 4.98.2) (envelope-from ) id 1uJsQA-00000001DqM-1GQC; Tue, 27 May 2025 12:24:38 +0100 From: Ben Dooks To: nazar.kazakov@codethink.co.uk, joseph.baker@codethink.co.uk, fran.redondo@codethink.co.uk, lawrence.hunter@codethink.co.uk, liwei1518@gmail.com, dbarboza@ventanamicro.com, zhiwei_liu@linux.alibaba.com, qemu-riscv@nongnu.org Cc: ben.dooks@codethink.co.uk, qemu-devel@nongnu.org Subject: [PATCH v2 3/3] hw/riscv: set cva6 to use TYPE_RISCV_CPU_CVA6 Date: Tue, 27 May 2025 12:24:37 +0100 Message-Id: <20250527112437.291445-4-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.37.2.352.g3c44437643 In-Reply-To: <20250527112437.291445-1-ben.dooks@codethink.co.uk> References: <20250527112437.291445-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=188.40.203.114; envelope-from=srv_ts003@codethink.com; helo=imap4.hz.codethink.co.uk X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@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-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Sender: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Change to using TYPE_RISCV_CPU_CVA6 once this is merged. Signed-off-by: Ben Dooks --- hw/riscv/cva6.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/riscv/cva6.c b/hw/riscv/cva6.c index 3adfa8b5cc..e6fd0ebafc 100644 --- a/hw/riscv/cva6.c +++ b/hw/riscv/cva6.c @@ -83,8 +83,7 @@ static void cva6_machine_class_init(ObjectClass *oc, const void *data) mc->init = cva6_machine_init; mc->max_cpus = 1; mc->default_ram_id = "cva6.ram"; - /* start with "max" cpu type until we sort out CVA6 type */ - mc->default_cpu_type = TYPE_RISCV_CPU_MAX; + mc->default_cpu_type = TYPE_RISCV_CPU_CVA6; mc->default_ram_size = cva6_memmap[CVA6_DRAM].size; }; -- 2.37.2.352.g3c44437643