Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp725664pxb; Tue, 2 Feb 2021 16:48:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzGIfRPm6GlfX5l42+3H+RMsE+SVWv4ciTAXIDm/EMObbH4We2eXR8msSFdH1wo9zZfQaXV X-Received: by 2002:a05:6402:b6f:: with SMTP id cb15mr611598edb.277.1612313339374; Tue, 02 Feb 2021 16:48:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313339; cv=none; d=google.com; s=arc-20160816; b=A2Jgv3NL26Zz9awXHMW1DWq4sKtU8ww9iU0a6qBh89dpdzH4o8hGSMSOYJywzxPzT6 X7R9eSmzVrRvPepbqKEiM942ji6Tf5HZzFlJyUtWn2zFPrsB7TKSHeRlWiSDhAdHKzf3 FpNF/1V3Fd1xN1SDpvp/LsQk/jooOgMxVp8E95NnTfRHjCcVTJdCyByf2AGOvrrocafp HdUhkJgREd2pNFfmOSULgjPvw67sIVpofW5uSSQi1CaAOtv9MKXaBmIDNFh6llq98CjG bb1bA+mlafRzxgCQQRMWkRMb0CiH346M/5AqE5V+UbCUjICcSrZPZ8h8AFcoKrKsU8V4 ZL9g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=v5xuRIInF/t+5/NaPy3v9OS3lhTkJ2vThvfgkTbInYE=; b=zjqLiUl9yy05wjskT4MNPOn20xnqDWi+ompqYBciL1foRTkTIjvBupqrN/gUFCaoQv rD4kdBUOfbMgoyS53P2D1OUKRQaCkSSUS31g3yOOyPLm6QL2MJ8nTapTTVA7FNRKKcRJ lIRj8WTYhVETPU/kSnxbh3fmX+6+n3FAt6C0WzSS6ghZJUvzzkuVNQDVMQNjW9Uv+f90 Sk8VEKsWeGy4eJgXR6i05FJUeuq3Bjq6BrXPqm8zzZ1nYParec/S7JE1JKci9HXfm4lp 40XCXYfqHV0TzCpYCwB1WfJfatIx44T0UDJgRP0N1e7neO4gGtVNfaNS/QydVHrDH3Fn 6KpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cBIHgFib; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e21si213740edy.284.2021.02.02.16.48.35; Tue, 02 Feb 2021 16:48:59 -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=@linuxfoundation.org header.s=korg header.b=cBIHgFib; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240255AbhBBT6b (ORCPT + 99 others); Tue, 2 Feb 2021 14:58:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:38204 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232938AbhBBNt6 (ORCPT ); Tue, 2 Feb 2021 08:49:58 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8123B64FAE; Tue, 2 Feb 2021 13:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612273373; bh=zlcr/KSy+1al9MB1VIe/9p3BiW9UrbvHby/w4JyAbdw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cBIHgFibEjepyYk4p9nrO5wjERIh81xd9thXKcWQR/JwgLwFmwE9x8Caj1Vl3FVtM c3S/H3a7Wu0HBgJKphPW0AHg8lqt9hbR2ndmBCJ2bdML3vnJgqXy+Q3u4P5JN7jm6K DdxbQ1RdneGRckGk9aZqeaAWzWcBdte6SuahCtGQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Shawn Guo , Sasha Levin Subject: [PATCH 5.10 083/142] ARM: imx: fix imx8m dependencies Date: Tue, 2 Feb 2021 14:37:26 +0100 Message-Id: <20210202133001.134109569@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210202132957.692094111@linuxfoundation.org> References: <20210202132957.692094111@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit 097530bf8cd469ef7b3d52ef00cafb64b33bacb1 ] 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 Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- 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 a9370f4aacca9..05812f8ae7340 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.27.0