From patchwork Fri Jan 26 14:33:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 766355 Delivered-To: patch@linaro.org Received: by 2002:adf:a314:0:b0:337:62d3:c6d5 with SMTP id c20csp267024wrb; Fri, 26 Jan 2024 06:35:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEC1NK0JD1NrAfESkDQrFfTukR/8TC+GgKGjC8hP2aa8omo/6ctbe5QHEgf8QIz1RSL1A0/ X-Received: by 2002:a05:6808:2384:b0:3bd:e3b3:6c2a with SMTP id bp4-20020a056808238400b003bde3b36c2amr1366096oib.33.1706279740785; Fri, 26 Jan 2024 06:35:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706279740; cv=none; d=google.com; s=arc-20160816; b=qnypR3yMObroNXER438VwU0NqQIeeYYrYxyB5iXS5F6W4AYOfRYp8kGKVuyaUEwqM/ J4xEtoZzlgteFVt3s/PoueD+GDglhWWPPEjn4w1+Ims7Bj5PqdwXuaZsJP5XTT/pFZmt 7js2z8dtS+egBcxg5wPhm8LoSLe9z3Q9GAWASlTVTKNc5LUZ5l2hdXnqvntJZ99FxrpE QaJGtgOn5k22XRfHzf4RXEMCd917Hx+8X4HTGYAObG8vxi9tlLxiCetEaBKHOUaiEBhH eYszRqNACJtEaxOfVBFBhMqut4WnwV3Cf6ljFih8+trhh9c6OHUxz099ojcM1CQFmi2S J4+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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:to:from :dkim-signature; bh=SayjVZreUIIZvwgWfW2preOvFMoE7PMcRfYHzIZ+5wg=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=QbWPwVNGI2SV2Bg1mvh86afpg8Uf7KpcNSBn3fU2tcZnXDevrk5sDL2oKeTr/pe6Ft 13vyXfnviP0YQpZO8YCQ/Y5oZ8+JoMLm+umE0lfRZ8ZXO8Qo539pXJ3VHdG1JI6OL2n+ 8pbwLO95lkKKyTKYu8Aij5/Ry4BYsGL6Tw9YrX5XPwv0xdQ/1sbh1ge8MohF8e5NikuR /u5RYQBGToeWxm5VMTuSxIEx5AyfnoYiAYzrUGzmEXoeP5kkOphMxeQdQNnmsRSSOwEy WAP+5H/CAPGIfKTI0Ftvq6YC3tYgghW6M9WZT8+zbkK0fEdAbFa9ZhnTMCg8suD+d70J Cqgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AJ4+1TzM; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a14-20020ac85b8e000000b0042a089bb3b6si1377717qta.40.2024.01.26.06.35.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2024 06:35:40 -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=AJ4+1TzM; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTNHF-0002Hz-Eu; Fri, 26 Jan 2024 09:33:53 -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 1rTNHD-0002F8-22 for qemu-devel@nongnu.org; Fri, 26 Jan 2024 09:33:51 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTNHB-0007t7-De for qemu-devel@nongnu.org; Fri, 26 Jan 2024 09:33:50 -0500 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3394dc75eadso451919f8f.2 for ; Fri, 26 Jan 2024 06:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706279628; x=1706884428; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=SayjVZreUIIZvwgWfW2preOvFMoE7PMcRfYHzIZ+5wg=; b=AJ4+1TzMLsSYIAejsV+VIv9vMqf2ZvMb6Tz4ejpGJi29/RNJ4I67/oAMxFtx09C+eY oAYF6ODr/oDbEqnBI/6sz7q8mvGjTP9Xu40MKb3qgDpc5ECk9wEDQKNCvSRHKcRywS/6 tHEmKHLl8FwhNe7bpnsVCQ3NZu7yeN3Hb0sCx9D1mMkiNyB44oSHvNSkDYyFBuk0KoVz 4XgVH1m3U5CxHAAE1FCO8wILM022HVpacJkmd19nefPvt9vJRg42LDJyXV7yf6Q1sHXS ski9BWrNPSKymCsEqa8/f3Xk8/TJhdWITBqthv5XM8o/W60lMhCArUHwST1jtw67845w 34AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706279628; x=1706884428; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SayjVZreUIIZvwgWfW2preOvFMoE7PMcRfYHzIZ+5wg=; b=Y1ePOvkYK9VY9xyHFZfvpfVPQOPmLTqbv3fQIB1Jei50Zp7z0b4eEG6N/CeYc76AK0 BCLweqqxNW3U1QLZa2llTGDsgxFn7umLFKTM7pa2UNLMHFbal8NrxD+GwmKSZzpBSLja PiwOQDvVWOINpGDN+3cSK+IFquuRB3DxW5VbPla/4/lQtpkrF/xEc/6WHZgiOFfoAgFy 4DN+yr/xC65zbnubstK8y0sMVmTRABuzF59KDHgCViEJ8uPDUAVZvtjzBkzvCeiNhx6t NjmWITAAYXs6h+PI6mlGZnGR905O3VjZNmz6YXwHvPSB+Wzyo2okdWdEMfUIn4HAzqqo tyCA== X-Gm-Message-State: AOJu0Yy7ESb/MJLVf6/Qg/9A76Bolq9b+dyJCYect9Y5NpRSTa8wnLJl yF6LrDHFup/ly6CayE3TCcvSyXW2kBX0MHliHSxLBRLdSObeOTrn+48zWtLqH0esCZAKHVyBUAi j X-Received: by 2002:adf:a199:0:b0:337:cab8:b7e1 with SMTP id u25-20020adfa199000000b00337cab8b7e1mr1028565wru.81.1706279627975; Fri, 26 Jan 2024 06:33:47 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id n5-20020a5d4845000000b00337f722e5ccsm1396207wrs.65.2024.01.26.06.33.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 06:33:47 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 13/36] hw/arm/xlnx-versal: Include missing 'cpu.h' header Date: Fri, 26 Jan 2024 14:33:18 +0000 Message-Id: <20240126143341.2101237-14-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240126143341.2101237-1-peter.maydell@linaro.org> References: <20240126143341.2101237-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x431.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, T_SCC_BODY_TEXT_LINE=-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 From: Philippe Mathieu-Daudé include/hw/arm/xlnx-versal.h uses the ARMCPU structure which is defined in the "target/arm/cpu.h" header. Include it in order to avoid when refactoring unrelated headers: In file included from hw/arm/xlnx-versal-virt.c:20: include/hw/arm/xlnx-versal.h:62:23: error: array has incomplete element type 'ARMCPU' (aka 'struct ArchCPU') ARMCPU cpu[XLNX_VERSAL_NR_ACPUS]; ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20240118200643.29037-5-philmd@linaro.org Signed-off-by: Peter Maydell --- include/hw/arm/xlnx-versal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hw/arm/xlnx-versal.h b/include/hw/arm/xlnx-versal.h index b24fa64557f..025beb5532d 100644 --- a/include/hw/arm/xlnx-versal.h +++ b/include/hw/arm/xlnx-versal.h @@ -34,6 +34,7 @@ #include "hw/net/xlnx-versal-canfd.h" #include "hw/misc/xlnx-versal-cfu.h" #include "hw/misc/xlnx-versal-cframe-reg.h" +#include "target/arm/cpu.h" #define TYPE_XLNX_VERSAL "xlnx-versal" OBJECT_DECLARE_SIMPLE_TYPE(Versal, XLNX_VERSAL)