Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp1945444pxb; Sun, 10 Jan 2021 17:38:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHJIVaDd0aZDo48lqdSgmolVsaWTq1Bq8ImRHr89bTxgLH1TrM2kPqg49EoPXspR2DxR4O X-Received: by 2002:a17:906:941a:: with SMTP id q26mr9330274ejx.227.1610329120904; Sun, 10 Jan 2021 17:38:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610329120; cv=none; d=google.com; s=arc-20160816; b=P/n5IXBoSCgEpi7YXQRodLC+gbrtqkWP8e6NnrV0bY/5lDvGEIb3TUfu6tKgi9/l8b YmXZYhwFX+3JY3COnCp792pvAqypGFu0AIcTQLmZbUZwHUUbBIJJM9o44/SjeR2YjNQA wnbpkfMgiI58Ktkp1JL0IMpPCX5t74K8WYFsCG0wzsccn49KCsLyP/ZrACtpEU4xJKwt t1GSYV3Dnel6+bTr2R5Zs2l+PQQvGuMp/CF9zSSDaPFNz183bYWyDEg9jOGoBrSyWVgu QFqJqRqszlZ4QK2gwFDXQSf41hqMUSSNJ5DALtXdgxsCcHOQuoolrx7wYmYp/mQjAkim mH2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=XDMLagUw/X3SZDJ20OTC819scJk/5YqZyXJExkV6U0Q=; b=mLgKvFd1xmxqHv9MR00r+znPhhWCiyQxnVkEXZlWpGzTtBwI0q8MHqhlbzV3UHnpp0 lx/BD2w1/5xHWPu+TZpYwi/oyc2N3hmcCqxv1r/j3a7lKt1fZW9Im6xmLIWk/DM6pYwz +A0RCoSQjrRHcA8CHSli5hfjIkekvzJ0NiFxRwLT+hsFTedYi+VK5XIVg4rdygOTHZkz 5pK5WJ+nfXpSkB1lXtkUiMk6EZFHCLeKzQcg667lLFEu1vT8fJLyEgShSfwMWU79Na0Z gsMZD9fHiULU3/svMA8FcTkU+e6opJRUk1DjrWD4llcPoFTbbUxYc+TFosHZV14XbuiI YQHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PVsmRM3h; 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 c10si5878337ejf.281.2021.01.10.17.38.17; Sun, 10 Jan 2021 17:38: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=PVsmRM3h; 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 S1727027AbhAKBhL (ORCPT + 99 others); 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.