From patchwork Thu Jan 18 20:06:28 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: 763642 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a08:0:b0:337:62d3:c6d5 with SMTP id m8csp108948wrq; Thu, 18 Jan 2024 12:08:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPhCjV4EPlk/cGEvHqBYKH64FJnrutkxGR3kYo7HCkm99mUkkCQByRkA4ao+BhuGOJb9mh X-Received: by 2002:a92:730c:0:b0:361:96c3:2f56 with SMTP id o12-20020a92730c000000b0036196c32f56mr1157273ilc.65.1705608501591; Thu, 18 Jan 2024 12:08:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705608501; cv=none; d=google.com; s=arc-20160816; b=Z1vB2eltBcDT9J7KwzmWPCOxiIBUkAltCweKXib2yM3U1S6YV3MlxkL2vqCsonMNzi lr7CTcgR9Z3u5AowhmhMrpxpyKuqjQUlK3z/Rvgpkwa6h6EE7mKxeX7/XeZVwE96xh/X 62Ocyw0msZhMWNIK4zKdIfeF0Eui/q5UGLY3M24LwwpSqrqix8ORbOdJCtzZde6E6Ve3 O1Por6bYrr8sP1qBprEuydc3k51aRFkAB56QIHzABJu0dJY/VaYGzXGhLoB7umGrpCQ8 KIhFyi71ZEY2eyv/Dm7KFl1BcMhm9X4OOPLSX5IojekuIgwiKXvYyL5yUI+bHV1v8sK/ ofTQ== 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=LrKc6a2ST12i1A3LtQl32z7hhWzowcoULUtetVq5wyM=; fh=cUgEM3TMHOIH70RmHTmTZxZmItZJnKfBWHSaci49aLY=; b=f//JjC1ng2SdZJFJcnhXlTW7d9EF5eWxhoK5zoPkG68FXLmYxBGb3IrCiCXJCCttsz xsQM1ugSbGYnw9lrysDCZQDkOMQ11A1CaCs7UO0xHo9PwyC42VPeQRugJ55MfPHHDHKe Ci7yBs0tpav/0IBwDMhY3NdT3xj0LhqNEEEMKEqHkA4ThuZJ1HgmOS9wkv0cc5Im0ZNE wWhiClF6hf5NKDSnBBPerl9mK3YrthwkuLDhVsjQaUMdbjFi/Z//aVuSVikF+a/qGZOR 1hs3L2vcMTF+MDEXeNlIpkxl5avC9PfR0SqNwA+dv6LbxCcQH0JiLNbmqvmIvNwsCWk9 EZCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kG7OiRvl; 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 10-20020a056122168a00b004b7414eba5bsi2060971vkl.286.2024.01.18.12.08.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2024 12:08:21 -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=kG7OiRvl; 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 1rQYfk-0003ZS-KB; Thu, 18 Jan 2024 15:07:32 -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 1rQYfi-0003Yw-Sr for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:30 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQYfg-0006xG-BJ for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:29 -0500 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-337be1326e3so3012665f8f.2 for ; Thu, 18 Jan 2024 12:07:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705608446; x=1706213246; 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=LrKc6a2ST12i1A3LtQl32z7hhWzowcoULUtetVq5wyM=; b=kG7OiRvl7VBmUmFaKShTNnLiNGSmJfmns6JOxTewQv6o0M+IBWba0/TdNGFKh/Wmp6 hRKHEQS1o9PgM5UdLIRRjJyuDAVjXfkTFJyQxD2sZGn3A0CfNpowq+YNP1zSss48SzPr mv8pa/ATXWs/5yMUWa23PCljbCedVgt2p6Bu3yYJtAXhL6NAPbaj98r9UNP1zbnX76J1 kF8wHybtM07Xwm1TTO4ZbBTPlohlyzonUciTdvsd1mSm+s0kShOCkqu3n36qMhmRlL8+ 7l1yvBJMw26b8KyXl4Cf5Fk1uRxeKf/JyyhuX7lib7QRUslzBwb5lz+Ebhs1cSqHIJxj CZ5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705608446; x=1706213246; 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=LrKc6a2ST12i1A3LtQl32z7hhWzowcoULUtetVq5wyM=; b=M88HXBM/skdoS293kmV4hfvfFZh+bM2fZY1rEALu0ZFLK5XZwRP09mD8GLeYsvUSQk phm+5ZZ9wlZAwFWz3Hqgqb1LYDKYjvAFB/lnPSqiks6fhkKvEFdqdouB+F5SaARqTy6T vNu14yjA+uxUh6Lf3ESAyRg0VIeNxCXfkAfQI/bJKE/fox6Lkpv9KrDHCnbHexUzqfE4 21DzzGvOyqZzF1hAtiXmIT/fQNTjU5k+Ypj/IWr8SvVIDKmb0gRY6sghklYsTkOJDXLT bZyb7jSQtsCxy1ZNrmXHHkCVvNf6lLtOsmgzuEkjNj5TeKUv3meNN7Fg5l9whfEurno8 R6Lw== X-Gm-Message-State: AOJu0YxiADVEnoqz+r/xkBikzAbCX1TjZHD16EwBFnwUMMkYpLlwy2gx CISWVe52ViemFsKU25fM63G9xqi52bevp9QNUMRRpwTaa52+dPWw7fRBSLKH3KvWau+xY0EL76x xKb4W7+oW X-Received: by 2002:a1c:7511:0:b0:40e:8f4c:9fd6 with SMTP id o17-20020a1c7511000000b0040e8f4c9fd6mr1045616wmc.137.1705608446722; Thu, 18 Jan 2024 12:07:26 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id t18-20020a05600c199200b0040e5951f199sm26612681wmq.34.2024.01.18.12.07.25 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Jan 2024 12:07:26 -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 07/20] target/arm/cpregs: Include missing 'kvm-consts.h' header Date: Thu, 18 Jan 2024 21:06:28 +0100 Message-ID: <20240118200643.29037-8-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::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.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 CP_REG_ARCH_* definitions from "target/arm/kvm-consts.h". Include it in order to avoid when refactoring unrelated headers: target/arm/cpregs.h:191:18: error: use of undeclared identifier 'CP_REG_ARCH_MASK' if ((kvmid & CP_REG_ARCH_MASK) == CP_REG_ARM64) { ^ Signed-off-by: Philippe Mathieu-Daudé --- target/arm/cpregs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/target/arm/cpregs.h b/target/arm/cpregs.h index ca2d6006ce..cc7c54378f 100644 --- a/target/arm/cpregs.h +++ b/target/arm/cpregs.h @@ -22,6 +22,7 @@ #define TARGET_ARM_CPREGS_H #include "hw/registerfields.h" +#include "target/arm/kvm-consts.h" /* * ARMCPRegInfo type field bits: