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 0D6C3606A322 for ; Wed, 2 Dec 2026 21:48:53 +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=XSYvkUKp; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=OGZrXJY5 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xYsBz-0004Dd-FC; Wed, 02 Dec 2026 16:48:47 -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 1xYsBn-0004BC-Bz for qemu-devel@nongnu.org; Wed, 02 Dec 2026 16:48:37 -0500 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xYsBl-0006vT-7a for qemu-devel@nongnu.org; Wed, 02 Dec 2026 16:48:34 -0500 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B2LG6tA4132227 for ; Wed, 2 Dec 2026 21:48:30 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= ZzZYKHdAeklLPpVstYGDGmAGkio3soEIh+WmBhMaDlI=; b=XSYvkUKp4vBTxNA5 1JsqM/OdjN+dETJypznU0285s3jwc8RKVstDfRooQ/A/R3wnU9liuTk7KJibrCGJ FJGfVf5MgQ1GaGXIExTOelCN2ZCbgXaGJNV4QxLKO4PNxgtKtga674405QWJnPHo Psu8c75a2D/fOKTJcl24ODvqnCQsAoDTcsT9Hk20DU6ttmeshwHc3zaR3iA0Hvrv o/F1N5WOdiynIzCOUqFAT9mLVBi2sYnRz+Wo/bShziroa69RDWDhNtqlOO/TRYk4 Gp1raooexyJYU+x6Hk544yfX90fdKfR3l9Rh0DD30cTvfOQX3M272rt6zJPiOjrY yFy5OQ== Received: from mail-dl1-f69.google.com (mail-dl1-f69.google.com [74.125.82.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jaqrt8wxc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 21:48:30 +0000 (GMT) Received: by mail-dl1-f69.google.com with SMTP id a92af1059eb24-1b587df8d13so136938c88.1 for ; Wed, 02 Dec 2026 13:48:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796248110; x=1796852910; darn=nongnu.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to:content-type; bh=ZzZYKHdAeklLPpVstYGDGmAGkio3soEIh+WmBhMaDlI=; b=OGZrXJY5vIFcB4WN/W1E0O8n1iXmJP9+kOvfDaErs+cZQykEtDoqmoqMeLeyj5h/7c GnfaUBBhlMhaG4Kb3W5gmW/TCNNGJuLoie7WZLQg60FF6YIKiYZiPFRA50GDdLfH9kTy db5WN5Ceeo8fwVsqRCF5jyBi0TOIKuQeVy7hHSegFHBtKMsa0SFfOKSvjA2zHkvOffXZ NFFBja8oNravd01OAp63DWFFUJGhwndATC0q2hY7cPBcJNGV96p/fmRmTIKyd4lCuiO0 r0rPMM+cSYWH9Aa7IhyglHNOnTBVuvhgydlMdf2CU23bOH+zvx2MSNzhb4ddBNC+/Kun wkTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796248110; x=1796852910; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:to: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=ZzZYKHdAeklLPpVstYGDGmAGkio3soEIh+WmBhMaDlI=; b=zffEGM7GOm/tLSyOcUUVW9dnwVp+pL856kCcm3vaxOiUPtYAi85V+HK0nAgGZDOQDu oPik3qoInF682+WfOJjJ3wFFT7ey8Bl31HMvDHofaucQ/OIdaLyYZ7mIH3PGuo7/zXAC D6zaTBIWFUvoF+/2/hz5ifgCxHfWHhoHdasN+WxxMeszgaJwjQ7ggXf6vro/lKU9ucB1 tVXilz3azWu2KOy6uMNH4jQRB7LBf3P42RZ8M8xMk6Chz2/6/VlVIkdAIclW4vER1AL6 Jw4hfc6q0pKsbvyynPcggjB9ZiU75TpGgNiCp3TLTE3GVfrgLUAdhagOlzNDlh0eLAui XW/w== X-Forwarded-Encrypted: i=1; AL+hErHIwhtg3rWPX/DTf4IMcP09Ij0cNul9rfWXD42BqlaDcDeJGHPEzCTMP7NT5e8yl+1hjKl8N7rlJPVL@nongnu.org X-Gm-Message-State: APuU4Z8nRmu0ulip7PNm0Hc712GKz3ceCBq57HnoAamFTmolzU2qOptl M8jRKGb8xAHtl2o2gHE/PT8ZWfEozhlH3FFbHE35VX2qHWWonG9HrDL2qcrdvXA+23I+IK9MA0q TAg+4z8BnVck5qKLnwm3AaoxIkL8fMQ88RFMYX7yZFRBlSYhlrZm3jBOX3A== X-Gm-Gg: AZFdTZdFd5Vtsi3QACYHCO4FWrLCAV95SuqUoaDiMc7+VSF1393iDcS7KWr8CfntB7u znx/zKlQlYOrKSxaT2cbDlvtKEE3oHENIWDtWs7cy5EATgGZG6Nsx4DPLJ6euR/zoaTLsoPx0ED Vo8b17/qQ8VZTo3bCIy9F5cpPqZ1Oetpo/xGrPzKBwuMRuZVUV7UdfmMUYkm9H0dknLE0FmxSdB TVdbQYKnkZ3JKQFsEjhueQzq1J6CHfguhvsuX0V6qVtmIZk+QkAk7j2rGGmi9uNdwvpL/HVT6vO 0BJBGRCnx3I90W87VDO4VRulWZMXbVwmmpfh5woBRy1NIAjqlqCjrJl4Cq/0JLaA7rpeL8MueaG PZn69f5qOLvGk0jSEDB8NbvozuS9rbhWI8ZexrO3g/aZ/A4RKVxTZoOIbdPWshmrfbTwYv2NS3u Ubf8F7gUwU/do2KzCybmpRgBW5WiUJSIgl2ag/No39CQ== X-Received: by 2002:a05:7022:ea55:10b0:1b2:459d:331f with SMTP id a92af1059eb24-1b5cedc2033mr76163c88.16.1796248109666; Wed, 02 Dec 2026 13:48:29 -0800 (PST) X-Received: by 2002:a05:7022:ea55:10b0:1b2:459d:331f with SMTP id a92af1059eb24-1b5cedc2033mr76144c88.16.1796248109010; Wed, 02 Dec 2026 13:48:29 -0800 (PST) Received: from [192.168.1.199] (192-80-163-190.dyn.novuscom.net. [192.80.163.190]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b556829d31sm157026701c88.9.2026.12.02.13.48.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 13:48:28 -0800 (PST) Message-ID: <1d6041ea-1085-4619-8c9e-3d5afbb1c463@oss.qualcomm.com> Date: Wed, 2 Dec 2026 13:48:27 -0800 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/6] scripts/tests: add regen-reference.sh To: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , 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> <342e82fb-3904-4890-b728-89f90aebb994@oss.qualcomm.com> From: Pierrick Bouvier Content-Language: en-US In-Reply-To: <342e82fb-3904-4890-b728-89f90aebb994@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: ubWNfGcp7UN_aSwOCQAYDuHjwp9ZfH4s X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDA4NiBTYWx0ZWRfXywgdQc1JyZad JE7FcPwnvguIkJOi6RyE3qFhwIxiDIR/f+dUitPoSYQnCWt5RiVOc1SiTbvzXT7uGXZ2MxNWQy1 9X5OoPCTlx0P5wY24Km9bPr+B1sT9qU= X-Proofpoint-ORIG-GUID: ubWNfGcp7UN_aSwOCQAYDuHjwp9ZfH4s X-Authority-Analysis: v=2.4 cv=B54sQ+tM c=1 sm=1 tr=0 ts=6b10922e cx=c_pps a=kVLUcbK0zfr7ocalXnG1qA==:117 a=9852oil1ID9t5xBSyQ/BEA==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=KKAkSRfTAAAA:8 a=iIdHrpV-AAAA:8 a=V00Rvf5yP1XOee27b_oA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=vr4QvYf-bLy2KjpDp97w:22 a=cvBusfyB2V15izCimMoJ:22 a=z-hGSEnA__v1gb7tMWy-:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDA4NiBTYWx0ZWRfXx1OF4r9+kSvo vhaKllQ/eDQgZYjzqu59yU4Jc5Ge6VpVa6dnhM+1pM9NEYZSY3QAUcpNR2XDNWQVbzz1E1FMa+J RIXhi6vXYTjHmL1snWlPUWK+MkVyW+EwYzyZ0gm0gdvDC4/n0ETUFKkHqnuQ+jxZitsoFkrdKXF UGyeKuVdLAbrSnxcOZKUMFrRpkyvvU2A18Gn/GfKECCo47oO6e8CAYS1G7Ahj+WqcutucU87tJ9 BLcXgqEKsaT+Kbz97En+TwyQJHjyUnmVlDP5S49WgsxozElIhEnTRKVdT68biFAxcVGJ7NdkNc9 Je7zN5Jk9abYRTppEdY69s2f61Y+vx6t6C1j4UooAUwTyyEUxsJqPFlCeHvfxyAX5Du/u08K1sX PEn7tjuPgTBsaz1DBCZW/r41ReoLNyWa6fimqmHXRHcI1nhSOqANrkL5pMahbPkDSzlNP10UFYS d+BbfP56OlnoCDqBhcA== 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 lowpriorityscore=0 impostorscore=0 priorityscore=1501 adultscore=0 spamscore=0 bulkscore=0 clxscore=1015 malwarescore=0 phishscore=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.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-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 12/2/2026 1:38 PM, Philippe Mathieu-Daudé wrote: > 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, ... > Split it with more tests (optionally enabled for some targets if can't be enabled for all) seems like the right way to go. Regards, Pierrick