From patchwork Thu May 1 14:55:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 886343 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp359052wrq; Thu, 1 May 2025 07:57:36 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVyqjl6YIAmejLlibLfLPyh5Ol1siNUdqahc5RMaZ2psN+T+IZkBP/SrcDMQyjV+QJ/irgsSA==@linaro.org X-Google-Smtp-Source: AGHT+IH8zkMn+cfIod4a5wUrRpBToEntWgyHIXytkR6H3TYJfhtwktv9/cNEE3iKzQJjzTHj9jqW X-Received: by 2002:a05:6214:20ca:b0:6f4:cbcf:5cea with SMTP id 6a1803df08f44-6f5091faad9mr48645876d6.44.1746111456321; Thu, 01 May 2025 07:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746111456; cv=none; d=google.com; s=arc-20240605; b=NdkGt4p9oxrut5f2wVPQiQmOITNt+SIMahXj8xTdEjhl379UTwoTWowPp4aqYxb9Zp zrdKNJwY6kKIep0f0x3bpwyteHACXsyCuZaDMMbxFOmH6F0cd8ACLi8p6q+PTTVeXP0f 9jJ5Rk3gkg+uCQ+wE9txK186vUa3dlh0X72Prb81BuJX6fuNQBBs1tCQt65DlpJ5QVsz LpMGs8BJsoT7xC0j69ot1iqzDj+yCPddfWQk7POkSgG3nqwD+WbyHWAU5CE8vLTu4xs2 p95Qos/6QdzM0X2RyuB8XWlc31j/1FccY72LR6SujpCXPfJKuTjydVhuZpFpEXsAGVbh lWLw== 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:message-id:date:subject:to:from:dkim-signature; bh=6ERfDcpD0q610+HtPkmuutwyCXat3qEAtdpeWLrgOMg=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=hM5wOULtVy0ku9U367kMWrlk1E5mRNjQgWb5elFq+Rfc7UlYxlX4p3f76tAh0RP62D hlh2sEHgNwxparp0aYbSeXbC48YAiZG3oOQBoo8m2d/Uf3rSz9JkJvb4hEYousfK4ZbF ZwZU5aRjnWM2p7S37pK08LNiox4+tVVm0GspJNpjO+/MdIiM0h8w4QqC4/rlx1SJ0gWQ v3WQbfVSFUQzsBQfM471lLVKbRu5g4lRjDBajGEcQG+IqhIKeQXRSvvD9TFJ6hVJcnLn C3UEQfz5QLq91CNgIn2m2RryKx2/3CDI8wfRed2nVagVieTYyejJ9fy0GwnAd2uCod21 uEEg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sQ2lYBJe; 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 6a1803df08f44-6f50f4779a3si8452966d6.217.2025.05.01.07.57.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 May 2025 07:57:36 -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=sQ2lYBJe; 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 1uAVJu-0005dj-Kk; Thu, 01 May 2025 10:55:26 -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 1uAVJt-0005dR-H2 for qemu-devel@nongnu.org; Thu, 01 May 2025 10:55:25 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uAVJr-0005QL-D2 for qemu-devel@nongnu.org; Thu, 01 May 2025 10:55:25 -0400 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-224019ad9edso16152175ad.1 for ; Thu, 01 May 2025 07:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746111321; x=1746716121; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=6ERfDcpD0q610+HtPkmuutwyCXat3qEAtdpeWLrgOMg=; b=sQ2lYBJefnKhkey6q4f4e3GqNOS8W4QmeWUSCrD2J1Hq7sX/dbKZa8go2IU0WG1TbM Wfx13Oy/cKw0BYWYC3EtszE1bn8qjiYbPzaECsl+v+w3siyj5YCIOAmNcK1lmL9dI0Gh yzRK+VRmZJ0u/Bha5n3FbQgrxoNl2FJ6Lsp8R+6UPo4LR1TQJLNLVECec8ETN7jJMqyl nc2hs2qyEP/Qs0xZyNfR6i/RAYbGKkex0wmQTIkV1w8eusYgdpfcW1x3GJEwWN+toJAa iGFRCzp39Xqg0PkdIMiRxTUPsPa3Fv1BKONtqvqbtOmSYwnsOKo9iSwCqX5ZsuPMY3PV eYhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746111321; x=1746716121; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6ERfDcpD0q610+HtPkmuutwyCXat3qEAtdpeWLrgOMg=; b=i3HpmT48V+tB2NRaPKE3zlNnP9Ij1odwLsjjT81hulmoug99MYuNG6von+b6pXFu1j kE53VRB/MxGEq50LyEPTntonOxOx4GHYhaCiMrBYqqz8enRocdr27cZk/KXwLNxYUryb fKw2WS3D+fAPN3ZmydWi86T6D+Kjp5EWy+qIW0p/6iwrVRMPbeWTrsH6UPM1BVNagq3x mQfC+FDFs3eboR22fWBvDwLytaf6VMfjFLlxSw5lT00M5FGUOiJV89atEWAIvqCH1xI9 kI0l5U2KJFUJyGyFc8n1UMeZlLo+5b03JBFPYtgtxUGDnw+B8+S8Tp6SSz3OX70dTpWf UpRg== X-Gm-Message-State: AOJu0YwFemFehzy9fyfkXqh0Tri3GdA88wDcpwL2tp2fptgqvDqpu1v2 mbA52RWwAfZI3LktsSMulIh1ECS2Zp3DiOovz5feyY05uHg+qYhIryR9GVU73zS0AaVU92Yqyah W X-Gm-Gg: ASbGncty3D6xSCyxiMxhsRlXMEEKgsxcpdn7sFEJdMvaIQjli4aL3IDikWsD4CZ2tKa rOw+/+cKXukwUj0cpDtcPyUdG5m4IVDjMkQGfId25nMpLozWlXKXaD8qW9uflq+lFe8JSWl2cN0 rrNLpOXCfO4d/qiHJl3JiBaun4x9ynwjPqHLOc0cMbV9aIOFgovPFJVobE3wfqQGyxdZLExtBQk iqdehLIdBU0OfujNoJ2VXFdjX5Er9+uaKyUJ5o6ArcByqxE+b7WRnXfntco0mKG4rEYPqpx/Fpr PUsWxPOHhtFqxTkDMJtHdNqzDuskrXZFmmexNg/T2b5LaCiLScH8HGihk2Ii55wYrte0/RHALCI = X-Received: by 2002:a17:902:ced2:b0:21b:d105:26b8 with SMTP id d9443c01a7336-22e040a3212mr47724025ad.7.1746111321101; Thu, 01 May 2025 07:55:21 -0700 (PDT) Received: from stoup.. (71-212-47-143.tukw.qwest.net. [71.212.47.143]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e0bb0e770sm7644415ad.92.2025.05.01.07.55.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 May 2025 07:55:20 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 00/11] accel/tcg: Finish building once Date: Thu, 1 May 2025 07:55:08 -0700 Message-ID: <20250501145520.2695073-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x629.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 Based-on: 20250430230631.2571291-1-richard.henderson@linaro.org ("[PATCH 0/6] accel/tcg: Build translate-all, tcg-all twice") Adjust the final two files in accel/tcg/ to build once. r~ Richard Henderson (11): accel/tcg: Move user-only tlb_vaddr_to_host out of line accel/tcg: Move tlb_vaddr_to_host declaration to probe.h accel/tcg: Use target_long_bits() in cputlb.c accel/tcg: Use vaddr for plugin_{load,store}_cb accel/tcg: Build cputlb.c once include/user: Convert GUEST_ADDR_MAX to a variable include/user: Use vaddr in guest-host.h accel/tcg: Move TARGET_TAGGED_ADDRESSES to TCGCPUOps.untagged_addr accel/tcg: Remove TARGET_PAGE_DATA_SIZE accel/tcg: Avoid abi_ptr in user-exec.c accel/tcg: Build user-exec.c once include/accel/tcg/cpu-ldst.h | 24 ------------- include/accel/tcg/cpu-ops.h | 7 ++++ include/accel/tcg/probe.h | 16 +++++++++ include/user/guest-host.h | 49 ++++++++++---------------- include/user/page-protection.h | 8 +++-- target/arm/cpu-param.h | 7 +--- target/arm/cpu.h | 36 +------------------ accel/tcg/cputlb.c | 28 ++++++++------- accel/tcg/user-exec.c | 63 ++++++++++++++++++++++------------ bsd-user/main.c | 8 +++++ linux-user/main.c | 8 +++++ target/arm/cpu.c | 27 ++++++++++++++- target/arm/tcg/mte_helper.c | 4 +-- accel/tcg/ldst_common.c.inc | 4 +-- accel/tcg/meson.build | 10 ++---- 15 files changed, 154 insertions(+), 145 deletions(-)