From patchwork Thu Jan 18 20:06:25 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: 763644 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a08:0:b0:337:62d3:c6d5 with SMTP id m8csp109120wrq; Thu, 18 Jan 2024 12:08:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7cckRzEzdVhGOB0PYUPt7w59ambXgP0TXtF7WlsxZT4v91ML3KGJ1FE7AxcWAjOHo52FR X-Received: by 2002:a05:622a:2cc:b0:429:f4c4:c5d7 with SMTP id a12-20020a05622a02cc00b00429f4c4c5d7mr1526919qtx.48.1705608526021; Thu, 18 Jan 2024 12:08:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705608526; cv=none; d=google.com; s=arc-20160816; b=J98G7FlF+lMe7vrWekVVJ0F5zn5Sp9V73u49sEkEmKfmHGXifCJObU87ish8p2fv9b N8h39ax264G8EM6wfbdxZbmZXOfJCoUFNWhc/sP/EuSXuiB6AUtUVQ7HCV8xLWYeJ+8p Gz2+d8q2iwCFp8AT7ITSxgwlTKnPiiLHRXwHRx8QACLR3hVd71vavb9vEyoKW5W+V/SJ y2ydTZss3x1YM8ruR5e+mdp1veduxJGT/0NGt6PzZTVx5gsjmx2Xd3MG9QsllD01+H36 WjNgg5NrchFnk4hxlv0u41XF5jLc/9jOTcRjgZ6/GOGz4Ny9iS1RDOw5F4LN8mjET9RH PM8w== 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:cc:to :from:dkim-signature; bh=eSJ61VYdXLhvSCoYWTAbZrzxB1wnfwdSWkLcd4JmNGA=; fh=cUgEM3TMHOIH70RmHTmTZxZmItZJnKfBWHSaci49aLY=; b=0lnfNKMnqvpykHh862SCrpt7kbJhaq+UlbCOgoRpjSqH1U5hzatJkZxoHFrmqjMO9G tq/7x33FflGES69CntgHNbYfDSmYhs6+DNLVQoVFtfOLsgkqRRsSWEgkdifUdtoY/mnd GburGUS9eYwj5ZyWjEECqJEpmAv/aYG+ovbs7pZPvZfXh6BN9EDVW+op+GFhRpeUUUf4 gga5bcyGZ3Ye56ZkOcz9RFxYHPvgapA+x8fsMjzSg+o+p3QfgOUwYxBmO9i1jpaJPgC+ aHdKG+wH4l7nU4+dt3Zox3iAvdo/tEJfvwV6qfD0rCH/WYtWk/UGLbbk9FkroGBlKsjw g1Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ODQWk/C5"; 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 j21-20020ac85f95000000b00429c7bb667csi14242739qta.51.2024.01.18.12.08.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2024 12:08:46 -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="ODQWk/C5"; 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 1rQYfT-0003VC-AL; Thu, 18 Jan 2024 15:07:15 -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 1rQYfR-0003UV-6Q for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:13 -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 1rQYfP-0006vY-KV for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:12 -0500 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-337bad75860so284f8f.1 for ; Thu, 18 Jan 2024 12:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705608430; x=1706213230; 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=eSJ61VYdXLhvSCoYWTAbZrzxB1wnfwdSWkLcd4JmNGA=; b=ODQWk/C5fSXcXkaoJvaHvOtINgfmIMlPFMcslQpgm3FfISu5GSgK7X0GdPc43iGgDv Ax2G5T0etfDm3Kj4flVB5aXDJexQ3nf8KK9Fw05qOgwv4RU4tpvanvHk1GJE1u8/Ntpe GS06qpEKauCOpKAo6ZUADJ+bx8Zco2c1BAAoZpTaRlKine09sGj/SpwDQzyb54Vje3PR MdOfGhwJ9neUJeSncrK9ckRKf6yyTKXD95qQp1YZEr+J8XO4VaFX2GXazqz5iB+NQPb5 kslHsU48+N53NmSJNEOnXABw8nMxgy13rG2YRuHOFCrn278pDXsn3oQ67RGWYRXkQYjK dS7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705608430; x=1706213230; 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=eSJ61VYdXLhvSCoYWTAbZrzxB1wnfwdSWkLcd4JmNGA=; b=Udiwwm+1BwiuQ9ak+F0nL5v+MVWiSSyRU+XLiIysgpKg4GJyhiyo7kbW/dM46/edjR wxLFkOx7z9boQSVe8Zf4uqs8eZ9dL1IC1nbG9dVOYKmXIOGQt1Nkt8xDFMYxTk5HnE8X qnyqFghGM3X+U7Vjle1OBSSwhFRleeg1DXjF9HaJFnDNfdVotR8jRHK6MZ/6PmiwwF3W ccIYxuwyh3RVNkgBaYz9xSOCkmQS9LIBEtnk4S7no+uXR9mcJGStyuzQ9pF+SfYSxWfK s4NkChWTwBBpsBxZP06kDY6qJUwbx9y/Zjv+3Mh+HUlfdMw8ghb6oXb4FGyACUTgYUki Cudw== X-Gm-Message-State: AOJu0YzKVGM6NfG81Z/Ax7I2nWbE3Mi4DQN6eTzyMk5T+MwtwECjojZW HzLe+qkfrMQxOhnJIa8D7l6m+PTtkYXtcJjypNzHhkaNxjTvHBvOHk4PLcZp3cclXdhFY5KqJUt chfxExDNK X-Received: by 2002:a5d:6c6e:0:b0:336:c3c7:75e8 with SMTP id r14-20020a5d6c6e000000b00336c3c775e8mr1223627wrz.45.1705608429954; Thu, 18 Jan 2024 12:07:09 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id q10-20020adf9dca000000b0033342338a24sm4766596wre.6.2024.01.18.12.07.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Jan 2024 12:07:09 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Igor Mitsyanko , qemu-arm@nongnu.org, Strahinja Jankovic , "Edgar E. Iglesias" , Igor Mammedov , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Eric Auger , Niek Linnenbank , "Michael S. Tsirkin" , Jan Kiszka , Marcin Juszkiewicz , Alistair Francis , Radoslaw Biernacki , Andrew Jeffery , Andrey Smirnov , Rob Herring , Shannon Zhao , Tyrone Ting , Beniamino Galvani , Alexander Graf , Leif Lindholm , Ani Sinha , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell , Paolo Bonzini , Jean-Christophe Dubois , Joel Stanley , Hao Wu , kvm@vger.kernel.org Subject: [PATCH 04/20] hw/arm/xlnx-versal: Include missing 'cpu.h' header Date: Thu, 18 Jan 2024 21:06:25 +0100 Message-ID: <20240118200643.29037-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240118200643.29037-1-philmd@linaro.org> References: <20240118200643.29037-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=philmd@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 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é --- 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 b24fa64557..025beb5532 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)