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=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 221FDC433C1 for ; Mon, 29 Mar 2021 18:08:08 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 35E606193A for ; Mon, 29 Mar 2021 18:08:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 35E606193A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oFAosaiXx2soRgJmcDArChkxoQVQ/+pAraZq51O7CLo=; b=K8DbmfCD4wOdQ1pLFkoB6jqHO dMqiplGuQz5P7/DjDAnPSawqPq8PVQ2Afj/tPQKyvhyTHB8NJMuiBw2QAOpJ5ba+hPH2ILAU0o95e qpEXAczMKUuKYDQZzPYM3Y70uQRZCwIGiUbL/1ZGXsmU1LEe+tevax4UycLrtGU0u3dS8mZ5QsW9b olXxet1SOBS5lpniVPJjzrS0q3++zGF7VUURJ7m613je9xiFK6X9R7V8jdRu1M9SpD+WxJ82aicJu iFTEC4iZeck/HsNQ5VpoqC7pensok2OGSXlz7gB5MIXVi1CF+boRon5/p/93QX2LV5D3AfsgB85/u /R6zkGfJA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQwFf-000yZu-ND; Mon, 29 Mar 2021 18:04:36 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQp43-000Zyt-0a for linux-arm-kernel@desiato.infradead.org; Mon, 29 Mar 2021 10:24:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=dMugKNeoxcEHPCeiJkFpOtVsDqw5zqDVkVewPkt0e/I=; b=UJ7NM6qXzoVIO+7VV0sughyLW8 7h08WppsVD3ucv3DrG2yvKWspz6KNDRxDgmqsH9ZyRjfOTLCm13KqnkKt4nl8/w+0gFgYTGt9LHmX JYawVAV27KNTe6tj9wt9CskkMfecsH/G/Q+q7BEOGzjjcZY4OBtI1ZPded1fstpKnpz/if5agCIUR qY568KSw0RlAYjCbMI5JNI7HHo3Ceyq0ipHG9UGYADxdXXnR59nSBbbTTAlnJFo4m5SLZOo5GkgnQ cRTFdD7nIwNzSRZB7xuvYuvY0WLH0MDCXK9HRMbVOcfNdk/RFXmaFNxr2YCZoGuyB/jf0AlSOG8YY kDcT7FAA==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQTRY-0000Yi-TM for linux-arm-kernel@lists.infradead.org; Sun, 28 Mar 2021 11:18:59 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id CDE126192F; Sun, 28 Mar 2021 11:12:17 +0000 (UTC) Date: Sun, 28 Mar 2021 12:12:15 +0100 From: Catalin Marinas To: Masahiro Yamada Cc: linux-arm-kernel , Linux Kernel Mailing List , Nathan Chancellor , Will Deacon Subject: Re: [PATCH] arm64: move --fix-cortex-a53-843419 linker test to Kconfig Message-ID: <20210328111213.GA17535@arm.com> References: <20210324071128.1723273-1-masahiroy@kernel.org> <20210326143630.GD5126@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210328_121858_144526_82A5443F X-CRM114-Status: GOOD ( 23.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Mar 28, 2021 at 03:59:29PM +0900, Masahiro Yamada wrote: > On Fri, Mar 26, 2021 at 11:36 PM Catalin Marinas > wrote: > > On Wed, Mar 24, 2021 at 04:11:28PM +0900, Masahiro Yamada wrote: > > > $(call ld-option, --fix-cortex-a53-843419) in arch/arm64/Makefile is > > > evaluated every time even for Make targets that do not need the linker, > > > such as "make ARCH=arm64 install". > > > > > > Recently, the Kbuild tree queued up a patch to avoid needless > > > compiler/linker flag evaluation. I beleive it is a good improvement > > > itself, but causing a false-positive warning for arm64 installation > > > in linux-next. (Thanks to Nathan for the report) > > > > > > Kconfig can test the linker capability just once, and store it in the > > > .config file. The build and installation steps that follow do not need > > > to test the liniker over again. > > > > > > Reported-by: Nathan Chancellor > > > Signed-off-by: Masahiro Yamada > > > --- > > > > > > I was not sure what the preferred CONFIG option name is. > > > Please suggest a one if you have a better idea. > > > > > > > > > arch/arm64/Kconfig | 3 +++ > > > arch/arm64/Makefile | 2 +- > > > 2 files changed, 4 insertions(+), 1 deletion(-) > > > > Would you like this patch to go in via the arm64 tree or you will queue > > it via the kbuild tree? > > I applied this to linux-kbuild with Will's Ack. Great, I'll cross it off my list. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel