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 5D7FD606A33D for ; Wed, 2 Dec 2026 21:38:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=amqhXzIW; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=N/M4bMYF Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xYs1s-0000dB-GS; Wed, 02 Dec 2026 16:38:20 -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 1xYs1q-0000b1-Sx for qemu-devel@nongnu.org; Wed, 02 Dec 2026 16:38:18 -0500 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xYs1p-0002CT-29 for qemu-devel@nongnu.org; Wed, 02 Dec 2026 16:38:18 -0500 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B2LGwBT2211752 for ; Wed, 2 Dec 2026 21:38:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= uy7Ohg9N0CoA3rTmfQ31IYNW6AnTCRa8ggtFxyof4L0=; b=amqhXzIWB7t42eOb 5FzA4ThOjp7XE8KtIVTgZnlHpPLF9WTej0QLRGJ6s18FEj8UI6Jgalm+XZVNTfyK kIsYzWLu8P9IJ5NQo4r4JXDTz1vBQxEci5H4YUjaaA/3ubRIISZpM5WJW/mYn5EM YthBYXSEnCjPBXeSg/fb0BRNlG0HDO3fjlBlE7J6L9LJwDY+JJeYXDK72AXjW7lH rCH40RKkWDUkpy+lj0htmG9oqOMDnO7OdRhr03H/2mjsTQLTiCu14SGKhhZCGtX3 vYjw/Qi8442JPB9wyaVrqULC0a9IZgbiFd+wuO2fe/MT8agrnG/wShdxGxY6+diG YIs6Mw== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jaj432f5t-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 21:38:15 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-93f1f2fafeaso1509333285a.2 for ; Wed, 02 Dec 2026 13:38:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796247494; x=1796852294; darn=nongnu.org; h=content-transfer-encoding:content-type:in-reply-to:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to:content-type; bh=uy7Ohg9N0CoA3rTmfQ31IYNW6AnTCRa8ggtFxyof4L0=; b=N/M4bMYFmqVH1qYbM2L6gm1JdwkcWTGAElyGI3UEteusvY2M9muH34gS0GS4qDwbRG EBKbWi0gQ/vOBsewvn4+L7zfdICNp7F+GFMghjboDrXy4US3r9NtxZiNKyYywXLs6Z8p NvOyfwJM6EuSnV1ytple0x7Hg1WvmVQJr15PMzX0phYBAjx1dMidgZkD7DTFX7uRWAGf /uh4sEJHN4N78iG8h9p+CnbHY26NDr3pgB1I3bbd6khv4D4rwXFF+wK/1L7NLU4W3LCX qm6m4EDmL4MoM6IyzLGix786FVw9u6aRSUwh8xpjaduxTkvgnr46luEdQ42nItbRWDnL LiOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796247494; x=1796852294; h=content-transfer-encoding:content-type:in-reply-to:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=uy7Ohg9N0CoA3rTmfQ31IYNW6AnTCRa8ggtFxyof4L0=; b=XX7JR/26oNd4SoEOS+IlHKO34ntAEcNjsnkL1fLUz6L3qBweDB4jlvtD6gmj+fN7wV PYC/+ECl2aLXSQtvrVgMy6KEgOIS4zIBLNv54p+iunWBZVfiyfxHhVJBZPNcp3p0DB1N +DgXrWYjpqXazy/jTmgn/dArq1ERtezS91P2pOhwa+M6JrGJ+ih2AZSGFrgcNEfJlikF +Xc58oXBE+uoHHOfRJKlZGNgqmVcyvTPYf3A1L0svmSHpt6nLHSATGCUGCUQoVwy6Q3o bNHOuVO7026n4GvnXMRP54LY8iiBlgS0ARaYkjSg6f/J8iaGXifQ9JjdnVhaSdkIN7Ph J5fQ== X-Forwarded-Encrypted: i=1; AL+hErGcxfWYM3vuCio//l6xQyiOaBJiJRYDe7uYRttNSSb7oQd+kvytRg1hdQ7nvECfGDFOB7FEzo5pcp4r@nongnu.org X-Gm-Message-State: APuU4Z9UEmkf3/nRcn0p28L4tdeqgad38E4VSiOmPddswEXdOKf/LJWu cU0JHqIHM88iCLWww4+VLiXj8/OUhRIhYRmvyepQktHO2V7qEmmWXFz0fJbgK80x6KB8VdkTKiZ EtGRjuMCSmNcNK+CcTII6KSsdRCdAsORTEpxt+3mZSMLln5AilsG/jWFgzQ== X-Gm-Gg: AZFdTZfJ0WFz0LlE5KTBSztLBmTJsqIwi7BKivGNLxEDQPKI63d1SznvNV+hRnbWyB2 bZEnCjgKY/+gb865klMP9chfJa0gM/TtIaIQx7uiSuOacu4jQ3Ppsv91rfpd3187Bx29UTZWWdq UrvQ7Yn9R5lkK6dM0S+AZWoEKM/U2/IhzYoEQ1ibUfO/hMu8MLm5UJp+j5UH1ZksRdMp2gJklWt NI0rGJoaja8dfivHIAcxi9Cyj19dACusbrdrsvBVBapb6wUF3neNC2tp8nP+zt1dSPtc61gEmBc oJ/gAwm31zZjjfYIz2nM8mvDi6ujkajkrehEJWos7LflMhcAd1HvimanjkXlOLBKhqAMra2RFTv kpBjsZVi4KIjK4+KFLiXj6Njreb6SE1ASX/IjgSrCYiJCby+KpbUJsdppRgfz3QMTeASgx9AiJX FCYS+R4Q== X-Received: by 2002:a05:620a:260a:b0:947:7f5e:2b64 with SMTP id af79cd13be357-949ba969faemr7499735085a.18.1796247494131; Wed, 02 Dec 2026 13:38:14 -0800 (PST) X-Received: by 2002:a05:620a:260a:b0:947:7f5e:2b64 with SMTP id af79cd13be357-949ba969faemr7499732985a.18.1796247493711; Wed, 02 Dec 2026 13:38:13 -0800 (PST) Received: from [192.168.69.201] (pmd666.hd.free.fr. [82.67.153.177]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4b34e9c3ffesm66978953f8f.19.2026.12.02.13.38.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 13:38:13 -0800 (PST) Message-ID: <342e82fb-3904-4890-b728-89f90aebb994@oss.qualcomm.com> Date: Wed, 2 Dec 2026 22:38:11 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/6] scripts/tests: add regen-reference.sh Content-Language: en-US To: Richard Henderson , =?UTF-8?Q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org References: <20261201113005.394788-1-alex.bennee@linaro.org> <20261201113005.394788-3-alex.bennee@linaro.org> <7d6acb34-9346-42be-a8e1-0d03fa1bb0e6@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <7d6acb34-9346-42be-a8e1-0d03fa1bb0e6@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDA4NiBTYWx0ZWRfX25GzdbRBcxzU dpUAJpUhkC1Gdort67psT8APtOHCPL+soNqDI5MN5lyOmcaKcp3sXXlwvvaAqEGRJVsSf9tvL6h vE/97N/lB5Ug4BUYXzOfjSbKXbNxizr83v8tF9VgTscNnF84pVfgppIZ4P3A6LOBIw+nVcyzIng RUjVVtC4cKqbPQMCJTL3EynlH+JKkQwtBLDuI20n2LLl4ED4Fas7DSuZMXNte2Ef9r/fYbfxTJR j6gRlvzylDv4Pbo3NHMJXd3tLZSGjw0GDQjP9LkrmiuPCseXQSDuhibeLSYfh/k4uAqi/1HYdMi Ya8myJE7EDkRFh44rIYQy7VxjZcLRZQTFFXxI4kHeNAIqzSZHAzb333is7ry2MCMJrdwRuxsc6d COQuj100EehwBN4D2/2s4xoixbeTl83ph5Qz3x2uq9mrv4+cpgxc0fu1CeXcePCklMCMBy0PdWd JIdaoOxScBgQnHbc0mg== X-Authority-Analysis: v=2.4 cv=X7nHu2Te c=1 sm=1 tr=0 ts=6b108fc7 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=nz36NW0qrpeEijYxj/H2Ew==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=M51BFTxLslgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=KKAkSRfTAAAA:8 a=iIdHrpV-AAAA:8 a=4LzABe_Hr8YKDOTGj8IA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 a=cvBusfyB2V15izCimMoJ:22 a=z-hGSEnA__v1gb7tMWy-:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDA4NiBTYWx0ZWRfX4kSIiNKxkyMO 89LYBRIpDnudZalvGiZApuaxmrADzzmhMwROiXAi+RYCu3MRar+ZyvnmWprHL41piVRgP0dgEim A0RxhFsTr1wQGt4yr6ma3RCHKyYUHRA= X-Proofpoint-GUID: Onza4_eYPqVSv2rFInNJhBx7oLGTSxCZ X-Proofpoint-ORIG-GUID: Onza4_eYPqVSv2rFInNJhBx7oLGTSxCZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_06,2026-12-02_07,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 adultscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 spamscore=0 malwarescore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020086 Received-SPF: pass client-ip=205.220.168.131; envelope-from=philmd@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=-17.3 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,USER_AGENT_SANE_1 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 On 2/12/26 22:26, Richard Henderson wrote: > On 12/1/26 03:30, Alex Bennée 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ée >> >> --- >> 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 > > 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. I kind of concur. Alternative is to have 2 sets of references, one from real hw machines and one from emulated ones. I'm worried about the reference format changing and having to re-generate. Foreseeing 2-3 years from now the SPARC and HPPA machines will likely be dead; I'd however like to keep their reference files in QEMU. Can we think about that? Either have iterated refs, versioned, split in smaller tests, ...