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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 19 Apr 2018 15:24:15 -0700
From:   Stephen Boyd <sboyd@...nel.org>
To:     Maxime Ripard <maxime.ripard@...tlin.com>
Cc:     Masahiro Yamada <yamada.masahiro@...ionext.com>,
        linux-clk@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
        Michael Turquette <mturquette@...libre.com>,
        Stephen Boyd <stephen.boyd@...aro.org>,
        Nicholas Piggin <npiggin@...il.com>,
        linux-kernel@...r.kernel.org, Chen-Yu Tsai <wens@...e.org>,
        linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] clk: sunxi-ng: replace lib-y with obj-y

Quoting Maxime Ripard (2018-04-19 06:42:21)
> On Wed, Apr 18, 2018 at 04:27:25PM -0700, Stephen Boyd wrote:
> > Quoting Masahiro Yamada (2018-04-18 04:52:31)
> > > We had commit 06e226c7fb23 ("clk: sunxi-ng: Move all clock types to a
> > > library") and commit 799c43415442 ("kbuild: thin archives make default
> > > for all archs") in the same development cycle, from different trees.
> > > 
> > > With migration to the thin archive, the entire drivers/clk/sunxi-ng/lib.a
> > > is linked to the vmlinux.  This does not break build, but we do not get
> > > any size saving.
> > > 
> > > However, we do not need to go back to the individual Kconfig options.
> > > The default configuration pulls in all (or most) of the CCU parts anyway.
> > > Also, once we enable CONFIG_LD_DEAD_CODE_DATA_ELIMINATION, we can simply
> > > list all files with obj-y, and the linker will drop all unused functions
> > > by itself.
> > > 
> > > After the long discussion [1], people there agreed to fix this, but
> > > nobody sent a patch after all.  I am doing it now.
> > > 
> > > I lifted up CONFIG_SUNXI_CCU to drivers/clk/Makefile because everything
> > > in drivers/clk/sunxi-ng/ depends on SUNXI_CCU.
> > > 
> > > [1] https://patchwork.kernel.org/patch/9796521/
> > > 
> > > Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
> > > ---
> > 
> > Thanks for remembering to take care of this. I forgot about it all.
> > 
> > Acked-by: Stephen Boyd <sboyd@...nel.org>
> > 
> > Or I can pick this up directly. Let me know.
> 
> We'll probably have our usual round of patches that might generate
> some conflicts on the Makefile. I've picked it up with your A-b, and
> will send you a PR with it, as usual.
> 

Perfect. Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ