lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNATGo1NkcRF7qo1wF1w3jrOpTQPJf1XPryUz13L8OpaSxA@mail.gmail.com>
Date:   Sun, 28 Mar 2021 15:59:29 +0900
From:   Masahiro Yamada <masahiroy@...nel.org>
To:     Catalin Marinas <catalin.marinas@....com>
Cc:     linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Nathan Chancellor <nathan@...nel.org>,
        Will Deacon <will@...nel.org>
Subject: Re: [PATCH] arm64: move --fix-cortex-a53-843419 linker test to Kconfig

On Fri, Mar 26, 2021 at 11:36 PM Catalin Marinas
<catalin.marinas@....com> wrote:
>
> Hi Masahiro,
>
> 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 <nathan@...nel.org>
> > Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> > ---
> >
> > 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.
Thanks.




-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ