From patchwork Thu Jan 18 20:06:27 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: 763641 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a08:0:b0:337:62d3:c6d5 with SMTP id m8csp108910wrq; Thu, 18 Jan 2024 12:08:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzoXYZMMMTNNRY8Sa7+lb4acLFVGuqUxrc+CbsLfq2ljAyJrk8rUBT5rg3Pvepjpc0AohH X-Received: by 2002:a05:6214:20ab:b0:681:1197:e7b8 with SMTP id 11-20020a05621420ab00b006811197e7b8mr4028098qvd.40.1705608496207; Thu, 18 Jan 2024 12:08:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705608496; cv=none; d=google.com; s=arc-20160816; b=l7VL/bOf7laCJQPxFFc6hHAWwMVBoQBHnFSLpHZwhImZ3eyUkW4o1agu5AAhNg2tA/ rJfVJcztVkXRlm+h8fIfrwU/uZDdyFBBhQ+vfADHV0d1vJwsCSSkqimkwb9xfoMD7Mzs KJ2Ym9SplON8+YSuSAmBJbwphf2ujT8IT7qa8SZb+j+9UwsMI0/PwNf1JSyDitEE76wh lbExQEoLAlLzyd7EPRaWOek8zhZ57umLNrYnr2kGYrwIKzDMeFTT/D/R0Z1JRGXUs9jL +RItZOxs+pqU3kD20miCJk3TY5O9qlNTMpJKf4tRCdPhqpV0CWSBSUgjQDst3jG2DfPR sblQ== 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=nPG2WfDmNMhkMT4jWeTVRmIkZRsis0mgcrg/P3hE0Ws=; fh=cUgEM3TMHOIH70RmHTmTZxZmItZJnKfBWHSaci49aLY=; b=bIbX5prAoy6LBm6idOnDgi+zQjDhhJnXn71JyGiHcdRvoz2mPLhV/5CkEZy+FnD51Z pVhdo1sTR+SgmVNmZp1G53JW8ucQHZz/oHswQ4uX3DMi8bIzFH5HfyUUu1gblmSbsvph TIeTGOwGGTQhJMJVWxWXYi20tQKzWH/YfYrxBhpLqGVCOzLQy5oq/v+gCnM972EUb91j 6w6Kp68LJoW1eVVTMvPG6qerGMMFDYb6pI0Svq8TDJ1zP2br32CSXGj8QdFQ0TVBlcFy iNQaNy+dBSdlXjQ9S7eEs+8PgnxddhVoE3TVmRGNqjCxBy/kIxduE8+OjfJyS3oBZeA/ Fztg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hEnaDDvd; 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 b7-20020a0cc987000000b0068192585cf5si1862335qvk.557.2024.01.18.12.08.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2024 12:08:16 -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=hEnaDDvd; 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 1rQYfd-0003Xp-18; Thu, 18 Jan 2024 15:07:25 -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 1rQYfc-0003XO-2a for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:24 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQYfa-0006wb-Jv for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:23 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40e490c2115so7306985e9.0 for ; Thu, 18 Jan 2024 12:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705608441; x=1706213241; 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=nPG2WfDmNMhkMT4jWeTVRmIkZRsis0mgcrg/P3hE0Ws=; b=hEnaDDvdHGTpGHEZYsRf0J5Z98zWI3sf6Y2tzlcAouroY1MvEIvY/ORerlonQGRtDF rO7+yg7EH9svWDwnBcnhsZJdwX9C2SEpZE9ANmGPI9LlAciR6euSyZNyeYjcxNe5Fs1P AXYslfhviW55/rmN45pxs2RUhKqfpLdJVOBaJdcFL/zTj0W0IMbVNs8JcnlJFh8ued0d UIBhofu6cJI6DzABb6Ie9TBhrsjpKlBdBYWXrfUyyCdUp1F6ePUWdzL4PAzBdRKMlTKL s1uqqQ5dHssNvzOayum7trqRz1Q915rt2jcd1+/MGU6gB2lfqI49Ld0kjRhn312dJaZQ b3KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705608441; x=1706213241; 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=nPG2WfDmNMhkMT4jWeTVRmIkZRsis0mgcrg/P3hE0Ws=; b=OQ4FYro02U3ntkAq0U1W1rgxukVT13J4vsjPP3IJ2aLqUqy/1dv0KD5KgnW88geh/X 7c5csDApU6klfytwVaJMZDMJnaKBEnrl+iMyIAJU0Y1X36Azg14VcPFWbqdN89AyvfGN tdcxV4I77QxDiwrP0//v+wL1dUDP6vRvRdYby9TDZLMQwA7oB7Tefgb3FqUeIuqC089l cgDpKfKopwf2m8YC8pJ2D/Eu+Ag/EnWQGdTN5dIZZpO3lgoUITKlLTHRo/Y/Sx7DOr3C +nyEmbleNbbIj0S6r9aJfKDu6Vn8wsArlq5UqxJyCm/uP6DwqsHKes5klZWvhjBUK7RG /YAA== X-Gm-Message-State: AOJu0YzOqlf9mtzMWMoJP50bIS8yE5RI1hrVxQ8sACxsz7N3EJSqFEGC Jh4Z8Ej2HuzedJSY9zZSoseEtfXQkUfw4Snaa/il3bPP7tYfsCFjuqJiayHvY4q2Rls3W7/YHXv JGcmxLuEJ X-Received: by 2002:a7b:ce16:0:b0:40e:861a:c106 with SMTP id m22-20020a7bce16000000b0040e861ac106mr819142wmc.107.1705608441172; Thu, 18 Jan 2024 12:07:21 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id fc11-20020a05600c524b00b0040e86fbd772sm8045600wmb.38.2024.01.18.12.07.19 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Jan 2024 12:07:20 -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 06/20] target/arm/cpregs: Include missing 'hw/registerfields.h' header Date: Thu, 18 Jan 2024 21:06:27 +0100 Message-ID: <20240118200643.29037-7-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::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.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=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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org target/arm/cpregs.h uses the FIELD() macro defined in "hw/registerfields.h". Include it in order to avoid when refactoring unrelated headers: target/arm/cpregs.h:347:30: error: expected identifier FIELD(HFGRTR_EL2, AFSR0_EL1, 0, 1) ^ Signed-off-by: Philippe Mathieu-Daudé --- target/arm/cpregs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/arm/cpregs.h b/target/arm/cpregs.h index b6fdd0f3eb..ca2d6006ce 100644 --- a/target/arm/cpregs.h +++ b/target/arm/cpregs.h @@ -21,6 +21,8 @@ #ifndef TARGET_ARM_CPREGS_H #define TARGET_ARM_CPREGS_H +#include "hw/registerfields.h" + /* * ARMCPRegInfo type field bits: */