From patchwork Mon Jan 20 21:02:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 858773 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:cc8:b0:385:e875:8a9e with SMTP id dq8csp2121906wrb; Mon, 20 Jan 2025 13:04:04 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUGb0KPBG1OsdAi07o9RA+jKH5Tu+SGFE6kBBVa4jLo//NkmAFRGzdssYvL5A+kIkJSDatzEw==@linaro.org X-Google-Smtp-Source: AGHT+IG64x0cXIB4BmvhvWM9aCFLkotqMIEf1K+v3IVyzqm1FPO8wbIbhwUF8jRCS1RJ3fNjBx99 X-Received: by 2002:a05:6102:941:b0:4b2:7446:fc18 with SMTP id ada2fe7eead31-4b690c8b6f3mr12032994137.17.1737407044066; Mon, 20 Jan 2025 13:04:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737407044; cv=none; d=google.com; s=arc-20240605; b=eFRuEheMeBNi7V8JTSddOEWJDXV0Gdlz+62DU+s8Sp3M8hTAw3XO6Y44G3DlvIi27Y bKu7phCSjWvhtstN1bw313pKpjUu32iaz4ajEjVsHwIE6Gi1jex0wp+8gHkQ6M7EEACn KuS0iGcXlL4MCiGSB0ZvojlBQhSk3R9FSgdAXQ9CjRmuFyXzIf0v2Jn7iDLF90it7cGd sU1QY7nux+lt6rxvB0xx0zgDuyq3HUD5SDCmIFPhjycNJBZ9HC4m4wT/GoFkQRK5v8Ku yKYZ9YUU98cVaXYOCbAOgO1DCEttqdQqKzJMptXd1nXY+zXcytcFOZdCyV00CNIIi/BQ gvmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+48eX+l7U8ZWofmz36TBzUOPc9ZUOZwyExE6gyBI1a0=; fh=KjrMMQS9NQDRGNEdlpO1/ZX0rVREi4CIuv1QjMyLUBA=; b=Nys7YROn05ejxCuR8PMa57ZK4NaVlhNgitSEM0v/vvSgtqzXe5KtkbsF/hibhdaPgg oN3yYiuC1cNELjWLSjBMVOkwlzoRCQfxwE/oxo01rIcl2NM+e04X/CWH2Cx1nKzPW8s/ qyX+bveOY0nhFxJjFjnGiuNJbIP9UodFFhZeRcU0uFGrS4PLG4onRhq6P+GurdggIJpq ml9UAloae2exIjbUotAUNiBwCy3wCk7WgV84Iu4kzQBl6uSSiNMyA9iLBs0WTwt+Bskx 4P6gOYQDpx8OFcjHb6a3FwsgsGU+riAcMScVru5TohLfR+y/hJLyLpkmFDuCvCNs1orp czEQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oMAXsNtt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a1e0cc1a2514c-8642ccdbee1si2452010241.137.2025.01.20.13.04.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Jan 2025 13:04:04 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oMAXsNtt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tZyuu-00022H-VO; Mon, 20 Jan 2025 16:02:40 -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 1tZyuY-0001bJ-3T for qemu-devel@nongnu.org; Mon, 20 Jan 2025 16:02:19 -0500 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tZyuW-0002w7-Dr for qemu-devel@nongnu.org; Mon, 20 Jan 2025 16:02:17 -0500 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-aaf0f1adef8so951730366b.3 for ; Mon, 20 Jan 2025 13:02:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737406934; x=1738011734; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+48eX+l7U8ZWofmz36TBzUOPc9ZUOZwyExE6gyBI1a0=; b=oMAXsNttBz86KeIZqg4mdPZTxKBCULiJAzjqtR92Gsro2nqC8PKb0gu+oGeemwdsYa 6+RkeuZwxDnrj/re5umy3t24Grq4mV3+4YqVWJLom5WjutXmOppNMu1eQdEBsx7j4Qwr NzYmycvMoPSIHVpIUr8CZ8EX52kN3QLQGssv6B1NV3qEqnb1xj6DqvEJnXAbs+aZwAyO +9WCvfD3IHjtec6vToAIRQQQ9CqwXg2dnrBcTSnGDi9Ygpv7Rjxlf9EmkFtftDQp6qh5 lfJxE2qpYhHAceMc5o9Bvby36eBGrGMkdm+t8UcuBeFlEdsp+i8nuVmowAQapw/xGCqI qGPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737406934; x=1738011734; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+48eX+l7U8ZWofmz36TBzUOPc9ZUOZwyExE6gyBI1a0=; b=sNkngisJeeM4E9ZTJm8RqI7/CNgdhqzhZTZOJIF1RZ1dKp0KtRF3g8NTnL7tDzYGCp MeOyWhDDGJNfp5pPciJJiZomXgkBE9860Om6eTKfiU/qw0fiI/stDSde9VQe5xCveKnG n6qnakpiYHHxznHzg5YRIqgmNp/59sAnGVWYnSmHzHJPRRXT+GEZihLtXQub1vJsk6TW EpFkEaEt9BH2bM9IR3DkM8wbEyQs2VlY/AT3tcRnLn1ADVzQFanXTPQd39eIovepWCNl JzfhpmUTO5QH1PIsIUInLdpvWPLcGZYzuijUunvS8ZAhMePHIVJtoneGbhc4HF147iLA Ug9g== X-Gm-Message-State: AOJu0YxHIP5Cb2iIXfjnPA9f3NvHBAla6oc3qwPHCYa92Ri/hhE83Hvg P2kBIInXEHjSZWx0GdyUjT3QOxQ94hgThIpO0cV+uDtPr9yrCtwjQ//Cc/rNMTM= X-Gm-Gg: ASbGncuAY7H3+pqJsgNnSAYHwOuD5KMPQDaWpWbah1g1VT1zwS+chWYvmNuL9zibBhJ 7AMJfLZTkPHh2IInrIYRgoy8iL1FOxmMXdY9DdpydlRsz6RvROEUFndSNif1Jh2WMrYeX3NjKTg nifIFOpwnhgxp2NtMtVL6uTFJhl3g43mf0XLNUptYeI1tmyQKRey6o8PoiVXnaAxqJSMQkB9vj1 Rj0cGlkkrUXXvldaz9HtmSCkrcGh4yd5Zpz421Hib+S+uG9X1jXjk45e858Gt0JyNRu X-Received: by 2002:a17:907:3e0b:b0:aa6:94c0:f753 with SMTP id a640c23a62f3a-ab38b17b9e0mr1068680966b.33.1737406934320; Mon, 20 Jan 2025 13:02:14 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384c5c3e1sm660622466b.7.2025.01.20.13.02.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2025 13:02:13 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 246155F9DA; Mon, 20 Jan 2025 21:02:13 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Thomas Huth , Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , Tyrone Ting , Hao Wu , Fabiano Rosas , Laurent Vivier , Paolo Bonzini Subject: [PATCH 3/7] tests/qtest: don't step clock at start of npcm7xx periodic IRQ test Date: Mon, 20 Jan 2025 21:02:08 +0000 Message-Id: <20250120210212.3890255-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250120210212.3890255-1-alex.bennee@linaro.org> References: <20250120210212.3890255-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Until there are timers enabled the semantics of clock_step_next() will fail. Since d524441a36 (system/qtest: properly feedback results of clock_[step|set]) we will signal a FAIL if time doesn't advance. Signed-off-by: Alex Bennée --- tests/qtest/npcm7xx_timer-test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/qtest/npcm7xx_timer-test.c b/tests/qtest/npcm7xx_timer-test.c index 58f58c2f71..43711049ca 100644 --- a/tests/qtest/npcm7xx_timer-test.c +++ b/tests/qtest/npcm7xx_timer-test.c @@ -465,7 +465,6 @@ static void test_periodic_interrupt(gconstpointer test_data) int i; tim_reset(td); - clock_step_next(); tim_write_ticr(td, count); tim_write_tcsr(td, CEN | IE | MODE_PERIODIC | PRESCALE(ps));