From nobody Sat Feb 7 06:59:15 2026 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=1743632679; cv=none; d=zohomail.com; s=zohoarc; b=XgW0qOSp0wsG1NqFHrdirqiggPade4CSz4NksOKdWq6InVK0tMBPhAKZmg1+rcY6dZY5JdwZHCalBOfLSbwD7ZyfoJoon5eQX2dJ85nFqisV9UHEOHHP5qc/Hq6o7UGTQdvzwZZcZNT1flb3IEzLspxRPX6XyVfSpX9YO2OmNDA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1743632679; 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=yBN+/AU+C8lcLjoSEIUWiNE5OcwuaZEeoY9tnHiYWlE=; b=JiTK6pOZmB5dkIv9hmlWbuWcC8/Z3mu5VvhmLYiKVVWvxooLWw5j7tKw+/qvF9tr7+6UXKPAyWA8QQQ5iKyJ7B8abULPtlA9p7ACHxkLtdmf9uu8OQg7w4D1Tp1IcYCMllFFA6TiE6/WqLAgXwXoq/+TJ7amL726l989IvGqVRo= 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 1743632679251413.3614124175084; Wed, 2 Apr 2025 15:24:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u06Uu-0004cY-37; Wed, 02 Apr 2025 18:23: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 1u06Us-0004bl-HR for qemu-devel@nongnu.org; Wed, 02 Apr 2025 18:23:46 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u06Uq-0002MG-4p for qemu-devel@nongnu.org; Wed, 02 Apr 2025 18:23:46 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-39149bccb69so252526f8f.2 for ; Wed, 02 Apr 2025 15:23:43 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39c30226cf6sm38142f8f.87.2025.04.02.15.23.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 02 Apr 2025 15:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743632622; x=1744237422; 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=yBN+/AU+C8lcLjoSEIUWiNE5OcwuaZEeoY9tnHiYWlE=; b=Z5yj+F/hxZ3uL/cF7VEvlYGa5xtPFCjCKhrVfou0p7J0o//M1kCjTbYciEN4WDZK2+ IFM6t16hFBtC+cY3ZkRE9pUdyqq/HGY2V1nCTdbkUnqoLJVT7VyHokKvYIkpX1JE83Kw epwi1m+01ttfxcH7PHoRHoqOwGqxzVrTV64nwKRcazw5H+dRsdjso+XqXDlVPTJivPql 9+tITSgbsk7i58BxbrSmbGP6tCOgKauO8hNCk7T2ttFArnLcPz2MI1lDVGTFvuMqazoU 0ZPmyPXOL7Lmf91lqBpkyNwr5GsCrmhfS+OOywlJZ+6JMamet39j+j8/pPGvXOCZTc8n lXPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743632622; x=1744237422; 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=yBN+/AU+C8lcLjoSEIUWiNE5OcwuaZEeoY9tnHiYWlE=; b=XZI066lfUaWbo2HqA11iroJrZiEYn67IIwsQfmACa5betRePq3uGP2m/DlUx7vcoZo C1yNL73mdCL4N1NzJUCjutFDnw2thdsgMQUNNwEUFvT8505FCVnPTEpO2PfCprWcNQpI gJMnRx4YnWPRpoP8bQD5BC5SXdKWg6sLhV0fFXrqSJRQA/hEeGaI08dwHRdkthgRgCH8 aOVeOMxqhYij9IVs682uA74t7z3OCcgbLXnzvV/ghsTbOrOA4x452HcUbSnCpfCJSsGZ 4hb4BW12ZaWHDg3c2g5HeHoHWOYjgMb6QuYOs5XeaFQDFDVR/fzsCdw4ameb3FiB38Ty X/yw== X-Gm-Message-State: AOJu0YzQ1TfvttjsmiQtGcOCR3xYqU9OFN5hVh3jUYPerm3Nb9A1Eg+V QbOFVwKAN8+W+MvIqRaGQGOQ0zgx4orHd3X2uoPW0KHHK4fYaqEShDvDx2O4/BSewi/prUagNfU T X-Gm-Gg: ASbGnctlVw7M7c769YoxYBEscqu7Nxyjd4EIZa52VPLcTrpDZw3gljXlvatLVNkH9vi IWOlOKFngWMvheuOt1GA/uyxri/7epqYPXDRKQVJ9JMVzmeLrPbuQP9qa33GNYv2bxHmqJOkjkL M8z84ONHpe5bIBW8y9jej+x+DnOBoFwUnwBdMsqXI2u9xSDVn+etbLW80ZWEDOwN7csnrXSuLDw 3sVjNso5B02sEtZBtOK9JWDDw7l7QbHduCU6RpiHLN6FpNSt8KYcCXCD4eELGBE7p1CBvSA51zC S/RrN2PEK3u97Z0fc7VrFvKkm0fJi4RcPhrfJ69S/VaZaUC1GlAgxlLusR9ZiU1ftb7fccqoCrc 5qLWOCK+yTeFi3h65uU8= X-Google-Smtp-Source: AGHT+IEqgae2JBqukAJGDwEF3FSdjPaaXHH3wuALxpsmlCOx3ZciS1IRkfbliTL8lfHJ+FnHsGNELg== X-Received: by 2002:a05:6000:430b:b0:38f:4d20:4a17 with SMTP id ffacd0b85a97d-39c29752af5mr4072831f8f.13.1743632621975; Wed, 02 Apr 2025 15:23:41 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Pierrick Bouvier , Peter Maydell , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH-for-10.1 01/13] target/arm/cpu-features: Include missing 'cpu.h' header Date: Thu, 3 Apr 2025 00:23:21 +0200 Message-ID: <20250402222334.66511-2-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250402222334.66511-1-philmd@linaro.org> References: <20250402222334.66511-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::434; envelope-from=philmd@linaro.org; helo=mail-wr1-x434.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=unavailable 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: 1743632682257019100 "target/arm/cpu-features.h" dereferences the ARMISARegisters structure, which is defined in "cpu.h". Include the latter to avoid when refactoring unrelated headers: In file included from target/arm/internals.h:33: target/arm/cpu-features.h:45:54: error: unknown type name 'ARMISARegister= s' 45 | static inline bool isar_feature_aa32_thumb_div(const ARMISARegist= ers *id) | ^ target/arm/cpu-features.h:47:12: error: use of undeclared identifier 'R_I= D_ISAR0_DIVIDE_SHIFT' 47 | return FIELD_EX32(id->id_isar0, ID_ISAR0, DIVIDE) !=3D 0; | ^ Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/arm/cpu-features.h | 1 + 1 file changed, 1 insertion(+) diff --git a/target/arm/cpu-features.h b/target/arm/cpu-features.h index 525e4cee12f..4452e7c21e3 100644 --- a/target/arm/cpu-features.h +++ b/target/arm/cpu-features.h @@ -22,6 +22,7 @@ =20 #include "hw/registerfields.h" #include "qemu/host-utils.h" +#include "cpu.h" =20 /* * Naming convention for isar_feature functions: --=20 2.47.1