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 CD32FC77B7A for ; Thu, 25 May 2023 23:27:38 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2KLa-0005rT-Lr; Thu, 25 May 2023 19:26: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 1q2KLP-0005mW-QS for qemu-devel@nongnu.org; Thu, 25 May 2023 19:26:12 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2KLJ-0005kk-Sc for qemu-devel@nongnu.org; Thu, 25 May 2023 19:26:07 -0400 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-64d5b4c3ffeso246915b3a.2 for ; Thu, 25 May 2023 16:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685057160; x=1687649160; 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=CpvW00ddRwDH07plculUro7MWZapiIBGBi2vNxmqeJQ=; b=NmLT9cUCjY7lmLmkbl/x9Mf79s4BA4rcDsWaTasq5DcYrcbZ2kkUm/WSTPZRK/cbGz RAj0xtCdCVeXPNmHzAR/hvW6mBuliYKkDxR8wL8LxxYXZxKVg0Af2+eBhz/gjLEWp4gO A0GbAniNNmhDBkkO1tVZOqQ3fdK5oLBRP+Ex4WP8oAaNNRT0GbvVStmClfFIVIQ4N7t/ R5dMMJ8WTdR4bfs+gG8ldSpuvoFXck84CLHx8id68dEu8Hw75p1DfqyRxlhe/T6RlL+1 XdgQUAzgoEWsrWWPF1LSwDxmITNdhV78TymWbbgvDTSKjJqUoOOoZ3fKrog8tuM0wra/ z23g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685057160; x=1687649160; 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=CpvW00ddRwDH07plculUro7MWZapiIBGBi2vNxmqeJQ=; b=jaBiPmeZOIMDyjuf3ZEEqW2FjGqDwIUD8Y1w/XfCZ82zn5gyBZOJLltudionZhtSsx WZhmivN76tdHg3FPUnW8hIkgZf+f5HUl3CCDkzAqD+RpDHMvT+GqgYfkz2wdewKV/vbc bf4ND1W8HeUZ9ArHsIjjRfgN/6iYVZhnAmxYs4R89IOOxdxoI5RWxJeWQOME7HZS5WJr AP56C7LKOFQUe7ArmU+Ro4LVxKeDNmVoevYS3rbe09LbtgS2brabX4FtgnkLKdRh2sO5 akioRBL6QG/gvwtqnDC3nEYz2KaZDaQuzOWS+L2HKnOWyAOhmvVP4VwqDWWJsY4TYMxc Tbmg== X-Gm-Message-State: AC+VfDym1Jj5Ho8GE4i9RMzHAIysqxPtCa/tJ6Olp1QGvnqK2DHQ8ymz HEaSSFH7JpdOesaamy9OXK1m2RGIKVOPr3RhXkA= X-Google-Smtp-Source: ACHHUZ6cFv/lhKYkCcmvBkBHfM97a5wFkSu0Q3iOb/TCNp1bB3mKW7cCzHtH0Xn2x4CrVtnvqxEPjA== X-Received: by 2002:a17:903:482:b0:1ad:e633:ee96 with SMTP id jj2-20020a170903048200b001ade633ee96mr290051plb.55.1685057160416; Thu, 25 May 2023 16:26:00 -0700 (PDT) Received: from stoup.. ([2602:ae:1598:4c01:7ac5:31cc:3997:3a16]) by smtp.gmail.com with ESMTPSA id s15-20020a170902ea0f00b0019e60c645b1sm1885036plg.305.2023.05.25.16.25.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 16:26:00 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH v2 01/20] target/arm: Add commentary for CPUARMState.exclusive_high Date: Thu, 25 May 2023 16:25:39 -0700 Message-Id: <20230525232558.1758967-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230525232558.1758967-1-richard.henderson@linaro.org> References: <20230525232558.1758967-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x436.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, T_SCC_BODY_TEXT_LINE=-0.01 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Document the meaning of exclusive_high in a big-endian context, and why we can't change it now. Signed-off-by: Richard Henderson --- target/arm/cpu.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index d469a2637b..4e16eab82e 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -677,8 +677,15 @@ typedef struct CPUArchState { uint64_t zcr_el[4]; /* ZCR_EL[1-3] */ uint64_t smcr_el[4]; /* SMCR_EL[1-3] */ } vfp; + uint64_t exclusive_addr; uint64_t exclusive_val; + /* + * Contains the 'val' for the second 64-bit register of LDXP, which comes + * from the higher address, not the high part of a complete 128-bit value. + * This is perhaps confusingly named, but the name is now baked into the + * migration format. + */ uint64_t exclusive_high; /* iwMMXt coprocessor state. */ -- 2.34.1