From patchwork Thu May 1 21:21:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 886431 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp521647wrq; Thu, 1 May 2025 14:30:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU5v3jjVgIKHg4OCKpXpuoIMjL1QymGpoWe5tc2yxdHIkP9RuaApHplrK2xeC6nlSA7rUh2DA==@linaro.org X-Google-Smtp-Source: AGHT+IETN2ajKk+xx4Tm7ZW6zI4PnnKpaeQfHK0ZKygRq8KsLFvE2eGZAze2+In8OFF4PSCSbHZe X-Received: by 2002:a05:622a:a1b:b0:478:db63:6f51 with SMTP id d75a77b69052e-48b1c2eb0ddmr57096431cf.25.1746135043200; Thu, 01 May 2025 14:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746135043; cv=none; d=google.com; s=arc-20240605; b=lA9S4oygYRk/bY+BV0YI1+zOobAmg5xHV/RteJ5KrJp8k5eOuYelRCdm5lR/sFaHCt Tk/JVWMBg2LPA2e98QKve8rYGNVy63t3bw1CgSjiBy3P6PGJXGxnV4xGd5005PkE/nrd IjlmMtU5Wn5yeunKg1xlD6nw/UYbV81ylGknwnHUbPycohUD65T68RfaohAkE9P20yvn CSIDXvGV9JhX5kiO7UpF69bH51EZe6/QKz3tq54H9yewaeJqU/1oGR/VvrFaNWakTLQH KHTuF1uCpJ0kQKEMJx47SDHaZA8PEIyg2z4ghOqlOw6emLLpB8phfNpInmfapmHtzV4T hBdg== 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=amMbIE3MgXWFQc6lqx2Am7OVt3Xrarb0bolyFSXxa5E=; fh=i/pWNGcx7KiR3ewgypxpPkuORYlkCnVXLqKVm9/UgNc=; b=P/44Yl0MPJ/D7Vldi7sbOwcQI2vWRbDbw//tcfxrQqJDbohyO7kH1zAHoqyzQa/6zU 4F0WAhBWtTei9W6AOY20L8NsXUkHyNWBJS5VEMtGURIhKEwlJd5AdrCn/9B09+t+5dFh 7P4jS+sWqA0U+P+vtIXVBr4yz6Opz5PRDLSr1m4zcqfY2xDrvxqp/tpS/y6f3tWJusf3 oMLNfnu7BBE3TarEXwyjE/WO1uBuoLfGcNkhSXqBXyUlelATn8YujSQFF5UkcGoWSa1P vjT823DXWD3aFNlyH7mWA5BQqXIwrk4OQxJRWgYbsNr+ud/XvuxQPqlrN+n3EwsTx5+n bFQA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iFaFqk3m; 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 d75a77b69052e-48b98733a80si15067591cf.342.2025.05.01.14.30.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 May 2025 14:30:43 -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=iFaFqk3m; 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 1uAbPh-00071D-5k; Thu, 01 May 2025 17:25:49 -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 1uAbOs-00052F-QZ for qemu-devel@nongnu.org; Thu, 01 May 2025 17:24:58 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uAbOq-0002DY-ET for qemu-devel@nongnu.org; Thu, 01 May 2025 17:24:58 -0400 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-7399838db7fso1599699b3a.0 for ; Thu, 01 May 2025 14:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746134695; x=1746739495; 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=amMbIE3MgXWFQc6lqx2Am7OVt3Xrarb0bolyFSXxa5E=; b=iFaFqk3m+KNe8s+XT4E0To77ROBN6FFH7ryf3jZiugRqRHIi4resb4FsxNF04zVepY B5DFzCYw4ebeIVblNs0iOakLYkp7WpbwJatiJ5CTFPPxnLJ8LpH/9zOQN9Vc4OlHWQQ2 Gpudy/UPyeM1/eTDkQ9tTgE7BQiS4CdUmxyQucxuSPOQkuM3heu98U4HwSuWABcpuAB2 2RwBfnOBaOaD3Tmfnctl1RQwlm1Z+H8wfcUUkOO2vWIzdgwWuE7XXiOx8MtSqBf0fFks pIHJZJWDGgySm3W1Vm7ooC76YB8kbB1ZixCPa1dgWko2d1G6vXmrPjrybwDSKlLzJ/Jy qsIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746134695; x=1746739495; 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=amMbIE3MgXWFQc6lqx2Am7OVt3Xrarb0bolyFSXxa5E=; b=DIAMKd8mYEAlPHboZib8bMqzcNsM27RPSZ3dEIWpS7wJe4gYSFIbdpjM6KQ6fFdcGp Tjq7F+JvB17rUnEDH5nEnuFQkGAHA3MIMAurN7hSUjIapxXtky5RToV8PRgrLau7HXkk dt5UtfU2uulXednt/awUtGhLMoMVVsNjPb9GowVulq3DnoVn+Ec+Uae0qiqX6YPexatb ylXqvR2IbMQVcWHQfIbzAEl2DSbF2tCRmB+Iwj4RZTAeE/zxTEF/Lz/aUfT8uWuKdUfI zAgwMWak+dNvWxmg9BFbuC4bFxpUHwJuEU/B3qlyPf6XHqvIRgIb9aIG5CyqTaggI5+j ZiYQ== X-Gm-Message-State: AOJu0YwhsgSqN1GL+iHDg2IsRVqXmuWeHawz1Ijot2UnKmrYg449TWKo 9ClsQhbc64ZrP18dBUzV3pL3iP9w8I3slqtofrJbFnr0timFUHapD3FvDIOHqfCTI+w/4G01NX7 o X-Gm-Gg: ASbGncvjHeWiI+K1+84zc5PtHqMu87yE7QQbo0egn3pulyf+dvMM3kCfo4S5Wm4J9JX Bntz7Yf2oS2W277aVLXt2hbIuUGNNqAoHdUVDThFLKP/AzHuU1L2HzqcJAx0UVdw0a/peFI5EqB xYO9EVipVrmVd8fj1OVNWP/C4soxt3aMRhaOC7Ck382NOlbedUb/I2Wfe6q2cFfpmiF3nLMLO6/ JwM2cNHOkh6RsnkXZMiKP7cbaIIJWUt3PD2m4rtLMSYxG1ok72ghZ4rpih5902dpgwUiyL/nuS2 2BntxnyBVIPABa95pkaACQO2tDGgUR2Y7ECYlbqdQw/kn6gaudT84mmPHP1+n+115uT1l121xMs = X-Received: by 2002:a05:6a00:440e:b0:73d:fdd9:a55 with SMTP id d2e1a72fcca58-74057beac3fmr1014589b3a.8.1746134694985; Thu, 01 May 2025 14:24:54 -0700 (PDT) Received: from stoup.. (71-212-47-143.tukw.qwest.net. [71.212.47.143]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-740590610desm135897b3a.146.2025.05.01.14.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 May 2025 14:24:54 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Pierrick Bouvier Subject: [PULL 52/59] accel/tcg: Use vaddr for plugin_{load,store}_cb Date: Thu, 1 May 2025 14:21:06 -0700 Message-ID: <20250501212113.2961531-53-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250501212113.2961531-1-richard.henderson@linaro.org> References: <20250501212113.2961531-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42a.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 Avoid the use of abi_ptr within ldst_common.c.inc. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- accel/tcg/ldst_common.c.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accel/tcg/ldst_common.c.inc b/accel/tcg/ldst_common.c.inc index 9791a4e9ef..57f3e06192 100644 --- a/accel/tcg/ldst_common.c.inc +++ b/accel/tcg/ldst_common.c.inc @@ -123,7 +123,7 @@ void helper_st_i128(CPUArchState *env, uint64_t addr, Int128 val, MemOpIdx oi) * Load helpers for cpu_ldst.h */ -static void plugin_load_cb(CPUArchState *env, abi_ptr addr, +static void plugin_load_cb(CPUArchState *env, vaddr addr, uint64_t value_low, uint64_t value_high, MemOpIdx oi) @@ -193,7 +193,7 @@ Int128 cpu_ld16_mmu(CPUArchState *env, vaddr addr, * Store helpers for cpu_ldst.h */ -static void plugin_store_cb(CPUArchState *env, abi_ptr addr, +static void plugin_store_cb(CPUArchState *env, vaddr addr, uint64_t value_low, uint64_t value_high, MemOpIdx oi)