From nobody Fri Nov 14 21:01:17 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1760617839; cv=none; d=zohomail.com; s=zohoarc; b=dGh2z0vE3/oeUXW1yOssIWCHqs9y0WyGKRTM1ihLg22YYsz/Fkg13QwnDFkFf84zbTBys+YFFZYeD8iTL49ucCjwac3YcCc33g5gsJns9iU8V9i5qxJdGOerxs8BAGx98pvNPswgnP/ahzL2ttYTUlLMv1+oxvQnSt5w5PEmrNA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1760617839; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=AyoHyu+3x+RmN2fv1vN+8a0sulrF/dPr3KwOq/zbGuw=; b=fskqle2gI+M+tMa251k6gElHzY7cuR0nLQiqmjjODfyfOQ6zDvH80A0ruBFlqyrMFmrUx7xuBxIDpc13Ts6S6Powb5BrhzXoizacgEXaiSS7UtLziEB+G7ld6ihtXEaYh7ZHSqcBY/Z9L3eVzEQbF6/HL3aBy3S5IyBI3Tpfb7g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 176061783938676.5428766673391; Thu, 16 Oct 2025 05:30:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v9N0w-0000r4-H1; Thu, 16 Oct 2025 08:23:28 -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 1v9Mz0-0005jZ-SD for qemu-devel@nongnu.org; Thu, 16 Oct 2025 08:21:27 -0400 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 1v9Mys-0000UT-T7 for qemu-devel@nongnu.org; Thu, 16 Oct 2025 08:21:25 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-47109187c32so3480495e9.2 for ; Thu, 16 Oct 2025 05:21:11 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-426ce57cc0esm34730076f8f.6.2025.10.16.05.21.07 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 16 Oct 2025 05:21:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760617268; x=1761222068; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=AyoHyu+3x+RmN2fv1vN+8a0sulrF/dPr3KwOq/zbGuw=; b=pDlZNgdKBv6PWrJcpX3NK/IJTG1NnNa2PUNJUh+YK8zfEP8bCzSzkMKUcS+4vxKZJS 6eWwtB/3Y067/9s9X83Y6M79HC5inqpi35gbXkd/0+IK7AiJf/UIcHFVYfVQfbcvCCng VFRP4bBna1t9V+GXcWpjx4j3SqduW4pGo6eIEqJIqLl9QMRF1nr0u4l0U02vqvxlugsI 60FUedru0Tduscqe+qW9GLjwNIC1KDNKnw02vJChHZ7LsihnjLVKnFsxT67l32GDksrb ZfWgWkN/HrGVfRs0D+F8PZLy2rt04AMjMvZn+yAh73By5MSehhyOO15n7ricek51C5dj FBug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760617268; x=1761222068; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AyoHyu+3x+RmN2fv1vN+8a0sulrF/dPr3KwOq/zbGuw=; b=b3enjhE3EjBkUniOTic4prTrkyFSIkSIVkX7LpEXj+XXnZQBOVWWy8fcO6Oe2icPG7 gygYbWIzi4oiGfFcAQ92/NQ4OCms5hB++6oxDHb73MsPsWETjKLlg2nDEMl23UkReUgs ejSTSwg/cVQ2dYYabEtsZ3VMziQbB9VoOlB83tvbIyEYvqT0Ubxy+l2oSQWyR2RcpZ+7 2JiV3kt+50qOcBYXQnP0OLm50i0hu46b5sTUeK2G7/JS9PZqTwlVZyB3oWI0k62ju9VE kju1vaabBfzyvvLxRXiUkT16zVt7ouHR3ag2bjxeoXVNGv1qtt0bBrwWeujjmciKJ6dS GA0A== X-Gm-Message-State: AOJu0YwBKzygm6fTf6GFIvqQDguoWAxFavZFAYtb0QXAXcbK+cMx1xnS WvEBzFK2jt8N05TYqX3jMjC4lE/9+Aig4j4UWmWZ8URACMDMNefanzELfdofbY4dBH7OhZ6KxGP qIdrk9Dg= X-Gm-Gg: ASbGncvB68KFs9kSzs2EGd35aHhJ6dLntXL+9WUiQZ6hVIfKPrjgyYPJOoCU+bEBC0R X1LWjil7RXaIHGI498pq0ZcTThfMCQQ+EbPdcZEY5noL/w0PgdmSAUbt/QfRSSjSUOFvUx7maGf Ttsx0b3o8n2HWbTN2AjolQnRqMsLcGh7CuWdILR4yIw8Zv6A8KlebxolZKnjJeeO2ayIHLpjDC6 6oDR0xIu8PJQHKy6J/5xGHgdnMOLBcJh9EVbXgmr7gXeqHnOsCnZXYsAq6yKVSNGRUudSvlGEjg eNho0iZsZjfj+sLl9WF5JMqg9eJKk591HZwo737pcYVz3zbpTiVpZVR2sf8ffs2lLTPBpQEFrf1 CoxSgWWJM0ySAqedes/dA35tst7N8GKYmAnafI4y8MeW2ND1SllYSh/C/Bp55uVxXf/mWgH35RO Qt7xjCMjcgz+8Gg28Xjw1egbwnD8YiUDE+pDIHwLv/ZokPzi44V37yyA== X-Google-Smtp-Source: AGHT+IEjG4MELIVv4VdYJGDaBhOHs9TyAe+s5+Ua8RJgDY530EP8rv0JnFuCrYn1lzDonAuwtQfL0A== X-Received: by 2002:a05:6000:4313:b0:3e0:c28a:abbb with SMTP id ffacd0b85a97d-42666ac39a2mr20831887f8f.13.1760617268598; Thu, 16 Oct 2025 05:21:08 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 72/75] target/xtensa: Remove target_ulong use in xtensa_tr_translate_insn() Date: Thu, 16 Oct 2025 14:15:28 +0200 Message-ID: <20251016121532.14042-73-philmd@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251016121532.14042-1-philmd@linaro.org> References: <20251016121532.14042-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1760617843679158500 Since commit 85c19af63e7 ("include/exec: Use vaddr in DisasContextBase for virtual addresses") the DisasContextBase::pc_first field is a vaddr type. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Anton Johansson Message-Id: <20251008051529.86378-2-philmd@linaro.org> --- target/xtensa/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c index 34ae2f4e162..bb8d2ed86cf 100644 --- a/target/xtensa/translate.c +++ b/target/xtensa/translate.c @@ -1166,7 +1166,7 @@ static void xtensa_tr_translate_insn(DisasContextBase= *dcbase, CPUState *cpu) { DisasContext *dc =3D container_of(dcbase, DisasContext, base); CPUXtensaState *env =3D cpu_env(cpu); - target_ulong page_start; + vaddr page_start; =20 /* These two conditions only apply to the first insn in the TB, but this is the first TranslateOps hook that allows exiting. */ --=20 2.51.0