From patchwork Fri Oct 19 14:23:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 149286 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3374417lji; Fri, 19 Oct 2018 07:26:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV61IyJjK/vcIjy/2jkucBId9Tu011lfPyc3ZYFWrRZb+7A+FlRbXBycjDqwMkxgCrwcs2UG6 X-Received: by 2002:a25:7ec5:: with SMTP id z188-v6mr22636181ybc.250.1539959199029; Fri, 19 Oct 2018 07:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539959199; cv=none; d=google.com; s=arc-20160816; b=KBzy1TWWTsqYXwwBVoFvhy6jYflP2Y2J0KW1ZkM/khWMQPueU1faXpYXt5mCcQ3I4c PAeVYQixkvrCM96uqs5DL6Jgb1qcxPJm5dOuqxXwJ8hgWvWjv4PR9FXxwEIiQVs73RKZ GPaddLiGqJ+DObjh44Uu6m46h0y2/9hGUltNXLEUI3zHwOQR2wf9N7LQGb9PzSzwyXjw xYx8Ti59tynk2AfNtbH8liKs6/GxJG1D8RM5Yd5GMIBbTp6e79fMpMRPVsmxCZfAE7sH px7OHBPNLD5Irvyigdd+G0eda+md6u5HTWImW3d3gNYqqRtFqLomVzzxIQc245pDNJ2s ETPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:message-id:date:to:from; bh=BSPMeK74csqVN98Xqpi292Xa6Az3IyqAdNcvqxjIwFQ=; b=ESNflTk2rBoEruHOVnHWteTxdsC1iAVTP8lSZG0r0bLtVb3Orhva5/899TKwyAKFvM AvTlS4aJWdMW2UxLu1lDhtJ9MSoA4PJQ/q5TJzy5/vvXAVyJCqZUXDxLB3RXeRtdJHE4 Y4DgXhroSWFzsoCKyTqGWZ8Bd9MDOFDhE63WCZoYWZ5OWqtrdQu+37idsTeAG42f4QrE ZEF2v3+M97pPj2VYR/A1zn+MCrSRSkxkBdR8/94sqFhZ2DKGT7WdRQZeUN9R742Yg2q9 XQ4t2lZXRxiteCrazBKzrz/ddmHlN4lAfcm9+uqtF1kdos0XNbArXN/JYVHJCEovxUef tBbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id y132-v6si4915073yby.211.2018.10.19.07.26.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Oct 2018 07:26:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1gDVh8-0002Le-Fg; Fri, 19 Oct 2018 14:24:06 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1gDVh7-0002LY-65 for xen-devel@lists.xen.org; Fri, 19 Oct 2018 14:24:05 +0000 X-Inumbo-ID: d3ab55c8-d3aa-11e8-a6a9-d7ebe60f679a Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas1.inumbo.com (Halon) with ESMTP id d3ab55c8-d3aa-11e8-a6a9-d7ebe60f679a; Fri, 19 Oct 2018 14:25:28 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CF463A78; Fri, 19 Oct 2018 07:24:01 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DFB313F59C; Fri, 19 Oct 2018 07:24:00 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 19 Oct 2018 15:23:55 +0100 Message-Id: <20181019142355.10352-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH] xen/arm: Don't build GICv3 with the new vGIC X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Julien Grall , sstabellini@kernel.org, andre.przywara@linaro.org MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Commit 54ec59f6b0 "xen/arm: vgic-v3: Don't create empty re-distributor regions" breaks compilation when using the new vGIC. This is because the field nr_regions is not existing in the vgic structure. For simplicity, as vGICv3 is not yet imported, disable GICv3. Reported-by: Andrew Cooper Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- xen/arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig index c0e969e45a..581de67b6b 100644 --- a/xen/arch/arm/Kconfig +++ b/xen/arch/arm/Kconfig @@ -40,7 +40,7 @@ config ACPI config GICV3 bool "GICv3 driver" - depends on ARM_64 + depends on ARM_64 && !NEW_VGIC default y ---help---