From patchwork Thu Apr 24 09:46:43 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: 883931 Delivered-To: patch@linaro.org Received: by 2002:a5d:474d:0:b0:38f:210b:807b with SMTP id o13csp3341490wrs; Thu, 24 Apr 2025 02:47:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVrWqt8XOMpghPgyw2sWR9R/6eiqqjSr8vp3Tz58/aDbMdb1rI6QsQOO0JXVO6UFd/rt2Sc2w==@linaro.org X-Google-Smtp-Source: AGHT+IGpgrpGOPhPnxeW3kkWT5zkePLzqd1N8Txuatb/M/nmHVJdU5EwaTjVBhLni01cUaP9/5oI X-Received: by 2002:a05:620a:2442:b0:7c3:d5a4:3df3 with SMTP id af79cd13be357-7c956edff27mr299840985a.34.1745488048540; Thu, 24 Apr 2025 02:47:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1745488048; cv=none; d=google.com; s=arc-20240605; b=kzy0sLsjJRRLcU8gOOJlWPYYZylursc9vLdvQF43rW59w0J+OML/ML4OWIkStqmUSm SCREFX6utVncpyXxaVH42DcCRWU2lRjji+AqYiYyjGqFHiYVJlEpEoDRsGmmbAZjTH0h R3xFg+wA/3JD8NP7X/TvDP52CkiEml6WfLbntsnWKUjVXxvlBOIqxjeFmZLMeikJoFvS UyOyz3X/QhBWY0jHV8bypk03zf+cl3xCqfxiPN+Jx5TIAwdHdPOf/kFzz8DyehSfnpf8 FlbOySGnurZdjq4k/IHvECEa7Uv/eZ3TNhJWvPLw6RmHw622j35HoJKtHHc5OMmt5d9G FJvw== 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=fKVbRu30xoHBRhvO25AZS8axM+b/UNVBgSZLA8vs3WU=; fh=OfreXVzz+9AWc5zm3wgpgY6oO4v5p5SO53/S12OWUWc=; b=bbOFCKHUZM4vcmbR8+5Xpi90jf127l6uhBlQpD2ZE88jXqaaw4o6W40mpsahEKS5h3 fC/+tcxhRPx53iAWCIlqSSvlfogfsqr+0xalZyjUFF71tZQ3SZ4XSFRgK3iWBY67cVsd dwU62J+loaNdeIcT+A3+NenBC6opHKXNXQ2ZzAedg6jqVpW/XdeytNq3AL4bylMwMTgt X6BbkOMjy4tb+2sBEhpCKf5m8cGrtvPCynb3V69hUaySANuuUAsfnMUCOxnj3fivyvy8 +KZsyIK+krnD9x49xP+BioXXF0ad+sjDd8SNDi1J7RIGCqgBpvPj1XpnJHox5hZx0cYS kIxQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=paEcNnRm; 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-7c958cd43c6si100197385a.136.2025.04.24.02.47.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Apr 2025 02:47:28 -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=paEcNnRm; 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 1u7tAp-0007ad-5Q; Thu, 24 Apr 2025 05:47:15 -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 1u7tAn-0007Z6-No for qemu-devel@nongnu.org; Thu, 24 Apr 2025 05:47:13 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u7tAl-0002ZC-MW for qemu-devel@nongnu.org; Thu, 24 Apr 2025 05:47:13 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-43d04dc73b7so6691525e9.3 for ; Thu, 24 Apr 2025 02:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1745488030; x=1746092830; 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=fKVbRu30xoHBRhvO25AZS8axM+b/UNVBgSZLA8vs3WU=; b=paEcNnRm1jKkH9Q1mIktk6g6jDYoNk680rfL7/c9D7Oo6ccGpxRRhHIGILrXCKsuQs VkOB3T9XzI+cnalvw8QcWdIv79xixw9MFgopMK/StG+x+GDYwn6YlH2U6mvpT78r2qTt YbPNlc5s6+Ktdqll+QwWhkie5Y8L//hWZLV1bVeZkUpfIHepCwAVUyvFe8dplNt0qRC6 wUtWymcpzNsvkBX2XCeRJJ92fsfcOpb5mW83q/DKPcj2tM/1sYPY59Gexoz7Tcl4bvXG QvX112p9dzyt7/K2wg5KQqB+o4MBKChp3RngAK3T28aHMcbdwNLjZrb9ClhLcJnngGnX EWyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745488030; x=1746092830; 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=fKVbRu30xoHBRhvO25AZS8axM+b/UNVBgSZLA8vs3WU=; b=cJqpkssy7/whTL8G/TsBu+muVmOD8yLCbXUnj4je3h/YEfW+i1s/10iiVt6FGJ3eZ3 TJ7pH7JpuRMtwAUsFhT3gjRXiZ0/g95eDw3uwiT9sv3yj3pu1p95pi8XoznUuaYYrhpL tFN3vZBagqFBimEtEMFsLjbryx4aznrSUIbXsk1N/0LgQfaUBOgkcrJu6Wd8CI0QCnas sD/AlJSx08B8hoYCyFOhE5G5jxdW8mIBd6taKOZYyCjDQdVkPOBMW6q2vX31Dk7+X2pa RikrDYoybl4ABO3DM9AAr28HWtPYeUwXfqx80BLnYGlxLqHVwh/M/aNWUAG6VVCIYIcP l0+A== X-Gm-Message-State: AOJu0YxmiMKNvU3IsGzeyjyhmCflZ9XwJpNApj7FOxKmqDHz13cELlKd Sx5tiotNGv5gkqPcPXZGEE0BRDWQET6E5ZYbeS5oaaWV8MnYHL1HpagVlV5naKMqxkN5EHlL8/C I X-Gm-Gg: ASbGncsWJmCoUASyKaWOU7MpVwdMUNQ21D0bA9jwjRcfBk/AXEx2i6GWaw8qg5SN9/m 2sEQsfLPPfyg+3i6VhB1Eq+W0N4agYfARphw0/4prFjtP3b1WnrG9Ef/3qCgIz9mN/xxCsOyFXv qmOV1ztpvTmK19Xh+0bOy2ZqjvfQ5AKwRfP+ikokxoleKOExubrADjHKDIL5vsvqgJUuTL90hju tGEqiltLyJ3s57j+7+iF/1I5giICznwzATTyqisL0CB6R23S5aWzuRgMMaclaX/r2oF7oVimf/Q /FMjSOSFIVj8qlYJ00SFbVxbzMZqlZ1V3AFDWWbIz/+cYNDZFJ2d21HzTXlFvjsEdBp9dmq99pr Lu8Svr/JVb6CPOhk+oH5w X-Received: by 2002:a05:600c:a00d:b0:43d:7588:6688 with SMTP id 5b1f17b1804b1-4409bd18492mr17380165e9.12.1745488029784; Thu, 24 Apr 2025 02:47:09 -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-4409d2ac5a9sm13920295e9.23.2025.04.24.02.47.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 24 Apr 2025 02:47:09 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Richard Henderson Cc: Pierrick Bouvier , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 03/13] accel/tcg: Correct list of included headers in tcg-stub.c Date: Thu, 24 Apr 2025 11:46:43 +0200 Message-ID: <20250424094653.35932-4-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250424094653.35932-1-philmd@linaro.org> References: <20250424094653.35932-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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 In commit 3549118b498 we moved cpu_loop_exit*() declarations to "exec/cpu-common.h" but neglected to update tcg-stub.c. We missed it because "exec/cpu-common.h" is indirectly pulled in via "exec/exec-all.h" -> "exec/translation-block.h". Include it directly instead of the not necessary "exec/exec-all.h". Commit bb6cf6f0168 ("accel/tcg: Factor tcg_cpu_reset_hold() out") removed the need for "exec/tb-flush.h", so remote it too. Fixes: 3549118b498 ("exec: Move cpu_loop_foo() functions to 'cpu-common.h'") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Mark Cave-Ayland --- accel/stubs/tcg-stub.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c index b2b9881bdfb..3b76b8b17c1 100644 --- a/accel/stubs/tcg-stub.c +++ b/accel/stubs/tcg-stub.c @@ -11,8 +11,7 @@ */ #include "qemu/osdep.h" -#include "exec/tb-flush.h" -#include "exec/exec-all.h" +#include "exec/cpu-common.h" G_NORETURN void cpu_loop_exit(CPUState *cpu) {