From nobody Wed Nov 27 07:35:18 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.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=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1699902673115103.63990218641425; Mon, 13 Nov 2023 11:11:13 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2cKk-000847-LN; Mon, 13 Nov 2023 14:10:54 -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 1r2cJu-0007yF-Bq for qemu-devel@nongnu.org; Mon, 13 Nov 2023 14:10:02 -0500 Received: from havoc.proulx.com ([198.99.81.74]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2cJs-0001D4-Uw for qemu-devel@nongnu.org; Mon, 13 Nov 2023 14:10:02 -0500 Received: by havoc.proulx.com (Postfix, from userid 1027) id E441D8B5; Mon, 13 Nov 2023 12:09:59 -0700 (MST) 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 1r2YIS-0005Zg-Hf for qemu-devel@nongnu.org; Mon, 13 Nov 2023 09:52:18 -0500 Received: from [213.94.54.170] (helo=hatelia.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2YIP-0005Jw-VC for qemu-devel@nongnu.org; Mon, 13 Nov 2023 09:52:16 -0500 Received: by hatelia.local (Postfix, from userid 501) id A37B93B7270; Mon, 13 Nov 2023 15:52:10 +0100 (CET) Resent-From: Mailing List Manager Resent-Date: Mon, 13 Nov 2023 12:09:59 -0700 Resent-Message-ID: Resent-To: qemu-devel@nongnu.org From: =?UTF-8?q?Rom=C3=A1n=20C=C3=A1rdenas?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Rom=C3=A1n=20C=C3=A1rdenas?= Subject: [PATCH] [PATCH] Fix SiFive E CLINT clock frequency (#1978) Date: Mon, 13 Nov 2023 15:51:26 +0100 Message-Id: <20231113145126.99585-1-rcardenas.rod@gmail.com> X-Mailer: git-send-email 2.39.3 (Apple Git-145) MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 213.94.54.170 (failed) 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: none client-ip=213.94.54.170; envelope-from=rcardenas@hatelia.local; helo=hatelia.local Received-SPF: pass client-ip=198.99.81.74; envelope-from=mlmgr@proulx.com; helo=havoc.proulx.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HK_RANDOM_ENVFROM=0.999, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 13 Nov 2023 14:10:53 -0500 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-ZM-MESSAGEID: 1699902673820100001 Content-Type: text/plain; charset="utf-8" --- hw/riscv/sifive_e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/riscv/sifive_e.c b/hw/riscv/sifive_e.c index 0d37adc542..87d9602383 100644 --- a/hw/riscv/sifive_e.c +++ b/hw/riscv/sifive_e.c @@ -225,7 +225,7 @@ static void sifive_e_soc_realize(DeviceState *dev, Erro= r **errp) RISCV_ACLINT_SWI_SIZE, RISCV_ACLINT_DEFAULT_MTIMER_SIZE, 0, ms->smp.cpus, RISCV_ACLINT_DEFAULT_MTIMECMP, RISCV_ACLINT_DEFAULT_MTIME, - RISCV_ACLINT_DEFAULT_TIMEBASE_FREQ, false); + SIFIVE_E_LFCLK_DEFAULT_FREQ, false); sifive_e_prci_create(memmap[SIFIVE_E_DEV_PRCI].base); =20 /* AON */ --=20 2.39.3 (Apple Git-145)