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 14BC2D2ECE9 for ; Tue, 20 Jan 2026 12:41:36 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viB00-0002W2-Pn; Tue, 20 Jan 2026 07:38:20 -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 1viAyv-0001WK-0i; Tue, 20 Jan 2026 07:37:14 -0500 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1viAyn-0002Wc-Ak; Tue, 20 Jan 2026 07:37:10 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id D3E3C1802C3; Tue, 20 Jan 2026 15:21:33 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 4F47235174C; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Julian Ganz , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 4/9] tests: fix comment declaring runtime in rv64 interruptedmemory test Date: Tue, 20 Jan 2026 15:21:41 +0300 Message-ID: <20260120122150.2254321-5-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org From: Julian Ganz The test attempts to trigger a regression for arount 30s. However, a comment just before the computation of the target wall clock time falsly declares the run time to be around 60s. This was the case already when we introduced the test in 5241645c47a9987f4fcc65bab303a444966b7942 (tests: add test with interrupted memory accesses on rv64) Signed-off-by: Julian Ganz Reviewed-by: Daniel Henrique Barboza Signed-off-by: Michael Tokarev --- tests/tcg/riscv64/interruptedmemory.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tcg/riscv64/interruptedmemory.S b/tests/tcg/riscv64/interruptedmemory.S index cd9073ee31..c154f93839 100644 --- a/tests/tcg/riscv64/interruptedmemory.S +++ b/tests/tcg/riscv64/interruptedmemory.S @@ -25,7 +25,7 @@ _start: li a0, 0x03 # 8N1, DLAB=0 sb a0, 3(t1) - # Run test for around 60s + # Run test for around 30s call rtc_get li t0, 30 slli t0, t0, 30 # Approx. 10e9 ns -- 2.47.3