From patchwork Thu Nov 14 01:12:46 2024 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: 843095 Delivered-To: patch@linaro.org Received: by 2002:adf:9bcc:0:b0:382:184f:390f with SMTP id e12csp48349wrc; Wed, 13 Nov 2024 17:14:44 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXL5lxlT0fWzr8NFZJUyACTniLspgTnLwPA9m9yS94jmJqR3q3LzyRC7r1sXxv1ujzIspnvjA==@linaro.org X-Google-Smtp-Source: AGHT+IHOL6mhrVpdI9LG2P+lunSrFWAeiV5bRNQk/sUI56h8KMaoQaqxbByouL4ommHnqvrxcZgQ X-Received: by 2002:a05:6214:2f03:b0:6d3:5af5:2a58 with SMTP id 6a1803df08f44-6d3dd073e33mr65072366d6.33.1731546884162; Wed, 13 Nov 2024 17:14:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731546884; cv=none; d=google.com; s=arc-20240605; b=dJb8bhRj7ugV4I8NidhTL4C79o+/ufdenBnIryMCCpuGdCbVgCM1jSqOGQR+kd/HqC bLeb9FCBo2DhwnOwh6mhLs36Q1OoJHWbime8esFMaAAwiukJR3spmoSEx1VqSQ0qNC83 sWyNvhCUrlgjsU0Dpzn7w2zKyGCoLnc0zmxexNWRgTna98PZjLZoX70ktLZjc40sz/Gw TbhlfTfIEgQjx/Wt2/ZOGdfFZQyai4Us5lbvCoYZ2rx2J8+oDiHpInVW49gn2Kkz3GRK +uYObPsiQyOFlJf74ENZFrIZmG6J7c7XuPuT9HBWzQZ06fZOdE+mvEFxFIzSHwFHJcLw RnCQ== 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=JNM7lQQia63slkmiUAhjBzskGFuKTSllmSkbwj/sT+I=; fh=gZbBq3VEFp5fyVpGCD+V/cXWwbQVY4YGaCOu3i3okb4=; b=Lj6LR5HgtILhpaGB98jqoM6ZiXPf2uhAv3SouSNTLzGarB6cYDasXn0pVGcQaa9JWe joUGr/dm9EEsBCrBt5OfVwKFVYgzwMh0/zHMDJrkz0Jl6INNosHq9D15UN6WdM00O+j2 1Ba/T1pJxZkOEcJ9izyOCKUIkI1smJOaNXm131btm4ZiToEUrRlctyVHGFyyu/Y3+8Vj 4Vln5JQyO/SOXDH1FCEXq246b3KRXsZVcRv0F02zvOkyG4bnysE1gnTpcvZKSxnVNgDo fvWYBCireb1RW2ApLjg5UUNFq6XAObUAEHZFi0UAscDSvq1ZtqTkbaRE+UBYzKfZGzbt XAJA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R78ImOcx; 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-6d3eea0d08esi203146d6.555.2024.11.13.17.14.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Nov 2024 17:14:44 -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=R78ImOcx; 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 1tBOQY-0007Rv-Ka; Wed, 13 Nov 2024 20:13:42 -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 1tBOQX-0007Rc-52 for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:13:41 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBOQV-0001uj-FO for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:13:40 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4315f24a6bbso941275e9.1 for ; Wed, 13 Nov 2024 17:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731546817; x=1732151617; 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=JNM7lQQia63slkmiUAhjBzskGFuKTSllmSkbwj/sT+I=; b=R78ImOcxcigsPnj6v0IY4brbqmrynaGc4Vf3YMpmTC+8u6I+XVwkaC5V5HU9wq1j6N goBCzBJg4oN1dAQo/d+KSIpURFerbcT3eAwPWhWqCQfGVCelG8gAbkunvyrVFI2mjc0E M1KIfitx4Av34iSv4n9Xs3hYpeikWTeqJb6Y+mekef2UiBp/fgAVTkQn7V9zEsbG/GoD ZFGib+twNQF2dstgc1yaWTnBg6MrHROzymF0/j0OyuvrDnYuBK1OEseML1S57NDyNII2 7yMy0cfKGoE7m16FlklNkPW5gjLPkQbbTHA0nh5sxBtF0dAPBakbLifOxRqFhaFsT7y4 pVpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731546817; x=1732151617; 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=JNM7lQQia63slkmiUAhjBzskGFuKTSllmSkbwj/sT+I=; b=FTCPZ9S9GrkGLONaNcZy7nyRWTphR6naDpBR9ewecr/7wQhE1taM64U6hDEAvXLZ13 JE0dy/VXQgI6PrGb43sAkd1r0MbVtoq4XBWE/gIs5DW4htBcW6s8/rhUS4SfprKVZMkt HBVazDAw5d/41LW8axBATg38Ek3BZbRO2emswqu2CyMj2YhkTZnf2X2YyUMUZeKq3xsB fasJoRyBzinIWgDaLoDec5BPiodjutnXi3//auISnwUbmlg5Z9fp2djEa8YJAhehgxID qwdplZGQdFjp30XjCTaVOpODzpuY/XJ/42JYRBOOxacyEDmermxYxDnWhEO6vzFo/oSU bxng== X-Forwarded-Encrypted: i=1; AJvYcCViDxfeUmYrfEFXslDOP9LqI59OAMzt1pHzQPQgzgTxVn1g+7Qdxhm6pwssK2EAI6jGsWmNlBIwpKak@nongnu.org X-Gm-Message-State: AOJu0YzlOVqW4KQnoJMW0/oESdSBeAXsKmcCKvA6YX9/Bnk5o+t8cAwT kOJD3FE9z21/89iG5LjGe4dUP+r1lMr6BuNC7Qs2MqVKON50gbHzJXvga4logcA= X-Received: by 2002:a05:6000:1f8c:b0:37d:4a80:c395 with SMTP id ffacd0b85a97d-381f186b313mr17332647f8f.21.1731546817266; Wed, 13 Nov 2024 17:13:37 -0800 (PST) Received: from localhost.localdomain ([176.187.209.238]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381eda05f89sm19611165f8f.98.2024.11.13.17.13.33 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 13 Nov 2024 17:13:35 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Paolo Bonzini , Richard Henderson , Anton Johansson , qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Thomas Huth , qemu-arm@nongnu.org, Peter Xu , Pierrick Bouvier , qemu-riscv@nongnu.org, David Hildenbrand , Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-s390x@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 01/24] exec/cpu-all: Include missing 'exec/cpu-defs.h' header Date: Thu, 14 Nov 2024 02:12:46 +0100 Message-ID: <20241114011310.3615-2-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241114011310.3615-1-philmd@linaro.org> References: <20241114011310.3615-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.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 TARGET_PAGE_BITS is defined in "exec/cpu-defs.h". Include it in order to avoid when refactoring: In file included from ../../system/watchpoint.c:23: include/exec/cpu-all.h:356:19: error: use of undeclared identifier 'TARGET_PAGE_BITS' 356 | QEMU_BUILD_BUG_ON(TLB_FLAGS_MASK & TLB_SLOW_FLAGS_MASK); | ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- include/exec/cpu-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index 45e6676938..1c40e27672 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -136,7 +136,7 @@ static inline void stl_phys_notdirty(AddressSpace *as, hwaddr addr, uint32_t val #endif /* page related stuff */ - +#include "exec/cpu-defs.h" #ifdef TARGET_PAGE_BITS_VARY # include "exec/page-vary.h" extern const TargetPageBits target_page;