Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4244278pxj; Tue, 25 May 2021 03:41:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxk8tlZzbWsiWDYvinN+P2LciUyg1cWPlfuyWUoLOA+UYS1XIYvbNCOR6OladFOoBI+Opbp X-Received: by 2002:a17:906:90c9:: with SMTP id v9mr27714595ejw.102.1621939316833; Tue, 25 May 2021 03:41:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621939316; cv=none; d=google.com; s=arc-20160816; b=Y1GRhBHXcYkEY0ZPPnXXPpxB06pkr8hwtF9yveyan2gv00P82ooSj1k3JrJsS1Awhs wOrlPuGJs6pxfuwNa1jBbsC2xA5t0gFMIEt0IBtakbZ52CRi3hUog0oYFdq88SusKqUn 7a8UYR4f7QW8pNPnj/0cHDnoRpHN5JHcqJtgEDnPfI47xqLEFvhfnfhWIJs3gXZaybM1 0+YibQGANnREYgODdjc1FsdRSOkCjLTqk9zyAm/5XQ5osbyafHET7Wu8omZpVZOFsEl/ AGOMdX22BxqsQLx+t1QVO18hdDD59HJwBpe7f6mFvzVm4CdPbgtCUHzE6FdGOwlQ0umm pJfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kcT2Jgtxlyo0CZMh0hHbgP3RE9+2ZLrBHr6m5cHYlYE=; b=P9N2EsUQbz1ouybvPuIOA+rI60Il2uNogJmgBH3MdeD2V1XvX4RxoulEXMnOx9Tf3j dB4+igPCFlj3Mx7vKFy4kToYG6C6C5KaZTX/ojBi4tPeIfVVbmeuvxDdeMpdkM4Jo9uN AZV5e1AArm181JFjFBlri4GXM0DbI6w4hXjzeieeOMP83Ci7w7U3SQ0vuWRczE3agp6B Jqa3XnUViTVXjTFa19I8v0XJcjfdsVsBCsxcc9oSHU7ItScro/pPqcjdFKBiOdUDLQBb ZZnSGCgkAB4lGg+qfsLVIRgHceFkdr3dapHmuZuPB6UOfRpI9c2gW6BY+Iqy1ahV3uS2 h/ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dT4U465q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gv3si17558864ejc.220.2021.05.25.03.41.34; Tue, 25 May 2021 03:41:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dT4U465q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230381AbhEYKVM (ORCPT + 99 others); Tue, 25 May 2021 06:21:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbhEYKVL (ORCPT ); Tue, 25 May 2021 06:21:11 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4268DC061574 for ; Tue, 25 May 2021 03:19:41 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id p20so37401159ljj.8 for ; Tue, 25 May 2021 03:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kcT2Jgtxlyo0CZMh0hHbgP3RE9+2ZLrBHr6m5cHYlYE=; b=dT4U465qyQm+NuGSEtvJrUaFPY2vNIxX+/RkTGzkDxESJGHX8xKyHdXwMpexc5OEf1 4fqkzt5GLcpr0jHvk6eq7X+HOI8HJK8CubxMTNro4jId3u8LBGutZZr0+RIYAr+BTGy7 wc5j2Ph6PHwSG75S7ZSzfn1/3GE/FBkMzeUsIfvzDTI6WqK82ic41IWaj5b8UFQeKV/8 JrgtJNzVhU2raBMDea1uXzgGxeWKdrnFPJSOgnP+hmEZU3+MZppCpWCiktTuPAAY/WpV 4T+YtWnKs3+E5SLsAgZhZcfwmeYKlTfQ+lW8ThX1QeUlCe2nFgi2zGv6g8vpwotpUPVq 7+JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kcT2Jgtxlyo0CZMh0hHbgP3RE9+2ZLrBHr6m5cHYlYE=; b=XNuhM8jPlqO84B34d7tXcSq92xK+oKdINrWhkl0DimMeEGgBgY7rWQEJ477x5H+NYY NQbn8a1qrIT7PAC22Zy/yHWDuR0dcFSubss9uiSeV3LPdzd8UA87J9DoG7jEUUElJxPt 855LuqHy+HnN8cQLdPW9wiPAfKbHLoXRNg7P84K3Ps3M6O08Sd0nTpt+kiOg3yprM6HA ZAA/8v2OlYzwBLp72qFUb6sej+4YumMgi0j/PB3GAJtxQcuSh+FyQ9FZ4UTytHxI5lGl sKsqsX/Aemh9K1rpTN3GV5zo+P3G379siBehY99ZfctYvjh104uNQOTNLapuoK/piTqs y8Cg== X-Gm-Message-State: AOAM531xueTGJSac50n0Aab+1GZNotw7mk9TLxzpDxiR+FQOk6UGSc6D vsAWJl5WYkDrjGWt04b9OqZj7yb/v30QGr6hysatTQ== X-Received: by 2002:a2e:90c7:: with SMTP id o7mr20322030ljg.368.1621937979403; Tue, 25 May 2021 03:19:39 -0700 (PDT) MIME-Version: 1.0 References: <20210525083340.27722-1-nikita.shubin@maquefel.me> In-Reply-To: <20210525083340.27722-1-nikita.shubin@maquefel.me> From: Linus Walleij Date: Tue, 25 May 2021 12:19:27 +0200 Message-ID: Subject: Re: [RFC][PATCH 0/1] ep93xx: clock: convert in-place To: Nikita Shubin Cc: Russell King , Hartley Sweeten , Alexander Sverdlin , Arnd Bergmann , Ard Biesheuvel , Mike Rapoport , Gregory Fong , Geert Uytterhoeven , YiFei Zhu , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Linux ARM , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 25, 2021 at 10:36 AM Nikita Shubin wrote: > text data bss dec hex filename > 4491689 920748 92840 5505277 5400fd vmlinux (...) > text data bss dec hex filename > 4534485 927424 90304 5552213 54b855 vmlinux So IIUC that is 49472 bytes more text & data? ~48KB. I think what really matters is the 2MB limit on compressed kernel size, which I guess can be pushed a bit by compressing the kernel with something violent like ZST but ultimately what EP93xx might want to do is to do what the other SoCs are doing for accommodating Android: move out as many drivers as possible to be modules and not compiled into the static kernel. Do we have candidates for that? Are people normally using modules on EP93xx? I am modernizing XScale IXP4xx and it doesn't suffer from this as much: even the really ancient NSLU2 has 32MB of RAM. Yours, Linus Walleij