Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10625250pxu; Wed, 30 Dec 2020 07:21:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDPDWsu2FGiMVGNIpAA+wDbrAzDzK8w+emj9dqVNn5QmRPQRtCypGRKToBGCU4u+D/RH/Y X-Received: by 2002:a05:6402:1a30:: with SMTP id be16mr51754762edb.124.1609341700546; Wed, 30 Dec 2020 07:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609341700; cv=none; d=google.com; s=arc-20160816; b=LbQpqVnq2OdoU7iN4YpB7Wf0wedGgL/N+CcY2kpXCpbOBTWMGpg7cjmO4HrnwGk4Mq zwW5lzfoaT7jiv8gVvmNvBoIadpXPpyiQGHRSDWMTHTUdT6xSC/rXGIP7HNKZ/QoWm8j MCTBcp4QHKYotwF6SqUPpsgobkTTcTXrJeXC2rnpcvjtZeqRLCQ3QFOzDm4k4lSh2Yr0 kKhm5jhoTc1wIb04Ym/KcnrXjQi83NqU7akMoY3QtcOdq3M5nOiGWIKr54Q5bwro9v9c mSkYGjb56G2VYDKTmuQUSISWNdQHAfey+Uf22KkxjX8JiLSCyGSZW0QgOZQU4CGfGkrn NtAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=10+PAPzxr8xRaxpVWo5ONLj1GaE2IdoqdenbR0Dfgpc=; b=H2aA1qZH5WeYIWqeB+VeiGVsicUkslLLLS17+zJtajv398SgQKsakdTCVJE9mSvgKV NmZu1tlci8J/fVCfqac5wRCRDwGXHzC4l7WfZEnQ4XRflg3UGlXnhx9r5B+4ym30u5P1 aa94E4RYz8yHdfnUP2KFMzTBtBR/Viqq0Ts6PdwnrPMzpYcvbI1mm+m/gZBeJflMJvg6 XU2HkJ6+iXOQeRftLoY1AIzg5dGPN66EztUEGm7f9xGGQa7k5FOtnYtBBX46D7SfxVCP xXYHyL0To7oDAN/HRWqwjKoCNnETgtCTX7MTIEjRJ0g24Qdf7Lpkxx8WUZoUivzKN649 sqTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ulxhLOPc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si23466107eds.239.2020.12.30.07.21.17; Wed, 30 Dec 2020 07:21:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ulxhLOPc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726567AbgL3PSu (ORCPT + 99 others); Wed, 30 Dec 2020 10:18:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:41504 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726558AbgL3PSu (ORCPT ); Wed, 30 Dec 2020 10:18:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5985120773; Wed, 30 Dec 2020 15:18:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609341489; bh=iUEidfuhIDpSjXj991cAIXmCEpGL0FL7QOA0p5DLXjs=; h=From:To:Cc:Subject:Date:From; b=ulxhLOPcqTOxnJ1rihdlb61hHTawrBF+xmqrBQXF7ctm7g0vYui3djsr7BvV8Ic97 OWqJQi3CouXnp3fcFf3f2+cCsIP004sd8zMMfRxJgNn+j9+5/5lME7BZx80z5dIjq6 Bmvt0ANDFB4NXUZxKfcVkvDKT94RiMdxrvx+Fggfxzv9mvBN9p8zSBpvqTcHP4j92k yYqn1W7x2/m6mIMWERrcz74sAN1FoBlfyGbd819xFgJvjNc6TStzf0Apk2eABWRU7b AC3nhwuNP/BV6XI4nWhHIFhjBgVbawyvcbz/+zusHv91JJqJigzSTN3F2Ld8niXxYk IRdc5IfSsE+Yw== From: Arnd Bergmann To: Shawn Guo , Sascha Hauer , Peng Fan , Leonard Crestez Cc: arm@kernel.org, Arnd Bergmann , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Anson Huang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: imx: fix imx8m dependencies Date: Wed, 30 Dec 2020 16:17:51 +0100 Message-Id: <20201230151804.3862447-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Selecting ARM_GIC_V3 on non-CP15 processors leads to build failures like arch/arm/include/asm/arch_gicv3.h: In function 'write_ICC_AP1R3_EL1': arch/arm/include/asm/arch_gicv3.h:36:40: error: 'c12' undeclared (first use in this function) 36 | #define __ICC_AP1Rx(x) __ACCESS_CP15(c12, 0, c9, x) | ^~~ Add a dependency to only enable the gic driver when building for at an ARMv7 target, which is the closes approximation to the ARMv8 processor that is actually in this chip. Fixes: fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver") Signed-off-by: Arnd Bergmann --- drivers/soc/imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index a9370f4aacca..05812f8ae734 100644 --- a/drivers/soc/imx/Kconfig +++ b/drivers/soc/imx/Kconfig @@ -13,7 +13,7 @@ config SOC_IMX8M depends on ARCH_MXC || COMPILE_TEST default ARCH_MXC && ARM64 select SOC_BUS - select ARM_GIC_V3 if ARCH_MXC + select ARM_GIC_V3 if ARCH_MXC && ARCH_MULTI_V7 help If you say yes here you get support for the NXP i.MX8M family support, it will provide the SoC info like SoC family, -- 2.29.2