From patchwork Thu Apr 24 00:49:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 883923 Delivered-To: patch@linaro.org Received: by 2002:a5d:474d:0:b0:38f:210b:807b with SMTP id o13csp3209818wrs; Wed, 23 Apr 2025 18:31:21 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWnz9MgvhDdG9MKdBbsDQq4mW8ft7G8VAv+GQzABvARClRvjebgrLNUnsG9W187iAO18GwEyw==@linaro.org X-Google-Smtp-Source: AGHT+IHzV/FSGoDZnnW/mJxsr9atm74AWvQwiOvQ+8FGRmV1SgdR7yWfFHfC6/ppdWSA8c+BG4ws X-Received: by 2002:a05:620a:25cb:b0:7c8:e67b:8076 with SMTP id af79cd13be357-7c956f60758mr158417185a.50.1745458281350; Wed, 23 Apr 2025 18:31:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1745458281; cv=none; d=google.com; s=arc-20240605; b=aflkNaQjETIC/3v19RxqY2Czhd8fLRutAZOQovZI+jF/WRKr1H8WAu5LZLyv9c7UFK EhC9yXFIe5zeJ1LLq1gdPnavSMFHXeJL2hBgmxIkNDWxQCMUQQQX7ank7/BCU1B8jEY/ Bco30zAwmsGCmhI6ihf7JhdUMnjAFd+ZezRD+7x76Xw2w1edF3hQcrvxbnmAB5ouFyBC M8AmBAcB3WtcEFiwyD5KsQ3xi4xY0x+q5OmCxNYrJbG+dmIhzr2MC69r4v2vISvUUeJT jXqRW1O5Xs0VvG8lBPr4eO7rby1LZOgt2kmUxjqiplSg6F2++ux3TUPNYopczfZ5BnGV +O5g== 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=Mp9J9qjnxFI/eYHYBGLU+fFqwqKgFBMYv+K6pTDgibE=; fh=i/pWNGcx7KiR3ewgypxpPkuORYlkCnVXLqKVm9/UgNc=; b=dZNkl0P5+ufb9sczkfi/C60fiU5aatMTqO+cMhatZBPqzwUuNvokmsNxvopS10EIkL vEt91T4yrscKAsbalC5GxaoigAoX07bws0rEDdYhtG2bOd10tl+gLeF/zDZ86i2JZe2c c3uMwdhhpQxdvVVRi0vZ1/kLnMWcXZ/PL3QZPrJvbpzbFT86cL1FkEB0hG8o8s2S/Lcg nzuCtT8nuCr1rO+0mj1V4jE6MbX5xlxRYIqC44ZHNk/taE2o0HJA5ATxcG7TL4aWjemq +bQe7O5WN2xFOXzwuKv++r4ZDJIPAwTQ3b8GUMKJuFS4j3pNwRZYWA+HykkeVe3UdHSG 3vSQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=efDpYvo+; 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 af79cd13be357-7c958c9b670si27550985a.98.2025.04.23.18.31.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Apr 2025 18:31:21 -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=efDpYvo+; 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 1u7l02-0001qN-6N; Wed, 23 Apr 2025 21:03:34 -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 1u7kwq-00052O-GD for qemu-devel@nongnu.org; Wed, 23 Apr 2025 21:00:17 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u7kwo-0005UN-5F for qemu-devel@nongnu.org; Wed, 23 Apr 2025 21:00:15 -0400 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-736a72220edso419994b3a.3 for ; Wed, 23 Apr 2025 18:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1745456412; x=1746061212; 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=Mp9J9qjnxFI/eYHYBGLU+fFqwqKgFBMYv+K6pTDgibE=; b=efDpYvo+Hv+NZNJ0SefBUwh/7aptIeF+Rvat0kqakMm3ijeR1JS1z953nFhailoFIy N2WmnMhESs00OLsLNJBJvxQlyzjf0op5u0L+lqLFODqvasTVPMXKl0Ct5+KPJx8tHHNp TR2GnpWG/gU+hqOxtsB5S7UJMmDYOZFsu5XncvnA0JsY8/LJ2iBNPip25dZrNIRmg+Bz nzU53Ub+HoqSwPczFvZYW7CkEjZnFkBT/cI+S1GPF/b045XXW+8qblaRbh5U5i+Z+rY7 8Pc1OnBaQosXqZRRq0E31PZH4jvBqQp1Q5xrLUoMiWgXa1yM0u8pVWbaZ62qDiIzWkIP wi3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745456412; x=1746061212; 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=Mp9J9qjnxFI/eYHYBGLU+fFqwqKgFBMYv+K6pTDgibE=; b=qehHcf1lTkTp6TFboPq6U5AQ1XHQhysnzMN2qd2Mrp54zu81DO0/vEzROkrSYLGuHN qti01/TtLt5cfbPSrrYpvqeGVQldHZvV4di0H6CxEIotOqtShcdTel/Uxv0l8k2BD2wo Ll5+FCk4BuUixlVp5WbUUZIfPVTbxiING2CvlxKPi9YzqoptHqyaewHpmRMemI1KYMZO Oe6X9Vem80ILAeCx55kWyEEU7d0QCALzyryoJlzcVduTHH7v1qar9DqcwKybK5cigXRY /n5lo6klTsZic9GS2QO/woScBPs4s90VcMHrkPgf12zrBbPd/5D1rZ1+KJC+nUL9BuX5 hH2g== X-Gm-Message-State: AOJu0Yz8CiZqC8FreEG2pLJPGFN2EzjN2D+pzEUaKXeGP2Vq5J6zeow3 1C6uVbbtp5RBVI6NT3dBCkcgKOZ1ee70eCVGpRjj8cqJKUP2cl7P5hfOtYo9IuX9HwMx4u003H+ 2 X-Gm-Gg: ASbGncvWzK0cZain5qkaW+PkABNSw6C4Y85u/KjVI5I4iAuw7Gp2SWpvmzhdiJznpz6 SnBubHNKeW9OQdwgyxC7vzWG9cMr6q5kPzrW8hrHHdyU4ZGdsjLLTO+u6EkHcJva0+oAWgsIH3S dZzDBbiGVTCL9gkq13MOWdElfYHfE/545ufDVb4T2Wn48aBfXrGG9t1MEv39lvHfBFESsHi3wLe /oV2pH5xdj5GW8unogNAZxvaoDW9JIntFW/Th7vTKZTfvzld+2lN7fkdZqaXWlMaXu0i8RKB+AK 6HxS0H2+LH5BMdoHKOGOewcnZFW8d+zsYT53ts/TF3SZWjiIAAWNtWmfPCJzeQ125poo1/m5QNJ qKmd7W3jCtw== X-Received: by 2002:a05:6a20:c707:b0:1f5:8748:76b0 with SMTP id adf61e73a8af0-20444f25fd2mr887921637.29.1745456411667; Wed, 23 Apr 2025 18:00:11 -0700 (PDT) Received: from stoup.. (71-212-47-143.tukw.qwest.net. [71.212.47.143]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b15f76f45c7sm129259a12.16.2025.04.23.18.00.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Apr 2025 18:00:11 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Pierrick Bouvier Subject: [PULL 132/148] exec: Do not include 'accel/tcg/cpu-ldst.h' in 'exec-all.h' Date: Wed, 23 Apr 2025 17:49:17 -0700 Message-ID: <20250424004934.598783-133-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250424004934.598783-1-richard.henderson@linaro.org> References: <20250424004934.598783-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x431.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 From: Philippe Mathieu-Daudé 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 Reviewed-by: Richard Henderson Signed-off-by: Richard Henderson --- 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 70608a11b6..944b579d91 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 5ced3879ac..b00f046b29 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 9b0d40c9e1..87b6b4b3e6 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"