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.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,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 D2966C433DB for ; Wed, 24 Mar 2021 16:48:09 +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 7CDE5619E3 for ; Wed, 24 Mar 2021 16:48:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7CDE5619E3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=y21kAbPkV+RgaxoaLZtxRSCCig+HZSjfeLIW+9LDMvQ=; b=EFwjXJFpW9d8uN+olphPwNXOe GPggkJ7hmAUioyGHMqKYo5Scu93YK0nspqs01P1zp0ldh3JehSTeGlVfxUttWxvEljmSnsPuR/vt+ SzP255Y0op8eS4i4LWUC+cv4WhNvlA8P7utnfJCA7A/4G6v/hLvKC7KKS3oyWGSAiBjiRGH07Rh77 U9jk66klr/6Mx8yUYmiLYl06/55YeCXC3lIRP+pyGc5jjwJekMZG+GKx21dBZopHHLBfOzeKMriHI YEZdVmUYfXiOGxO47pATmitxcITgyXPdYDOVfBcLtpz3kofo9T6TtotxU9I4t0HoYwyAgDDVtcJav Kq/NbIQkw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lP6ea-00HQmo-9o; Wed, 24 Mar 2021 16:46:44 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lP6eW-00HQlo-TW for linux-arm-kernel@lists.infradead.org; Wed, 24 Mar 2021 16:46:42 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id AF00461A06; Wed, 24 Mar 2021 16:46:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616604397; bh=TJLFQhZC1jWNLtoUFrsnvOFF9CPnFj5MhXj3QGGfWbY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tAusyE0oX598MDBWGwhjFz6BcqpxV6JGn/vcKpGwhQ23eCnDdavKKK1Y0fMbT6QCg 7GxRdL4adPvyiPtYugdxxzOjn/UZFeV5Ke/UravJ72HKyx+fRUQsL5MFDw6ZRt7v7/ hr5IKVXyLprWjsRMrKMfO3Bj1Qhg75nVp/1Dyo4n60XxEpsQQOS2lbUkZMPex6meFZ gwMjkkWp37emMTq0EeSIgBdX5RdUjzuejLmOL2M4fBb1s/yt2FlyLZ+MRhDhdwAGeM KfzA85z11j0pt8mkuLlEuBlXMD46oMoFXv/Es/1qh0jN2glKavYWHtr+mSm4cZJnLE QcTnky6aXuv/g== Date: Wed, 24 Mar 2021 16:46:32 +0000 From: Will Deacon To: Masahiro Yamada Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nathan Chancellor , Catalin Marinas Subject: Re: [PATCH] arm64: move --fix-cortex-a53-843419 linker test to Kconfig Message-ID: <20210324164631.GA13030@willie-the-truck> References: <20210324071128.1723273-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210324071128.1723273-1-masahiroy@kernel.org> 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-20210324_164641_204496_7F28676A X-CRM114-Status: GOOD ( 18.31 ) 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 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(-) Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel