[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210111013624.GV28365@dragon>
Date: Mon, 11 Jan 2021 09:36:24 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Sascha Hauer <s.hauer@...gutronix.de>, Peng Fan <peng.fan@....com>,
Leonard Crestez <leonard.crestez@....com>, arm@...nel.org,
Arnd Bergmann <arnd@...db.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Anson Huang <Anson.Huang@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: imx: fix imx8m dependencies
On Wed, Dec 30, 2020 at 04:17:51PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> 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 <arnd@...db.de>
Applied, thanks.
Powered by blists - more mailing lists