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: 694009 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d91:0:0:0:0:0 with SMTP id b17csp2278712wru; Mon, 19 Jun 2023 02:19:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6SzjUzalNPhlW9V5kR/8hm3gBwGurRhQQGKlNNOTQNpnlWLr3LQmGwtQlIdLBooC0vIhf9 X-Received: by 2002:a05:620a:8016:b0:763:a3d6:a06e with SMTP id ee22-20020a05620a801600b00763a3d6a06emr376923qkb.29.1687166395649; Mon, 19 Jun 2023 02:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687166395; cv=none; d=google.com; s=arc-20160816; b=caNMLyBShaH8d8asrCn7WAIU3vjPJT3o4sY1usMLvYDKszABKyMGJE8jAnrPqjtxmx b2DKR8elPbxgPefP1SsX/JslKOgeLeoqbh9geVYVoEO/5Feov3qzaxrWuo5+4C1g2lgm XnlClHfcLNz5ix6hsDqSoVANJz5GiLo41ffr7n2ef87PTYpz6sL9a888PbLoVIy/2roj eHbvVo/ZdBmp6anD2IcmccRH4bN6um62LPAKmtIyXeozwcbiaVx7sc84MVMd3mKNz+sp /z05Ps7/XmRt3OSnLQ3I7K0fk/W5RFpdxoVhowYEIhf0EMPUWQc9oRG1iRmR3uR/A07/ qKsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=2/VrtV3ZTG0nVUxDR9INjm9Agnxp2gFnf7e5hISX48c=; b=NCk1YxdRyyILGoEiYD6jRPk7WlfrHDjpQQMwa3RgBhkDez8PSozz9Mtu9MXAzb57c6 uD9Dqg9rw7whVWoESFKooqDbk/djxdrkfMwVd9MqnDtM43ZNN7fEjjTCICCBu3aSwRHg JsV+WrZ+S34qcAe/Bk6eRNfFTy4VEzLu1KEB8LZ/Ve2lRrxDPA2fbwIsYazq9pwGBhSn 5t60ba+Om/Vgkx2ThW+FpKc3V5chlAGdf0uETvFCKi3hwARYSIml5un3Ee2PXNc6QHVO MBcA1Zt9rAuWx3YrTYxoawTsBRtRgq5hl6GpI5HTmmTXp+BclJQxBY/ZehwlIukNVB+5 MkNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cYuvRcVJ; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r26-20020a05620a03da00b0076217165b4dsi4144126qkm.662.2023.06.19.02.19.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Jun 2023 02:19:55 -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=cYuvRcVJ; 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 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-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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.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(-)