From mboxrd@z Thu Jan 1 00:00:00 1970 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 C061ECCD1BF for ; Tue, 28 Oct 2025 15:05:41 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vDlG9-0001Q8-S1; Tue, 28 Oct 2025 11:05:18 -0400 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 1vDlG4-0001P1-GP for qemu-arm@nongnu.org; Tue, 28 Oct 2025 11:05:14 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vDlFz-0007Ms-I3 for qemu-arm@nongnu.org; Tue, 28 Oct 2025 11:05:11 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3ece1102998so4411727f8f.2 for ; Tue, 28 Oct 2025 08:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761663903; x=1762268703; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gI+dIqitN4u0DNNL5JuKfWcUJoQZ5ChExIyW5psLpFo=; b=VTSEXhWuxku3xkpzVD1GEhKx3p1L5AN217E1AjO2WWTTvi+AsOow4d93B+vhm1tNy+ LU50D4CV9/3L5IxNb5ri3e/6fCVm2OvwfSuM0PtvjDvR7qGhc3wy894ErvkHXpMWwbl1 wG174fjaOHmlhIulQnHtS8k9q6WHtwNTLG48iMf+2sM9bUubP93YuEA50Zv7M22cway2 IYRo8oGrVAf46/7sNJMxBEdaX7JbIQfDw+beuMV8NMYLZQr9UfU0NPWEe3NJ0XeQKMfd MLOQaGCLoi2K49vjh0ecMinbkEpm2j9CQkJb46pLiCRiL6TCfdzWkACDXfm1M6KUysGV EbZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761663903; x=1762268703; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gI+dIqitN4u0DNNL5JuKfWcUJoQZ5ChExIyW5psLpFo=; b=f3NJ0oHHc6NrkA3g047OQAhasjShVHB2YoZ+NGOXMy3xBZRvoYReFG3aY4HLBNELAz Fg2hDY5jS1CDlVhjW4v2N2MGPUaIYuo+WH16CkbAQgif2JDvOtd7IOFgUUPfMFYnWVei 3odDauszoVJHZkEjGbBQ1NBfb7EwhLuKGrQPAbKrLkU3Y5dL4vLa7XS6/NW409zrOcQf 9cIEe/Asor+K4LzopsFEmYwTFNgvE49kqL48Jf48X3vkwtvTA+nPQ7tOBeyMn0+nVo9G qPe76XWPAYPVA0Ua9NpUxj1S+xT4wWKVyw577EH7rfG40Qbv+ksXDSaltaaQUAVR0p/L qY8A== X-Forwarded-Encrypted: i=1; AJvYcCVRdTH/R91XYx+NOYoWQlDrfkaf1GcCRpePZVfbaJBtMIlrL9MNcb8RnCdr8aAX5ayGuC0Zw5n/Ww==@nongnu.org X-Gm-Message-State: AOJu0Yw9pVnsaQUmzjUVQmHqXP9lE5Z0MdlRJU8IfdkWzA2GeWgTlLnG Rmj0LDzWHBU44quSYohxF29punC1eE1dfB3pAHX5eIJOv4u8tlSIARrWJdsUBZiuHfVOAO5qpxG 3A3SpeV0= X-Gm-Gg: ASbGncvE98hFEOAK8W1vVe3RimPA9d+AVThOySkCE99N43Vaq2PLABuDM23B5F/XUuT lUe4nqOHfbdGS9Vp303SJ7BxmoaUPi8Upw3GvCshALBEAU3WFoy5WULEB/2/x9Lf1eEmYXRhIO/ x+DXSC5LMhOQbOOl1j8+Ml/CaE0rb3ShoVkP1Ymxm6ur1IMHoDlE1SzYRDHRuBn5gf30mMDik7d D7+aRoRYupvMJ4ongUFmL+X4x7NMYxMXYywRqBg81BDGZw1ZwZDn+gMnFTjEAn2FQ3WrL4S2WV/ kWUIIxlaCgshm7Uc3hJgMzYKm8VgWtGOxZBV9W1LwyPYtd8YkHByYCRKjvanYiAUdkXYtRs96Xd lObzy13KiWNmtpflcfifCZNF4yiodhacKc/J1ybz+G+FGTVloDhluF22UDGAdZBoNxquf+dEcMh DhELXmaQMCJAFJ4rfY X-Google-Smtp-Source: AGHT+IEKWXrJBed/MYax/lJdKB7Tn390MplIlxHLTGPuiWsQi/VlMeIvaYUJRm51EmX5D9BDTRkvEA== X-Received: by 2002:a05:6000:40df:b0:429:66bd:3c97 with SMTP id ffacd0b85a97d-429a7e8236dmr3515670f8f.46.1761663903174; Tue, 28 Oct 2025 08:05:03 -0700 (PDT) Received: from [10.240.88.227] ([212.144.248.67]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952df473sm20846449f8f.42.2025.10.28.08.05.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Oct 2025 08:05:02 -0700 (PDT) Message-ID: Date: Tue, 28 Oct 2025 16:05:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 20/37] target/arm: Consolidate definitions of PAR To: Peter Maydell Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org References: <20251014200718.422022-1-richard.henderson@linaro.org> <20251014200718.422022-21-richard.henderson@linaro.org> <686b4a77-cf53-45e8-9b75-2b8dd9c4a67f@linaro.org> From: Richard Henderson Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x42b.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org On 10/28/25 15:41, Peter Maydell wrote: > On Tue, 28 Oct 2025 at 14:39, Richard Henderson > wrote: >> >> On 10/20/25 15:31, Peter Maydell wrote: >>> On Tue, 14 Oct 2025 at 21:11, Richard Henderson >>> wrote: >>>> >>>> Create a function define_par_register which handles the 3 >>>> distinct cases for PAR. It is easier to understand with >>>> the definitions all in one place. >>>> >>>> Make the aarch64 to be the primary definition, when present, >>>> rather than being an alias of the 64-bit non-secure aa32 reg. >>> >>> Doesn't that break tcg-to-tcg migration across this commit? >> >> I don't know... possibly? >> I guess we have a test for this somewhere, but it needs setup? > > I don't have a test specifically -- I tend to use one > of my usual lying-around "boot linux" setups that has > a qcow2 disk file, and then connect the monitor and > use 'savevm foo' to save, and then check that -loadvm foo > with the new QEMU works. You're right, it doesn't work. It'll make the 128-bit version more complicated, but I guess there's no avoiding it. r~