Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp529443imu; Fri, 25 Jan 2019 06:34:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Mzp9gqhhPVfLv8wL3M0y1MQltpuUunMW+6in6nrCAEDGb8VXwGUSpapFzb7wlj4MM2G1Z X-Received: by 2002:a63:6486:: with SMTP id y128mr10212173pgb.18.1548426872500; Fri, 25 Jan 2019 06:34:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548426872; cv=none; d=google.com; s=arc-20160816; b=Ooeosw3uXMEFszUPwLFRj44hc5YxT8Yq1rjgTkkevWWbzv2ifdWr7lv8r5Lzn/EkuY t5YUxG8w8bk1C0GQJpwqNofd2oFVDmzGpOsP0ZNj9b/TH0lbXrrRDUZ+rzojfBMrbhqF LGS/A6nhBhCEKFesNoEnWfwnfznSeTb7kNYp+yE46/cu068+5WpczTikpWrV+dpda7+f fShQoKmomyf59BH/LNun3L7fuxgNAPC29t8LiSCQ0L/ie8cXo41NlUxB/5Cwvr3RFaVc Jw8ddxqOHVvxVhWcb62RNJj13XktqgiR3WqYOYC4i3ho1cB8JfrhM3sqIYXcqjXR3JRQ 2bmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1FFwnJ2p7rc1V7WIsoZCyxncUeINCq+dOSz+VlsZkA4=; b=W4mnj3Oakt/0zkQdrl2m0GRcdk/fgTPk+SD5sibJC3l9iBRs2PwKvcbbhSF1R+m4w/ PkHg28oLc7+jHmzxHF7XRfJppPlRBcRCIL4RiSGCf6K7D7evnxZNsm4L5z6biLMHVNrk /7obYsWZopSj3ZG4D7rsW5Ofb7FUf2QALaSSRHLxn1mSO5v/Z7GIUSeh92Hkey+Rnvu3 5kd9Oz9XxewAz9/LS8GCpsEGeMt/MoRnHpntGGAOMBT/3z/KJd5QX54ZH+1gDHA0gyZU CDuUpq+B2bdqUJOsBMEERbRk972bkw/ZK258tqsi091E+Vjzzy6wZjkC3rNUncWmE/Xv w13A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7si29674677pfc.118.2019.01.25.06.34.16; Fri, 25 Jan 2019 06:34:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728843AbfAYOcT (ORCPT + 99 others); Fri, 25 Jan 2019 09:32:19 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:48174 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726122AbfAYOcT (ORCPT ); Fri, 25 Jan 2019 09:32:19 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 28249A78; Fri, 25 Jan 2019 06:32:19 -0800 (PST) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.113]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 184303F5C1; Fri, 25 Jan 2019 06:32:17 -0800 (PST) Date: Fri, 25 Jan 2019 14:32:15 +0000 From: Catalin Marinas To: Anders Roxell Cc: will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lucas Stach Subject: Re: [PATCH] arm64: Kconfig.platforms: fix warning unmet direct dependencies Message-ID: <20190125143215.GE25901@arrakis.emea.arm.com> References: <20190115191839.13823-1-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190115191839.13823-1-anders.roxell@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2019 at 08:18:39PM +0100, Anders Roxell wrote: > When ARCH_MXC get enabled, ARM64_ERRATUM_845719 will be selected and > this warning will happen when COMPAT isn't set. > > WARNING: unmet direct dependencies detected for ARM64_ERRATUM_845719 > Depends on [n]: COMPAT [=n] > Selected by [y]: > - ARCH_MXC [=y] > > Rework to add 'if COMPAT' before ARM64_ERRATUM_845719 gets selected, > since ARM64_ERRATUM_845719 depends on COMPAT. > > Signed-off-by: Anders Roxell > --- > arch/arm64/Kconfig.platforms | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > index 251ecf34cb02..d4faca775d9c 100644 > --- a/arch/arm64/Kconfig.platforms > +++ b/arch/arm64/Kconfig.platforms > @@ -145,7 +145,7 @@ config ARCH_MVEBU > config ARCH_MXC > bool "ARMv8 based NXP i.MX SoC family" > select ARM64_ERRATUM_843419 > - select ARM64_ERRATUM_845719 > + select ARM64_ERRATUM_845719 if COMPAT > help > This enables support for the ARMv8 based SoCs in the > NXP i.MX family. Actually, do we need to select the errata workarounds explicitly? That seems to be the only case where we do it (commit 930507c18304, "arm64: add basic Kconfig symbols for i.MX8"). They are default y, so we shouldn't need to force them on. -- Catalin