From patchwork Fri Mar 7 18:56:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 871237 Delivered-To: patch@linaro.org Received: by 2002:a5d:64c8:0:b0:38f:210b:807b with SMTP id f8csp915804wri; Fri, 7 Mar 2025 10:58:33 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVxbMeSSlrhzFGU0cNSmdnTKUzeZAp1NEoKXd7WQQ//KNT+frMa1i4kRAYZTqUr3DYh4XHnPA==@linaro.org X-Google-Smtp-Source: AGHT+IGEyMzAcZPBJU8/EaF32m1pNw683uwQ3XX2H/DHw+je60Rp53uFn4esN/SCKeqyhvX88Aq5 X-Received: by 2002:a05:622a:1993:b0:472:12f1:ba4a with SMTP id d75a77b69052e-4761095065emr63346841cf.4.1741373913004; Fri, 07 Mar 2025 10:58:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1741373912; cv=none; d=google.com; s=arc-20240605; b=A6wnpewfceaB0TnoR/smrhDSD+3pw5S6qLozhov+ywJu8lcoLWEakv5SWxDRb6z4G+ io5bPcnXrgkod5wOU5jcRnkT8hL2dYJlkaTeL8Einx/4xFI+bK0k8g1hSIHN49iDooPL d6DM9vI86dSxfkj4NlhfuP9qE+fKzzRlXuLSyUmjgPfr6TK+4yxnppVgXxAEicda3BPj HwSH0giyQo0MtPX5F25hQtpoq/0SjgDEvP+70D3EjLIN5DJymkVioa1q+SrzAztpmQiO VSv65nHS+VH2Rmi/c7sjDj+pxnmT4EAJSmfQTfgasphxFFXphDNSaWGa448ux6vWs9pX R30Q== 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=+0vlhP+/ciA3q59qQifyZ8D/3OKhNe8zch9jvXIoi5A=; fh=ycigHkwOPieh2u5PmcA89sNk/qPD1ZkdDlL8Mchfvw8=; b=BXqAA6uz5ydKchZqd4WquT4wMeK6f0X2VS8HVtE4r2N5b0ZughaCxZNmococBZBTwa GCIBNoNvxoeYQUsPfJmp3zUZ69kXHMjrX4LKvE9kvGlMdEuDmlyiv8HL/KGggCh7+t9n W7C1bf3ZzKi9fZwTA9mNXCrb5Xe4LEUuLEoJbt4xWgii5BDg3xii6mDMdnWuC1RtUyn5 exS7eIUyitMFv040JBtphTXFlG6xeX7wiEdpgSvlJLP2Iv0zF9pFwUlR9zspY8/PpBjc bQQcf48NLihs9cVRlzcwEQUmgCVkTKlfXBu2R0hvb7YD/zRz6kAxidP7bYTkoNr8YtAH 8IiA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="w7D/qhWZ"; 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 d75a77b69052e-4751d97f8b4si38505551cf.51.2025.03.07.10.58.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Mar 2025 10:58:32 -0800 (PST) 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="w7D/qhWZ"; 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 1tqcsa-0007VT-7A; Fri, 07 Mar 2025 13:57:04 -0500 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 1tqcsW-0007UA-Ga for qemu-devel@nongnu.org; Fri, 07 Mar 2025 13:57:00 -0500 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tqcsU-0007oT-NJ for qemu-devel@nongnu.org; Fri, 07 Mar 2025 13:57:00 -0500 Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-2fef5c978ccso3558533a91.1 for ; Fri, 07 Mar 2025 10:56:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741373817; x=1741978617; 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=+0vlhP+/ciA3q59qQifyZ8D/3OKhNe8zch9jvXIoi5A=; b=w7D/qhWZQZMho6FCx+LirGK9aIkw7zzz1u6E7FiW9MEjUxgkgno9powxby5pqECXL0 zOmNR64RMBjhYADVSut8cS3b5ipmSI3LLkl609BiaKh83LSVUavtt0JH58oNZjkaOh53 8cj/bNeOqWquRrhmrr1JJWY7r88+p9XP+v5T9oFolx3HO0U55I0tcSWLtaz5Ubr/aFAg I3Q+8XGRsvCmZpf8sWhgev1WRE5u0gTL9nAc+WbQjip+Xs9I/SygGF4DcaG+XSZo/G6h Vfvo+piS8tPLimnQa/d9OfaQDIvpLWqHlOcxCOrVNBLaO/UPFHmko1f7DMwj1YlTFprN bvRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741373817; x=1741978617; 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=+0vlhP+/ciA3q59qQifyZ8D/3OKhNe8zch9jvXIoi5A=; b=nQnKkx76VxspH7ThEDfMEJt0G/arQBSPwJkaNiXmIeXLWt/s/jquHVeHnywSJwmUyS fs8VAnJ5UbrHTE+ciAQ5/4nruzSQXIDpa6mdvaZucLxr8UStBqg59mZ9JmVk/oRQfiX3 7E/5Hea8e0cnvx+JWvO0q4Dm2i6z90/aeLk9Cd07+bo/vbWtoUwebSRBhWjAg1JdfJ9j 9gPO3cpK2UWcqL46b+B4EMISMmyGALRqGEiXzk0kZA4NOKK8DVuLZng+V6HyQpAtTcj7 KyAB/7MCi8T/4zMhEizvUgzRoYDP3QhyVGpisAtzYW626FuFQtRJTjNNS80R86gK0Bxd 8hKQ== X-Gm-Message-State: AOJu0Yx/XwcTuxk6v5bSu3/QYe4AsbwHehb0ERT9Ajdcv9G/+8A4URxE myQUHpC6XR9Dzrj8s/YS6n8mM6KBxpeK2rs7DGzi2ROT8m773H/e5plC4f9YrO41R0wqe07QO58 F X-Gm-Gg: ASbGncup7PvEb4Lc2sj/QnCJjuuMentmKfWdoaWviCaZYO4Do8zaiT60JJLWfRzJSm5 weRhld+dpBNttfjT8bVDtcLCbhT62vfPKWsHfx5cGD+XmUXuSciCbVLOvSFt6KDxYI4FrZ3aBFL RA51vrdnTrYmQ2jnjabtf6GG46xk3sSNw0viI3tMe6AMRN5lgTerqBHdMa6iaHFPirsUV0LSv9g iFtIZyKy2mTbs+XvgfAX4OIfuuwlmC7yQUfostnPsJacrd2POtDZC8hGp/6HwcRPkf7Nuq6DSKV gdbdtznjBxDzl4+7aUm7OmEpXvSmrC/QfROIfQyqdoFnt6+xTNIgDtK7prCT897bRWVil/Ybu12 z X-Received: by 2002:a17:90b:3911:b0:2ff:5714:6a with SMTP id 98e67ed59e1d1-2ff7ce895fbmr6273140a91.19.1741373817265; Fri, 07 Mar 2025 10:56:57 -0800 (PST) Received: from stoup.. (174-21-74-48.tukw.qwest.net. [174.21.74.48]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ff693534f8sm3391917a91.17.2025.03.07.10.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Mar 2025 10:56:56 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: philmd@linaro.org Subject: [PATCH 13/16] accel/tcg: Build tcg-accel-ops-mttcg.c once Date: Fri, 7 Mar 2025 10:56:42 -0800 Message-ID: <20250307185645.970034-15-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250307185645.970034-1-richard.henderson@linaro.org> References: <20250307185645.970034-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1029.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 All that is required is to avoid including exec-all.h. Signed-off-by: Richard Henderson Reviewed-by: Pierrick Bouvier --- accel/tcg/tcg-accel-ops-mttcg.c | 1 - accel/tcg/meson.build | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/accel/tcg/tcg-accel-ops-mttcg.c b/accel/tcg/tcg-accel-ops-mttcg.c index ba7cf6819d..bdcc385ae9 100644 --- a/accel/tcg/tcg-accel-ops-mttcg.c +++ b/accel/tcg/tcg-accel-ops-mttcg.c @@ -30,7 +30,6 @@ #include "qemu/main-loop.h" #include "qemu/notify.h" #include "qemu/guest-random.h" -#include "exec/exec-all.h" #include "hw/boards.h" #include "tcg/startup.h" #include "tcg-accel-ops.h" diff --git a/accel/tcg/meson.build b/accel/tcg/meson.build index 87c1394b62..81fb25da5c 100644 --- a/accel/tcg/meson.build +++ b/accel/tcg/meson.build @@ -20,7 +20,6 @@ specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss) specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files( 'cputlb.c', - 'tcg-accel-ops-mttcg.c', )) system_ss.add(when: ['CONFIG_TCG'], if_true: files( @@ -28,6 +27,7 @@ system_ss.add(when: ['CONFIG_TCG'], if_true: files( 'monitor.c', 'tcg-accel-ops.c', 'tcg-accel-ops-icount.c', + 'tcg-accel-ops-mttcg.c', 'tcg-accel-ops-rr.c', 'watchpoint.c', ))