Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AF3D606A322 for ; Thu, 3 Dec 2026 09:06:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=SKSnUpJF Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xZ2l4-0004Or-Kv; Thu, 03 Dec 2026 04:05:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xZ2l1-0004Ob-97 for qemu-devel@nongnu.org; Thu, 03 Dec 2026 04:05:39 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1xZ2kz-0002pU-E4 for qemu-devel@nongnu.org; Thu, 03 Dec 2026 04:05:38 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4bb6ba3b244so143563225e9.3 for ; Thu, 03 Dec 2026 01:05:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796288734; x=1796893534; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:from:to:cc :subject:date:message-id:reply-to:content-type; bh=mUlqb9AbnzK6Qtrtw23lADWcZx39qhuryin7Jb+crqM=; b=SKSnUpJFUhiMqIKDYflfq7Mr5XpvneDkxDGKqmLFez8K9Q1QsEs44CLEF3qQHnzsdF FenQAv6gWFQJmBJFXxZv+YSjqY+mm5sUorxL4ocT0kyfuzSsnQjwkw9lyahZE7Xrs2we vLDWYbk1hOuTrhSVwABmI8MkSvla6I8EaYymMlfYDVMAD7mlx2jhcEfKyBPNf25qaXa3 rplRIBxqYupIJZeSHZJjSSxOkgQjb71ijFsF3DEupcgxzTn2rK9DOuBeWtqaicncdids dulcTNWaMgrHN0e+N70zF/ZKMFvBsZruJI+x8tjnw3xX/HzrqITqYPlgz05nWzMU2cjE rURA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796288734; x=1796893534; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=mUlqb9AbnzK6Qtrtw23lADWcZx39qhuryin7Jb+crqM=; b=i8mxBkyoznq2qEaNEMpYZdXURJQDWyoAVK1Fsea81JTlFVCj8bkcjC+ecn6/+AIa5h cKAQA6XvddRGl6KxwxDPJEmTJnSO/LbMzsp22heJkM0NXBzzZvv+gcD97njBFVz8BoBT /yMh8d2SvWrLnnmIdUxJ15rzQuXLq8cjqqOzkkMDHVRzaAIpwsoB5QSVqYULKMh6CMHa LaNn1iMGeWGOcKvrO9VAs3GBcFQyX6usDh3WJr+7zwZ1hXHz+ZziCr40WJd/BEs64h5D hMs54vVTynYEiZuExtIbkim3hD+AvDn7so0yKNNCnc3szJQXzjgXy7BUG4ZSK56LdYGz L7JA== X-Gm-Message-State: APuU4Z/i/BVSrbCPi1DTdhEEVBLhHDX5us9DKSk62CigeezrCxR98/hc QoiTHrWqt9MIkf7qPejCF8Y1NZvZroJHsrQugzrgxBEbXUU0lv7RwSrUsdf/q7V7t00= X-Gm-Gg: AZFdTZfWWoM4VnbkOCBnkcRS1v5G4hsuH5ai/CHmeO/Qp3ns7c+xac65XpEVRcadKtW 8I2CDt881hZ4RIiAyOrAVCOjen8qxK1al7sKFfyeMqo5NcZkCQDRqnJ+xG/yr7KWmfvwU/EjpSR mHqohuj804e1EzbstdbLc4p/eyhxmERSAVNqbDGIxavCZIgudyYyk8tlYtReUttzkBTX5wO0vUI c12zvcA9oYZo8kJLV96BCYc4yYN0DNiXkevpVGz+bYj1fRqBgwQbaT6EotC9faReSyDdGtwU8CP /XoJ6a6BNQsVyaISMg1LEb37ut9WBRUnBXJ4oP7Z15416091pn8VegLh5+xw2XmHRv2lctnX62B I7ONT/0SOsaF7LKdiryMctmLM7RPiyZys3qziyLe8RCS65+L0uqWlfrkur+raolrbp3q6jQBiLB 7RpEGgytGPOKV7+nYUYD0++tBiTAMM5GmIkjMuFvd01CHKePGJAYEb3H/FwWslRk2JGgbu1Cxdw 30wNMsBG3DIduZuNs2+HgMZYQtIuqFcQYhCZKqvXzJ5RYybg4cIVwYrd7/jySf/rblUARHNTYXP DlcWhfRiNiFKyjbCkne3+5zZj/R/GApqZZhYxo8rIOxZMReYkA== X-Received: by 2002:a05:600c:3547:b0:4a2:a6e:80f5 with SMTP id 5b1f17b1804b1-4bb888098bfmr856140995e9.11.1796288733262; Thu, 03 Dec 2026 01:05:33 -0800 (PST) Received: from draig.lan ([185.124.0.158]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb906640a2sm727523165e9.0.2026.12.03.01.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 01:05:32 -0800 (PST) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 9922E5F885; Thu, 03 Dec 2026 09:05:31 +0000 (GMT) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Richard Henderson Cc: qemu-devel@nongnu.org Subject: Re: [PATCH v2 2/6] scripts/tests: add regen-reference.sh In-Reply-To: <7d6acb34-9346-42be-a8e1-0d03fa1bb0e6@linaro.org> (Richard Henderson's message of "Wed, 2 Dec 2026 13:26:18 -0800") References: <20261201113005.394788-1-alex.bennee@linaro.org> <20261201113005.394788-3-alex.bennee@linaro.org> <7d6acb34-9346-42be-a8e1-0d03fa1bb0e6@linaro.org> User-Agent: mu4e 1.14.5-pre2; emacs 30.1 Date: Thu, 03 Dec 2026 09:05:31 +0000 Message-ID: <87cxri20pw.fsf@draig.linaro.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x330.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: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Richard Henderson writes: > On 12/1/26 03:30, Alex Benn=C3=A9e wrote: >> While we should verify references with real hardware we don't have >> hardware for all cases. Since the meson conversion we've made >> reference files mandatory so lets include a helper script to make >> things a bit easier to update. >> Signed-off-by: Alex Benn=C3=A9e >> --- >> v2 >> - moved the refs to the next patch >> --- >> scripts/tests/regen-reference.sh | 87 ++++++++++++++++++++++++++++++++ >> 1 file changed, 87 insertions(+) >> create mode 100755 scripts/tests/regen-reference.sh > > I'm not keen on this. > > As you say, ideally we'd *always* use hardware to generate the > reference. For some targets that's impractical, but for some it > isn't, and using this script is just encouraging incorrect behaviour. > > I think we should never use this for hardware present in cfarm.net: > > x86, aarch64, powerpc, s390x, riscv64, loongarch64 So I did manually test x86, aarch64, arm, ppc64 and s390x but I don't have access to riscv64 or loongarch hardware. However the main reason I wrote the script was because generating all the reference by hand was super tedious. > > Most of those aarch64 hosts support arm32 el0, so we can include arm > in there as well. > > There are Sparc machines, but the non-flaky ones are Solaris, so I'm > inclined to skip those. > > There is are two mips64, but those are both flaky, so I'm skipping those. > > > r~ --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro