From patchwork Mon Jun 19 09:18:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1796399 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=cYuvRcVJ; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Ql43c73VBz20XQ for ; Mon, 19 Jun 2023 19:19:56 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBB2R-00032a-Ix; Mon, 19 Jun 2023 05:19:07 -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 1qBB2Q-00032F-OM for qemu-devel@nongnu.org; Mon, 19 Jun 2023 05:19:06 -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 1qBB2P-0001wE-8M for qemu-devel@nongnu.org; Mon, 19 Jun 2023 05:19:06 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3f90b51ab39so16574135e9.1 for ; Mon, 19 Jun 2023 02:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687166343; x=1689758343; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2/VrtV3ZTG0nVUxDR9INjm9Agnxp2gFnf7e5hISX48c=; b=cYuvRcVJSAt4kwdpznzDNN3LtwpME9MY3GI7h2kitDa0M8Xep1JxqmzUGDvvqQidiG +toBs+ZtE25SIpUCNHN0ef6vcPcZvblcSYKpvN0PvqgyDI46dz92exV2zfclbMjbtRQn LRJGMfsksfmNh4UusCikQ75S/mBGhqhI2JH3nAHhTDjfVWKGigrTf4dnPAlW43n25oQn gFHtjl9me3LLUPJp4D7sZcqdHcV4e05Afu5qlNOKK9XiSBCuaz9mHVPf90kSzunjJNl2 QxgG5FpkzZgsQVIMAsd01k5Qo1JohMUHrnGuYh4V2jnmqcpVlI7fKBD6xq0OnzynDDuS 4PZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687166343; x=1689758343; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2/VrtV3ZTG0nVUxDR9INjm9Agnxp2gFnf7e5hISX48c=; b=OFx5N9KIKzANpUStBlmFJ8Oxz6MGLP6HhuK7BP8f9vIHBDUs6ifeMNZAyJd9XGjSP7 Zk/Lv7Fz8dzS7+fchKw0q2JqbCHklf/z8UPyXp8qW6OYKpNx88XrOC3b/XyUGaCIliQz 1pEd6B8ZAuv9/RxO5C3kAtRER6/74xZMIUZA+EoF6IjGxFci5jlKQ4NR3CUv0J5oDYHy +O383Cz7APeTQ6KfdcuVJJntBRcV+p6pUe6hMVLoMJJMbfCtv978PDNh22PhbypOJe47 VTi7l0hrmuFyu0+KjlHTVqxPi1Ck1CaFilaSvT8sP9cONpZ4yDIczykJt1UxXy41s3uq 3S7g== X-Gm-Message-State: AC+VfDxCNYK2GqEsw1YM6wINCxkpcGuSZVN1eEoT4ztsYcirCc0cvRq8 Rg1zqBe1da+ZK5GdFhAf01bmTqI4ZoDz+eYKY/g9GA== X-Google-Smtp-Source: ACHHUZ6UyOhZy0cCURSovSHM/sc5myg0J6hCqKSg7m9cBITXDPikNwiKfrVVEW6dkRD0SU8O8aKzOw== X-Received: by 2002:adf:f287:0:b0:311:1dc3:d22e with SMTP id k7-20020adff287000000b003111dc3d22emr8522722wro.46.1687166343684; Mon, 19 Jun 2023 02:19:03 -0700 (PDT) Received: from localhost.localdomain (194.red-95-127-33.staticip.rima-tde.net. [95.127.33.194]) by smtp.gmail.com with ESMTPSA id b10-20020adfe30a000000b00300aee6c9cesm31022560wrj.20.2023.06.19.02.19.02 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Jun 2023 02:19:03 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , Paolo Bonzini , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PATCH v2 0/2] accel/tcg: Make probe_access() a generic TCG helper Date: Mon, 19 Jun 2023 11:18:59 +0200 Message-Id: <20230619091901.51607-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org probe_access() is not ARM specific and can be reused by other targets, so make it a generic helper (after widening its address argument to 64-bits). Philippe Mathieu-Daudé (2): target/arm: Widen probe_access()'s address argument to 64-bits accel/tcg: Make probe_access() a generic TCG helper accel/tcg/tcg-runtime.h | 2 ++ target/arm/helper.h | 2 -- accel/tcg/tcg-runtime.c | 16 ++++++++++++++++ target/arm/tcg/op_helper.c | 16 ---------------- 4 files changed, 18 insertions(+), 18 deletions(-)