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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 982A2C433E6 for ; Sun, 10 Jan 2021 21:35:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BCAE22B30 for ; Sun, 10 Jan 2021 21:35:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727009AbhAJVeu (ORCPT ); Sun, 10 Jan 2021 16:34:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726534AbhAJVet (ORCPT ); Sun, 10 Jan 2021 16:34:49 -0500 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99476C061786 for ; Sun, 10 Jan 2021 13:34:08 -0800 (PST) Received: by mail-lj1-x22f.google.com with SMTP id u11so1425392ljo.13 for ; Sun, 10 Jan 2021 13:34:08 -0800 (PST) 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=qwDBLOl5CVCeF0P0kwdlt2wM1kUvDpLPAJMSKBRxg9M=; b=O1MZL5FC+wG8LIdfmsRaBa6/thw+/g110wanUmPYu2Ronl3gKSXhlOepCDQ+s6TL2N xu11epSwwnwpR0Bj54+iV/ib3911s52X9WzFsGqI81Iay78IYobCO+weAiK+SbwsY3/a t9Pl6C3ogoeCKkHD5FIusF45oWvRd0Hlj1JKnO2WcGVMtlR8cqGBbB30f0U6UvQqaaY9 BoW60rRmLNxfhsS/OSB6KecyuATGVVV7IwNJM3aWzGDD1d2EFAwvROE/K61qJ3+c6V1N 8cTpm6YT70O4fpROcy1vHfMjyrCH7Yeo9dMGwCe9wazTfwm06XqA4xJpkNFVEps8Ceuj 3Nhw== 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=qwDBLOl5CVCeF0P0kwdlt2wM1kUvDpLPAJMSKBRxg9M=; b=Rny6L5G4jumSX1qM4Zugu/xY1f8oL1f09ANuYI+d5SHQcs80Y9IQCwNmODs1Dcj5XJ gHRe+xdfMjWOqvBoQlo7m6TgxEitHej1qtPU4ZnamYgpi38I/tRxxjHrZob4v1Jl3zuw 5+ZWkred5XitciMWyVbDVR+bAep8FRE5Fv/7TKzNEFbO0v3sstwe7qg2vtoBQ9lxeUFx UzOUsgwkvB2BcpzChyRA+8gST7DDTqJrfmPPm252RW9IaqhXtenFkdMemnvcrdLxBDzc vZEt+IzmAswTFXit2QmB3Y8F3AOUMGRuS2HR3DedmomIJL2gcwy7JE12ctftCkN0aL7s 7/UQ== X-Gm-Message-State: AOAM530/RZTciwKyjpKaTP7SGVg5bGetcJ1xgrgJ7Frj5Zlq3shnlafI 5H7MJky1DkZ58KSdobtS/htm0JTIH+yYekS0FerUfA== X-Google-Smtp-Source: ABdhPJygTM2XUlD9axbmB+KpgakdlAh9kwrXgblXhejGBkbE8aGkF9u6DQX7GQV57RzFX+IaNT9AA+PnJGf0xvJ0BhQ= X-Received: by 2002:a2e:9dc3:: with SMTP id x3mr6350880ljj.326.1610314447060; Sun, 10 Jan 2021 13:34:07 -0800 (PST) MIME-Version: 1.0 References: <67171E13-6786-4B44-A8C2-3302963B055F@gmail.com> <1702853.1557dWfJA4@linux-e202.suse.de> In-Reply-To: <1702853.1557dWfJA4@linux-e202.suse.de> From: Linus Walleij Date: Sun, 10 Jan 2021 22:33:56 +0100 Message-ID: Subject: Re: Old platforms: bring out your dead To: Fabian Vogt Cc: Daniel Tang , Arnd Bergmann , Baruch Siach , Geert Uytterhoeven , Neil Armstrong , Viresh Kumar , Jamie Iles , Krzysztof Adamski , Alexander Shiyan , Michael Ellerman , Russell King - ARM Linux , Wei Xu , Oleksij Rempel , Alex Elder , Marc Gonzalez , Hans Ulli Kroll , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Steven Rostedt , Vladimir Zapolskiy , Lubomir Rintel , Koen Vandeputte , Linux ARM , Barry Song , Thomas Bogendoerfer , Yoshinori Sato , Linux Kernel Mailing List , Jonas Jensen , Hartley Sweeten , Mark Salter , Shawn Guo Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 10, 2021 at 7:16 PM Fabian Vogt wrote: > Am Samstag, 9. Januar 2021, 23:20:48 CET schrieb Arnd Bergmann: > > On Sat, Jan 9, 2021 at 1:06 AM Daniel Tang wrote: > > > * nspire -- added in 2013, no notable changes after 2015 > > Most of the platform is just the DT sources and some small drivers around it, > so it's actually fairly low maintenance. So far the migration away from > panel-simple in 2019 > (https://lore.kernel.org/linux-arm-kernel/20190805085847.25554-1-linus.walleij@linaro.org) > was the biggest required change so far. What we're seeing here is actually a port that is: - Finished - Has a complete set of working drivers - Supported - Just works I.e. it doesn't see much patches because it is pretty much perfect. We are so unused to this situation that it can be mistaken for the device being abandoned. I think it was Russell who first pointed out that this is actually the case for a few machines. > > Would either of you already have a guess for how long it makes > > sense to update kernels on it? > > > > I see that this is one of the more limited platforms with just 32MB > > of RAM (64MB in case of CX), and kernels only get more bloated over > > time, so I expect at some point you will be stuck with running old > > software. > > The kernel overhead isn't actually that bad. I just built today's 2ff90100ace8 > and booted it with a busybox-based initrd. free -m reports: > total used free shared buffers > 58 12 46 0 0 > > Relatively speaking, still mostly unused ;-) The stock OS actually uses more! > With 32MiB, the situation is definitely worse, but still manageable. Should > that change in the future, dropping just the Classic/CM variants would be a > possible option, but that still seems far enough away. 64 MB is perfectly fine to run Linux. OpenWrt-type distributions (also OpenEmbedded/YOCTO) run just fine with that. 32 MB certainly works. For example this is the Gemini D-Link DNS-313 which is my NAS and works perfectly on 64MB: root@DNS-313:~# free -m total used free shared buff/cache available Mem: 56136 21032 28612 0 6492 23812 Swap: 131128 1280 129848 Not even using the fallback swap. I can add that at the time it is syncing a backup AND playing back a 1080p movie over SMB. The trick is using ksmbd rather than Samba. ksmbd is much less memory-intensive. I like to use this device for NAS since it is good at I/O, stable, maintained by myself and JustWorks(TM). Yours, Linus Walleij