From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7F56C433DB for ; Wed, 30 Dec 2020 15:19:46 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 633C5207A6 for ; Wed, 30 Dec 2020 15:19:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 633C5207A6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=72j+W9z3jve4HqLi6GpS+BfJEDZztUEZoRKSqgGqRj8=; b=Rsdd3nsSew9ZS+xXxze3eN/5zd tlQsXbPhh09u+lXd9Q3UkjFRoFc4kjIEn/z827FW07yFfbJBXSppHicFgOr9YJnxcALh0Lx4wr2z+ IGm6vnQ81F/lgCEBTdtsybVK4V6vMOZ8NlF8e/iytkEW5/mQasnh5S/QvUjuI8jbvLAoYNoe7msn3 bXqDmLXdcm5+z2rZgPcDum7lYyU1vUmfWiglYEcsV1RPg5kP2U2bm8Bt4QXXcHW2f5xAHvu6SVuR7 62ea7Nc4ZqCZt5vHDhp21T8qwTbhgs+9vhh2Fr2jTYrVXh8Nb1YPPSy00qKyM2m/85O+nWJhlRJLT F20OxigA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kudEs-00024G-31; Wed, 30 Dec 2020 15:18:14 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kudEp-00023f-Jw for linux-arm-kernel@lists.infradead.org; Wed, 30 Dec 2020 15:18:12 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201230_101811_738167_CEBA7444 X-CRM114-Status: GOOD ( 14.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Anson Huang , linux-kernel@vger.kernel.org, arm@kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel