Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755297AbdLTNjO (ORCPT ); Wed, 20 Dec 2017 08:39:14 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:33791 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754317AbdLTNjM (ORCPT ); Wed, 20 Dec 2017 08:39:12 -0500 X-Google-Smtp-Source: ACJfBosgI9yWtwUQAl8Uwx7yR5P2mV0MrnFNMZubuJmxu58cdeIcujWCqVbHf2WJ2Otiq2EsV4lcjw== From: Alexander Sverdlin Reply-To: Alexander Sverdlin To: Arnd Bergmann Cc: Linus Walleij , Lukasz Majewski , Hartley Sweeten , Russell King , Linux ARM , Linux Kernel Mailing List , Olof Johansson Subject: Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board X-Mailer: Modest 3.90.7 References: <20171116232239.16823-1-lukma@denx.de> <20171211233625.5689-1-lukma@denx.de> <1513153607.2439.2.camel@Nokia-N900> <20171213095257.5cf424fb@jawa> <1513774853.1538.15.camel@Nokia-N900> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-ID: <1513777158.1538.23.camel@Nokia-N900> Date: Wed, 20 Dec 2017 14:39:18 +0100 Message-Id: <1513777158.1538.24.camel@Nokia-N900> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1396 Lines: 32 Hi Arnd! On Wed Dec 20 14:14:07 2017 Arnd Bergmann wrote: > > If it will be still possible to build the binary kernel of the same > > size after the conversion, I'm in for testing, otherwise it will not > > fit into Flash any more... > > I think there is an increase in code size that comes mainly from the > common clock layer itself, plus a few bytes here and there. Obviously > the increase is much bigger if you actually enable multiple platforms. > > Here is the size of the uncompressed vmlinux file with the current > clk implementation, compared to a build with a build containing the > common clk code but no clock driver, and the separate clock > implementation we have today: > >      text      data        bss        dec        hex filename > 4752655 1036028 128260 5916943 5a490f build/tmp/vmlinux-old-clk > 4780174 1040524 128284 5948982 5ac636 build/tmp/vmlinux-common-clk >      2491      1700            0      4191      105f > build/tmp/arch/arm/mach-ep93xx/clock.o > > The difference would come to about 0.7% of the current image size, > I guess around 1% when the other changes are included. Is that within > the margins you have, or is this already critical? No, your numbers are promising, I was afraid of the increase of other orders of magnitude. So this should be fine. Thanks for this info. -- Alex.