From nobody Sun Nov 16 00:54:49 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1745488162; cv=none; d=zohomail.com; s=zohoarc; b=EfrNaMyD59lfmrCw1hHLB917fV5JmDQ6mbLEjJ4eAV57NntA5TcdKGS1dQX4BNai0GkjlUo98hhKupIbrXsOyRYobQEKwAGf417NLbcSUL8EX/DJM3cC7KNW4bwTjUw2ZQpAWWZC55HhNyYVC0XQDDai/AQx/9F/TnQrdakPAEQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1745488162; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=FlhuEFGU9Yqfmcq0obyYoUcjG/F2c98mBOFnS8by1sw=; b=ToZSA0abeKmgCmlV1qyXqv9s7UnM/nBMEicR/r03BS8t8vO8EJEh8nURVPdXf6uZnnjXsaB6zwp2fK19WFK9Arz164Og1TyRY58797IAfBHd2CmdQ86U/3w9MtGpzAoOhiG02b7kHw2nWkRwzcmgO2V7PY/r34ff3TU3ZAfYtLY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1745488162303904.2031355308977; Thu, 24 Apr 2025 02:49:22 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7tBI-00085p-0o; Thu, 24 Apr 2025 05:47:44 -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 1u7tBF-00084S-9s for qemu-devel@nongnu.org; Thu, 24 Apr 2025 05:47:41 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u7tBD-0002b3-FG for qemu-devel@nongnu.org; Thu, 24 Apr 2025 05:47:40 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-39ee5ac4321so869328f8f.1 for ; Thu, 24 Apr 2025 02:47:39 -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-4409d2a2fa5sm13668615e9.9.2025.04.24.02.47.36 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 24 Apr 2025 02:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1745488057; x=1746092857; 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=FlhuEFGU9Yqfmcq0obyYoUcjG/F2c98mBOFnS8by1sw=; b=ruYTKxkwv6Dpf1z7qxS4LEZXRZ7Woo/X8nAt0ucDEZe4u46YqIqwI7WmM5pccilzfk lxSnpX/Z8WKJKcG/PXpC45W3HDTePOwNAgbRx5zP6Nm5eXfscPslU1tvAnxuB2mF97pH +65bsaDXZrdl+iAYLf+BqE4xQEn1AqtyHU58M2a7ZoYE7OZgGkck6294I2Yve8RsLLZI OW5VV1R+yB0y3DKyjKpgW1QufxLHwKRDZGMqbOGi2DSvX5gv/bKNy61fXDx/G+dmXIWd U3mQ71MlojeYtSeNsN60JjDiiCMwmQg8pQbdkN0B7ccGNc0ljKozg9E1roL/T/A7IseP XcVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745488057; x=1746092857; 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=FlhuEFGU9Yqfmcq0obyYoUcjG/F2c98mBOFnS8by1sw=; b=Ggt7ANolAt5MHl7b69U6DF8KmgiyCC1e9//Lzyat/Q3iq86RIH0LX/OClqBqpbl8sv gWuG/kkautyez9B1gcDvKSe6/qBwVtu6Z85vhN3uR2bD5ufjAMkVVSUFalxHnMuSczn/ 6hQIzA6P8V7RCywiCURnkBg/tIJMhkNbpAxhR2A+wwFsmiQTE+OFQVNrnnllKhX2m1b0 vna/h8ZTJoYly9x9XIzHz1wDUMX31HEC/f+LA7ubzJ4PfntxkpMfaFf7eHsE+w/47WqM 8nKwTo1HfxB5Y3RRtCIfZxJ+u6cOXeY2g7MY516r2M1FbRB3+pV2qWb0plBfwQGXR47c QT6w== X-Gm-Message-State: AOJu0YzpFI8AxWWyqL6017M0sifvP2bX1RYlWZjt+D/BmCzKqXn3qL6I D0T3ambU5/RcvCFC41TRfcHYZM9Rs6QDd7bng3/kZwOVKZoFG2dAZXw7m6jvYKrAjwcPX9TQTs5 Y X-Gm-Gg: ASbGncvhsaNzg9FKdtAk/AuAnkBk7sCr0cxBjlbdULPdbLvCo3gFAqNOEyJV6C9xN3o Crd9FFQCPEw2kLguBok8qUHL4SE66+4kj2D8eARXbq1FZxXutI3CUjG5yWMb8fxbdbHlTCzBxba d8VzdBICAatDw8K9NNhm3e0piFbVpzU7zpTHozzDvoV4AHwEJaULs/3TJsZAd04UNCGFnNNWd2Z k/9cInVP5qByZ5cpd7A/kpa3J6Mc5xE9tGMrltD5rus1k2UY8scD4qHmh2lgfYBG4/H67uETGZs CRPV1mbr1MmuGRBCGx6FgZyhcSW8KXEWmKj6/HxqtC/bKvAyshYxURIG7d9EzOrAY0KGsaDzOQO pd7ELgSB7c1GvOXlIk8CxFP6xD5cmgoY= X-Google-Smtp-Source: AGHT+IE729x0GtSY6eolx8ZzcKDg8K+xP4HNHr4zxyJg8CfKZB1aBsHTGqETuqFQ8pWOUamBhq1Pcg== X-Received: by 2002:a5d:6daf:0:b0:39c:1efb:ee8a with SMTP id ffacd0b85a97d-3a06cfa3477mr1649055f8f.38.1745488057602; Thu, 24 Apr 2025 02:47:37 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Richard Henderson Cc: Pierrick Bouvier , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 09/13] accel/tcg: Include 'accel/tcg/getpc.h' in 'exec/helper-proto' Date: Thu, 24 Apr 2025 11:46:49 +0200 Message-ID: <20250424094653.35932-10-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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=philmd@linaro.org; helo=mail-wr1-x42b.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1745488164336019100 Most files including "exec/helper-proto.h" call GETPC(). Include it there (in the common part) instead of the unspecific "exec/exec-all.h" header. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/exec/exec-all.h | 1 - include/exec/helper-proto-common.h | 2 ++ accel/tcg/translate-all.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 4c5ad98c6a9..816274bf905 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -26,7 +26,6 @@ #include "exec/vaddr.h" =20 #if defined(CONFIG_TCG) -#include "accel/tcg/getpc.h" =20 /** * probe_access: diff --git a/include/exec/helper-proto-common.h b/include/exec/helper-proto= -common.h index 16782ef46c8..76e6c25becb 100644 --- a/include/exec/helper-proto-common.h +++ b/include/exec/helper-proto-common.h @@ -13,4 +13,6 @@ #include "exec/helper-proto.h.inc" #undef HELPER_H =20 +#include "accel/tcg/getpc.h" + #endif /* HELPER_PROTO_COMMON_H */ diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 38819a507b2..0408e2522a8 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -61,6 +61,7 @@ #include "system/tcg.h" #include "qapi/error.h" #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/getpc.h" #include "tb-jmp-cache.h" #include "tb-hash.h" #include "tb-context.h" --=20 2.47.1