From patchwork Tue Apr 1 08:32:32 2025 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: 877475 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp2138582wrs; Tue, 1 Apr 2025 01:33:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVSpDHJ9w47wgiZG2Vgs5H8k/Af675OKHItxEAQWESvhanLJxp5Bo9jvdRIrasTsrWOU6mblg==@linaro.org X-Google-Smtp-Source: AGHT+IE7wwM0L16rkxMYImEAiy8Cl22ZS3R/KIgCPp6/qIukBw7sabtAbFB3DtSqGtBzllOI/tYz X-Received: by 2002:a05:6214:1311:b0:6ea:d393:962c with SMTP id 6a1803df08f44-6eed629b6c9mr181166136d6.30.1743496384479; Tue, 01 Apr 2025 01:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743496384; cv=none; d=google.com; s=arc-20240605; b=GRb4+iAP9w10emWY4Zh3DFvBsNOnC7lYn5pCQA8ORr50IYbNx63mNLnE/+SsL8tw3F uVcLGnXBiRkFSD1SL5zAEn9aoxYIVZCJmaxLi17ItdYzm8ooXel+o53gDloBO+eCmynr t7du778XREDdApW6f3BFzlgtepuEVloeuQUM6rIcio47PDSYqk707ybn9mm+mhqRJYfP 4S/yvVE/FKWG6G8N2tr1czC5PF4Ja3xqTYQoIKU8qRbgtDCE1QOPA9ej4MKOY0bBMXBm hbPDHfMnJnqvQGG4ZPNOJ1ziU2adJdqCNBgqhtmZzIgWl3S/0Qqfs0FF7/J+Ik6ZXfSv +JDg== 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=2hqxnb6HRgZx4zMBcClLax+N04cp1fAmMIfTPJWgUr0=; fh=pgRJImLGStw4JiZaQ8tZ6Gx4wEkoSwwNn1cV112GpBk=; b=V3Y0boQ/ao113xhw+kaI0E86aL/htjl+T2+3d2AhWeWkbEUqaDi7s5aSMZ36EcAi9S 9DvVpUl4cOM6SXEczDx2imvVnmzWUu0S80H8tZKkltj/dAfNzw0N8xXE0rCq4NAWKzou qxDVq6wnP+OmnZk5X9ic2665DlG5JQEU7S3/BvcK+vMTkrqnruPtmYJ9ziqzd7IcYzLE rX6NzPoXqs216yz0thRaLtDLnifYGQjo+co6Y0klbk9jZ9mLCZSiXodaqSSGvya3h6Fc P/jNHAUOVnVi7h1F+4HRqn46UPduFohmLy1cLrFRuTVFQJ0jESKQvBteFxqLlMO3J/rZ zk+g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oiwQc0Dd; 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-6eec9786d89si83450056d6.175.2025.04.01.01.33.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Apr 2025 01:33:04 -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=oiwQc0Dd; 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 1tzX3K-0001SJ-19; Tue, 01 Apr 2025 04:32:58 -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 1tzX3D-0001Mc-3F for qemu-devel@nongnu.org; Tue, 01 Apr 2025 04:32:51 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzX3B-00012w-E9 for qemu-devel@nongnu.org; Tue, 01 Apr 2025 04:32:50 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43cebe06e9eso40389125e9.3 for ; Tue, 01 Apr 2025 01:32:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743496367; x=1744101167; 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=2hqxnb6HRgZx4zMBcClLax+N04cp1fAmMIfTPJWgUr0=; b=oiwQc0DdeFREHSFMUbvm4hA2756LIT3ut5eEhGlz8rm45AKHLMd9/Nox9YkbX89X5s vtHQkTl9oMrApaUUNKhrRIuonOvUrsGvDdAlkFVbB0Xq0wePFJNBzuqvQw7XazGuSDWk S5EeZdfjmBtWs3k+wKziwIZWFFguilYD6E692CG4NUIGM41bxPcjb4zbpLAm4XyqdEwc w8xynJJWyaLo0PC5PX5aiQoL80bIeQiBgevEnaJpzyw1kZXBJCvelSLCJZupobZUebZ3 k+ZN6DIWCwgvVi5AIPieiop/CLgQOPeB941NuKBD0L80VUBYtj9zyw+ezTrHEeo2Nj3M QQWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743496367; x=1744101167; 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=2hqxnb6HRgZx4zMBcClLax+N04cp1fAmMIfTPJWgUr0=; b=hXAJF34OhDnr5d+NeGo9o6HNNg0+LBDUqC7jh4Wj+rrD3jcu4C2vjqZugH55oM1M1V 3VXwv7P+AM2L7y7eY/XtL/kMcNWqwI5wC/H3Ngiq1WWwNuTfm+PhVgqnap7uhSs4HP7N lf+0eWJRvSKHL1Qn4m56665ZSVwRZIVo9Kr3t4eqDCNoUwSrEQ0vijvIjOu78IJeepHk I0ZYdSXY2KsMhVHE5iB4sesHyUSnBcSnIzi+qkO8K4ONWIjzyRWdCQXBIPRoJjtibTTV og2vGCizy0e8G6pdPvbyTFezGCLZ2R8K/PlLU7EFzUSzeNeW28J+2O7ah9T7x3KkjWWJ pGDw== X-Gm-Message-State: AOJu0Yzd0sN1jmnlq334pbjwfrPBXMa54B44kzSt5VrvI40laCEGGi9F wM/vYe/g8238ztW8iw1OOht8YZSXUOopx3oAmnxnu6O9dZYV5QymujJ1kXkVIZE5lHXEgImpW12 4 X-Gm-Gg: ASbGncu4HxZ26oGJQyVFBcyEbP1L1BxPWLw/7KcqO6XB4BI2z3kN8oHG4r1ogY76dZu v8G/gLEv7iBchq3WStST/C3Vwggd7ZoYJIH7KyMYeiCpYw5SViXrwGmRnpqEa8j9xiNAMXMS8P/ gYezHsCjxm84msY7IGOcCqwl//KaNZbFFhaXklrDFfH3A4HQZdAotmhw0NRbCQSEjYSQsQRZUQM S+01WvLiJKHEnXrawjnO7Zmznz2Wt/sZN7Q47t47qQCEfQaYGmVdWVG0sBru9KiMUCPm/Wlzk/C +C7hM3TBxwZVwrZTrpBeF3XEjH5UNsEgU5JVfz6fKyGxo4CHBX8AWS9r4rSJBUNo4rNK/6lpfze cpuy4YfcPSiPYEqX7BCU= X-Received: by 2002:a05:600c:34c7:b0:43d:26e3:f2f6 with SMTP id 5b1f17b1804b1-43db61d6ac0mr124099915e9.5.1743496367479; Tue, 01 Apr 2025 01:32:47 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d8fbc12bbsm148735865e9.13.2025.04.01.01.32.46 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 01 Apr 2025 01:32:47 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PATCH-for-10.1 3/3] exec: Do not include 'accel/tcg/cpu-ldst.h' in 'exec-all.h' Date: Tue, 1 Apr 2025 10:32:32 +0200 Message-ID: <20250401083232.33773-4-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250401083232.33773-1-philmd@linaro.org> References: <20250401083232.33773-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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 Only 2 files requiring "accel/tcg/cpu-ldst.h" API do not include it: - accel/tcg/cpu-exec.c - target/arm/tcg/sve_helper.c Include it there and remove it from "exec/exec-all.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier --- include/exec/exec-all.h | 3 --- accel/tcg/cpu-exec.c | 1 + target/arm/tcg/sve_helper.c | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 70608a11b60..944b579d91c 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -20,9 +20,6 @@ #ifndef EXEC_ALL_H #define EXEC_ALL_H -#if defined(CONFIG_USER_ONLY) -#include "accel/tcg/cpu-ldst.h" -#endif #include "exec/mmu-access-type.h" #include "exec/translation-block.h" diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index 6c6098955f0..8057a5a0ce8 100644 --- a/accel/tcg/cpu-exec.c +++ b/accel/tcg/cpu-exec.c @@ -22,6 +22,7 @@ #include "qapi/error.h" #include "qapi/type-helpers.h" #include "hw/core/cpu.h" +#include "accel/tcg/cpu-ldst.h" #include "accel/tcg/cpu-ops.h" #include "trace.h" #include "disas/disas.h" diff --git a/target/arm/tcg/sve_helper.c b/target/arm/tcg/sve_helper.c index 9b0d40c9e18..87b6b4b3e64 100644 --- a/target/arm/tcg/sve_helper.c +++ b/target/arm/tcg/sve_helper.c @@ -30,6 +30,7 @@ #include "tcg/tcg.h" #include "vec_internal.h" #include "sve_ldst_internal.h" +#include "accel/tcg/cpu-ldst.h" #include "accel/tcg/cpu-ops.h" #ifdef CONFIG_USER_ONLY #include "user/page-protection.h"