From patchwork Sun May 4 05:28:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 887170 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp1492132wrq; Sat, 3 May 2025 22:33:37 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCViHPy5PumY9AWPTiKxStXkCJ6faPw91G2aWq/PbmCyiSZfYOiKNu9eiEZZybtCpr86w9lObA==@linaro.org X-Google-Smtp-Source: AGHT+IGG7iDyWlK3G9DIyxWaQo8+Z4eR9Mrb6aIuEROIdeRFqwr/XhuMIwELgPGMTtTIkxohcd0e X-Received: by 2002:a05:620a:4152:b0:7c7:bac6:8b7f with SMTP id af79cd13be357-7cae3afd94cmr367537785a.45.1746336817386; Sat, 03 May 2025 22:33:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746336817; cv=none; d=google.com; s=arc-20240605; b=JWzaG9hfLxTqAvSKTREHPclnShBrsSGXhP90CZ5MfUKvWgRgUTa7j8uEaXxrznrcZ7 g8GhqKgwzmD90q+SwDnUHB9OvJHs+OjXa1HVAmR1q8+M4Gw7MRb0PDcPBPwSIuOhcN30 7c66r7DyCrPG+SQV+6x7zHxyVUviBOwclZ2+FP91SeoWpHINJLGJMA8VfO/VKlZXYnTd XYFPgtmpJruykCpeJfj7b1dUO+NLy4GdEO2fR8fMirD1q3D6NBM88qZeH5uT6Js/MaB9 +ljP0OqXXt2/FhZwYdmZh1pkwtv4XxVuUQiEvpOZ1eVJnu9VJF4IzcJ04VByXYm+YVez JUnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Zr91VyD7KzMDPFf4g5hvijagOJ2GOeFDSpZ2RGMEaGY=; fh=02AUoSaH/mYMQTzo2+A6j8m/qDfXAxVzTrBZ7wPvRqc=; b=KVL71XKYfebowP99KragCPmzw6gj5FchPQu3O1UepwUi4TcHQFUwufKomAa/exECvp gGOlmTWpTVZShGG1Yf7LnkSOiHx6/v5dAozHMSsvwjUaU/QKb6AYn2n/z8cAzUrohu53 se5wSXqKb6LrtcxGhYvexq/upMMSBqZyTxw0xsLsA20MZLtMLmA+POjPFENalGmdv5W3 7s1Z9hInkohJqPil13ERJznX4YxpOqaNkwJFyEzRfaQ6Oh0NrKNL4a/0TqSD6BNrnEB/ 8rlYmIdE+FJk+LHm/MJ7Zre+QUqdD4+AjyVPbXKdp9pp2CdFeQEf4FEr0htGie8oxP2O 1+9A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s7TGmfht; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7cad23ba457si660999185a.10.2025.05.03.22.33.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 May 2025 22:33:37 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s7TGmfht; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uBRvJ-0002Pn-JH; Sun, 04 May 2025 01:29:57 -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 1uBRv5-00029w-VX for qemu-devel@nongnu.org; Sun, 04 May 2025 01:29:44 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uBRv2-0004NJ-TR for qemu-devel@nongnu.org; Sun, 04 May 2025 01:29:43 -0400 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-7403f3ece96so4545497b3a.0 for ; Sat, 03 May 2025 22:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746336579; x=1746941379; darn=nongnu.org; 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=Zr91VyD7KzMDPFf4g5hvijagOJ2GOeFDSpZ2RGMEaGY=; b=s7TGmfhtx8pPycu/NLoJ2vwPJ9gjfESw9PX3dqqMjgc2xYRpmG6LRG5/S1rpxYCMzP sqFGJhgq3w39142OnebnjVtIIiX6u9MBzMWMQjtzcIe/vFWNNSDxstxcMN3nHSy/jm0y B6H8MnqoIzDXqk6FEuKLu+MyeSfoGHQJzovQBMNGgrNWPixlyWFCuN2PFe+ufCFB4396 BsnwP3KuFBP0l4F68F0xa0U//YmjPdtmmxQA3xmXsneSqWKiAEuCaVniUYV5QHi845FP pMqclDm+yjB75yZOr/YpKdCQ+3ZODLBs3WIgc8JfknGJWcoEPmQj3i1UjBrPc9OCTbmC DC5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746336579; x=1746941379; 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=Zr91VyD7KzMDPFf4g5hvijagOJ2GOeFDSpZ2RGMEaGY=; b=tPv5PPH/a+MR+rWP3UxxGy2+FPkjj2S0SAwsHRIIc8v+kUx2Y0jozjhWAQdiRkP7Zx RLvuXPSi3w+1Fq7m0WrFzAYzAlMdjjvU2xd8LWTqC2v2ETnblQIiVwxz501paTh7MEdn XjXkZsOTUAfvmPWidukizRI0LopygLAAxJb7rEztZpBORm5pU4I/H4C+EZURVrTdLK2U dg6yv8R34BhIYTWkIrAL1MLnWzleBxicBqao+0N9VeLQEMxH++/tdagd25kE81F8Nq8h xilB8yw9ilKo1/Kqn/ewmIeNUTSge1KZBRK0A+EaJNupZuE1BVQwKRJMC+dzM0tLOGPP Ri9w== X-Gm-Message-State: AOJu0YyLwuN4QUbQqlNx7rvOqLdbCUsq3D1jH/wi+xlt0bYlHtveNHPB ygfrrtEKkPyCKH5/i2KNMH1bw6AIs+1wk3n9NCXXtFBAiCwpgIAKWCDfOhFAqd7HixX4yO+MFBS zpgk= X-Gm-Gg: ASbGncv0VWZxbu8Otyv1Hs1QS/6ZG0jDywAwQ2EEVJoOvJhiPaLscR1n0eTxXddZvpj 1Fhf7ZSUsvNIbbLl9Oimblar+G6DiUWLPN2KgKjuKTdPkDRhWM/SQmcm6sMKzNlgXzEqrtKWUQ7 aFfsZtUYRhBv1HagIoXhhUbmVXlUGoip7U/sTDp/ALXcFXhz3Ekm3sn/uHnmVDQU7Cz/7do0B3x M5Zx6Mj/IGNl0+UQLQrfvXdN/SMKXnpSB9B5WMNGQBTpTWX9qub//pvl7ILlaLAxntR+2zGs06M +npaaYvvToAQx35PwOdEIcJmgRwW/Yj2a8x+6nKt X-Received: by 2002:a05:6a00:1d0a:b0:736:46b4:bef2 with SMTP id d2e1a72fcca58-7406f09cfb1mr3647809b3a.6.1746336579517; Sat, 03 May 2025 22:29:39 -0700 (PDT) Received: from pc.. ([38.41.223.211]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-740590207e3sm4400511b3a.94.2025.05.03.22.29.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 May 2025 22:29:39 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Paolo Bonzini , qemu-arm@nongnu.org, anjo@rev.ng, kvm@vger.kernel.org, richard.henderson@linaro.org, Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , alex.bennee@linaro.org, Pierrick Bouvier Subject: [PATCH v4 22/40] target/arm/helper: replace target_ulong by vaddr Date: Sat, 3 May 2025 22:28:56 -0700 Message-ID: <20250504052914.3525365-23-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250504052914.3525365-1-pierrick.bouvier@linaro.org> References: <20250504052914.3525365-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x431.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Pierrick Bouvier --- target/arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/helper.c b/target/arm/helper.c index 085c1656027..595d9334977 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -10641,7 +10641,7 @@ static void arm_cpu_do_interrupt_aarch64(CPUState *cs) ARMCPU *cpu = ARM_CPU(cs); CPUARMState *env = &cpu->env; unsigned int new_el = env->exception.target_el; - target_ulong addr = env->cp15.vbar_el[new_el]; + vaddr addr = env->cp15.vbar_el[new_el]; unsigned int new_mode = aarch64_pstate_mode(new_el, true); unsigned int old_mode; unsigned int cur_el = arm_current_el(env);