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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 EB034C433E0 for ; Mon, 11 Jan 2021 01:37:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD04C224D3 for ; Mon, 11 Jan 2021 01:37:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727067AbhAKBhL (ORCPT ); Sun, 10 Jan 2021 20:37:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:55676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726652AbhAKBhK (ORCPT ); Sun, 10 Jan 2021 20:37:10 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1C1B5224B8; Mon, 11 Jan 2021 01:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610328990; bh=Khq5EFM7aNR6newsfEbYR9JdAZHlMzU7L0U/U2aH/Zk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PVsmRM3hAtVCr4QwIpz6xG5lRy7EOAsELBFK2V6OOMbnmsXeiony02d7F4xL1OBiT eu+DSvvhKMsGYevFn1EkQ8GK4/c0RmfsNnRH02f3fHL566QQ2ztvA72f/Ie4sEabqh iSj2NbKwjDTjvq23S6IV1ZHdtbo5H9OSXgkUCFEwdlG7BunKs1abxbOKf24b4n8LL1 NfnjNFldX/fU47svDDF6AtMxRuBSgVTfLCAB5H4aL7CEAWf6ojWySLWnw+BmWqIWcr P7nQ5ZJ0HTehzKUYYCh/APuPtF6JDmNUMd5uEdu1GWTBWn2xuu2XhWbOPVBqUqupnt k7xy+EsnGidVg== Date: Mon, 11 Jan 2021 09:36:24 +0800 From: Shawn Guo To: Arnd Bergmann Cc: Sascha Hauer , Peng Fan , Leonard Crestez , 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: Re: [PATCH] ARM: imx: fix imx8m dependencies Message-ID: <20210111013624.GV28365@dragon> References: <20201230151804.3862447-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201230151804.3862447-1-arnd@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 30, 2020 at 04:17:51PM +0100, Arnd Bergmann wrote: > 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 Applied, thanks.