From patchwork Thu Mar 20 22:29:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 874997 Delivered-To: patch@linaro.org Received: by 2002:a5d:5f4c:0:b0:38f:210b:807b with SMTP id cm12csp575248wrb; Thu, 20 Mar 2025 15:37:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVmqd3114F/p8pS1ZPQazhhyugOzUVJsDonTP9bjK86g2lOlrOe3uFR3TgdI0qnoAAGj3O/NA==@linaro.org X-Google-Smtp-Source: AGHT+IF4mfv7mdbQCgGCrosmbyQNPesv5FtaPUBIGzva0wBomqx+FyvyDGbaFZVut4Fa8UILDtzi X-Received: by 2002:a05:6214:252f:b0:6e8:f9e6:c4e2 with SMTP id 6a1803df08f44-6eb3f33d619mr17188456d6.32.1742510239834; Thu, 20 Mar 2025 15:37:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1742510239; cv=none; d=google.com; s=arc-20240605; b=NjOKN86W8RPp/A1QuFUpZ/DdNzcCnr/uu3NFlCem/tSXbQTMZK9Hm0hCbVxi35r4+i wMbLz4HtJhfIBA0V2heBdZXup6TPO6QtIF2Ei36sckj2g09j0lzPdyOUIjmNH8iapJiD ZBsY7q+PVQsPzYZOC2OYSabra2Tt0QcwP6Kzglm6mHGK9d9KwMEXNje3cOBUvT0XxO9I 47m3kRgFBP7S4HfTZG/PqiUKVl1L4/SxxslDwrfHpDvCiELYXMdhNoPeY3XaeztlpWXn kY9ArataMxnTruQN5dXS2bxfmB8oNviNedpHkQtUJR7BEgr0vKENf0pBbQC7qU7PfpVf Kn4w== 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=pRpFizF/E4rJtnjS8JYR/AaD9jyyXl0WSOs/w63P0CI=; fh=nOkKbActdBXNisDSrdwXLE2FHRvxbNZxRZo5bVBICcQ=; b=RmM89MQYEabCxmsoPasZBaO+D9jURgQl0VKLP6uO17iz+6P7irBzuEvg5/wdSPxF13 shrGYRdAe96mGfsS3mPxZ/Qd2Yr+sovSFDEo16c7hp+IxiRTNo3aNNeumCpkCfJBzYMu M2+a4vq20h27w7rz/yLeCFJ7SP5VhS/4h8NLS3d8YRH9iT0Hb1m9jxwDiTk4tRfQZlK2 V4siYk90A0xvUy90+FhCgJZtLjqIgKx8x/tF+pg4ZoyjMBqZ7aqeLXh2OJNxOOdjjiWe 7ln1fdRLRVQANmhOMAhpJJ1JOqwpXX+rLn+OHUnQUnt5G6auTWnZL0Ma7oKVGHA3+F6T CV2Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T9wFAQKE; 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-6eb3f01dcd9si6753086d6.360.2025.03.20.15.37.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Mar 2025 15:37:19 -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=T9wFAQKE; 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 1tvOSS-0006zf-8J; Thu, 20 Mar 2025 18:33:48 -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 1tvOPm-0002ag-G9 for qemu-devel@nongnu.org; Thu, 20 Mar 2025 18:31:04 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tvOPN-00079R-Oc for qemu-devel@nongnu.org; Thu, 20 Mar 2025 18:30:58 -0400 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-2264aefc45dso37719725ad.0 for ; Thu, 20 Mar 2025 15:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1742509825; x=1743114625; 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=pRpFizF/E4rJtnjS8JYR/AaD9jyyXl0WSOs/w63P0CI=; b=T9wFAQKEQLIjGGkzDyN6HOe+XD2rAAg+8h45ToLvR7U/+beaSztR+IhePoMa9GtFkv HDe6EHV91KX7AUuCrhHx2E5k0fuYXk07ZXhI8EyQBs/0hQY6kwB1xK+SgzbNRxfyHs67 4PlbJxJEu1TuS1+0wNcUzMsPm9EBTeQuF0JAYmdteNDKPw9HQgBkRozjePW1J2k2scwC XeOCxp7fACnM3nZOFXRrSwWgogMP5G2yw1Qo1jAj4BIXwB6Zi2FE9g8riVXmiyo/18qI 1yLxsZx+xDtOUv2tOIdgdspHmbHPjtgRN0K2U0RdOVJ74p7zyKhXZvFls7tuLAQKeJwS 9tUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742509825; x=1743114625; 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=pRpFizF/E4rJtnjS8JYR/AaD9jyyXl0WSOs/w63P0CI=; b=qPYADG6p9nBQUJGX7GH83sASwxrfzHEWeTGYx9aWKg3uZJHVpnBrXlg62hEB/1SsDH RD7wLzJQ509v9Rj9sNt2rJNZPcsyQp9qsRbmRlInSzT3sekUwQvRC49DOdHSumEl+a3a XFCuT5dX/Ia6YmppxjXcws/FiRxy6SRU1+hTAlFBj4lEg/751D8YYN6PQXMVA/JYGJQc SyYIqUx+YCGwBKtZWtXtFY6eySi+erZ8w55kiza4fXf97eU0DpUYy5nqkhd9ciGYOnSx kOOIg28MOBLsx+uQF6AjNq0CFHycWctuN6Dih2IH0DY/V3G0oHb8xJkZ7EN7V8b30AA0 Pkrw== X-Gm-Message-State: AOJu0Yz1dx1NQ1Vj5rfmOJe+vCYLEQJtnBSzihTkw18yKyxKCR409Nye dyyLTMmO9tzYJ6Vv+s4VLuATASxcHfysBWRm5m4uzFLe+UzIMzOg5rjqOrYLpxhV5sMs4Yn1M4r T X-Gm-Gg: ASbGncvH+1T3QkdLhHq/JlqSSoLwI6Zcza90J172KqnJHJjSOV9mRHZ2aYloS1LcOo5 GmnjacTUh9CYxFMIuYVo1C8e5QLiUTu8KBdZl16431b+QK5biLsC2rTe8Bvg+HSJW0PrKYH/stq Bkx4xoCdaY+JqRrNW7r7nx8aPVihoQHdZSsUZe7JHVe6sXyDI/PWtRWGpNwSoMtvOo0sUlWck08 fgf6QcutD5fpQzxovsRTg638BQRk6U+ntbJ3c1taRPiT9Rvk7G6Jwunm3Dpy+j86tIEln/Mo+aV pYBo9FeKDYuL4ot7uQzj41jQ+jPAhr5Ae9Ki8RxwjOVw X-Received: by 2002:a17:903:2f47:b0:224:376:7a21 with SMTP id d9443c01a7336-22780e0969cmr15319855ad.42.1742509825033; Thu, 20 Mar 2025 15:30:25 -0700 (PDT) Received: from pc.. ([38.39.164.180]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22780f4581csm3370145ad.59.2025.03.20.15.30.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Mar 2025 15:30:24 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, qemu-arm@nongnu.org, Peter Maydell , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , Pierrick Bouvier Subject: [PATCH v2 12/30] accel/tcg: fix missing includes for TCG_GUEST_DEFAULT_MO Date: Thu, 20 Mar 2025 15:29:44 -0700 Message-Id: <20250320223002.2915728-13-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250320223002.2915728-1-pierrick.bouvier@linaro.org> References: <20250320223002.2915728-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x635.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_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 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 We prepare to remove cpu.h from cpu-all.h, which will transitively remove it from accel/tcg/tb-internal.h, and thus from most of tcg compilation units. Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- accel/tcg/internal-target.h | 1 + include/exec/poison.h | 1 + accel/tcg/translate-all.c | 1 + 3 files changed, 3 insertions(+) diff --git a/accel/tcg/internal-target.h b/accel/tcg/internal-target.h index c88f007ffb7..05abaeb8e0e 100644 --- a/accel/tcg/internal-target.h +++ b/accel/tcg/internal-target.h @@ -9,6 +9,7 @@ #ifndef ACCEL_TCG_INTERNAL_TARGET_H #define ACCEL_TCG_INTERNAL_TARGET_H +#include "cpu-param.h" #include "exec/exec-all.h" #include "exec/translation-block.h" #include "tb-internal.h" diff --git a/include/exec/poison.h b/include/exec/poison.h index a6ffe4577fd..964cbd5081c 100644 --- a/include/exec/poison.h +++ b/include/exec/poison.h @@ -37,6 +37,7 @@ #pragma GCC poison TARGET_NAME #pragma GCC poison TARGET_SUPPORTS_MTTCG #pragma GCC poison TARGET_BIG_ENDIAN +#pragma GCC poison TCG_GUEST_DEFAULT_MO #pragma GCC poison BSWAP_NEEDED #pragma GCC poison TARGET_LONG_BITS diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index bb161ae61ad..8b8d9bb9a4a 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -43,6 +43,7 @@ #include "system/ram_addr.h" #endif +#include "cpu-param.h" #include "exec/cputlb.h" #include "exec/page-protection.h" #include "exec/mmap-lock.h"