Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp166456pxb; Tue, 12 Jan 2021 23:58:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeRhg6vYSWW8WN1oOFXa0Q6XjSFjkKAwv7eaUQL7n+StKdtPK7QwPMtBsx9R17xaJdyidO X-Received: by 2002:a50:9dc9:: with SMTP id l9mr761714edk.377.1610524728141; Tue, 12 Jan 2021 23:58:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610524728; cv=none; d=google.com; s=arc-20160816; b=GL50b5HnijSyHamhQZTR0UMvqB6vz5Mz3tQ0wLw8zUFSJQvE4fpY75itLyP33JxhlN DVkuocvK6IQMBGSMZe2Vt9Lck0BbznjjI7a+4Vy65ivArUj7A4Zz2G2elercFhd6M88P w/NedFdbKRZMKB/Ty6sHiQchluaDFh6a6PabqI1NoXoaJdD/0SJ2JIVowzDrU+HuAAQw HdqwdC3tcY3tWOeQ14kxnYXqnTXc8xdo+DzKR4NMdzy0J3Xa10AuvePkWCWha+mDs692 TvUBi1NsFr4SShXz71261d0ZyAsdeI/ign5aQCY9HNGUWADTnwT/RQryKfj+c1g5gTni c0mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Ec28dkZfiPR2/1UzgIn1V3mHVSsLfVvyjnzQVtQycbU=; b=0DwyXHGNfsbx5W+scQVKs4lqxfnB8n+V08DjTFY8giqqFlpLVpAN1NjAgW5tiaLFEp kScpkSWB92XPZufdws0CEBhhQ0Aj/dHn0ncAExa3Om3K0Q6bYU3Pma0B8w4DQnvOBY1+ 3LUMsLeXC5M/pox2S0MDBvjbSZURaWaxvh+Otxl8GA3vjJXwTOYr+Kowq6QqU0T72CzJ 0PZ6Ss+KVXXd+SM+Jrtzc7Ppuo66NVHvz+dbOIhUm5XByl/ODzGU0oogTQN3NxWkykbb mexQkBl2KA4OEUoSRyqpaz6TJypaf6i0LyE/zV26/sY6Oq7i9/lNhoQ7jY+rXfhY+q/7 sLJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=UBsuwooO; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e28si609313edj.216.2021.01.12.23.58.23; Tue, 12 Jan 2021 23:58:48 -0800 (PST) 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=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=UBsuwooO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725865AbhAMH5T (ORCPT + 99 others); Wed, 13 Jan 2021 02:57:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725681AbhAMH5S (ORCPT ); Wed, 13 Jan 2021 02:57:18 -0500 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82F85C061575 for ; Tue, 12 Jan 2021 23:56:38 -0800 (PST) Received: by mail-ot1-x332.google.com with SMTP id w3so1067135otp.13 for ; Tue, 12 Jan 2021 23:56:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Ec28dkZfiPR2/1UzgIn1V3mHVSsLfVvyjnzQVtQycbU=; b=UBsuwooO0Or2Jw4qG9UiZJgUA9AMQKLfEv7NYsNeJOBOi16eIWl0+9QvoeV1v6ENAI PJP1yC7CC1oLFtVy3CsQLkKDl3NWjT5hSLtj47T6iyZYo9380taDPwDLgm1+MT+gHepH oVcMU4mqcTLhmBpXXKcQI59zebZR+sZDyXJA1wC4uU8QF/7x1RQCRH5eBrRuLxgm7Fe1 oMI3AjiJ6vRiS5dyPdfXHdv3QVf3MwLFttXnCnjEb9c0M6V4p+djw/NQJeAWW2CkuqPr RDbZbyukIzhhZjsAOei3va+MQhTMG1y+byBej6upyxf7sxZwYjxK5iQCNTxbN2b4hAza Yc5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Ec28dkZfiPR2/1UzgIn1V3mHVSsLfVvyjnzQVtQycbU=; b=V62fmJoswb7ymA1zObj8//+ySTfEMO1TnFqON/nt03hwhvyFR0hSM4aMq+q2BbD8wf Mvj00DugFGdQ3Y1sCcmInUyduxM5xjv1mjJ6otysBZ6Q55hQHPjp1MO6yzYJCYoceUMA 8HNZ2ocahd0ZV74XqmuIUq9AXX9vgB9fchlhDnI+7ebDvIUAbEh96uW8ITgD7JRuXJ0u bGjQgApL1IDdt5asJVpUHMWLnHaU2iIdmaQMctIf+NAzP4ylgeC5tSn0rkbOGZ/3bUjO xtIWAbaSIniB5/YCO88tzZgTlXSDEx/0rpoTIGNm4Ixb5lKUcaPxbevUfcqSbu5TXNPH n0pQ== X-Gm-Message-State: AOAM533k76iY655GyXynZVoSvppLW29G2CgNKBk5s/zlmcUib2xxpKwX TWdn2sc+RS4H7ensrlC6a4CsKg== X-Received: by 2002:a05:6830:578:: with SMTP id f24mr441323otc.7.1610524597836; Tue, 12 Jan 2021 23:56:37 -0800 (PST) Received: from [192.168.86.73] ([136.62.4.88]) by smtp.gmail.com with ESMTPSA id v3sm280249ool.16.2021.01.12.23.56.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Jan 2021 23:56:37 -0800 (PST) Subject: Re: Old platforms: bring out your dead To: Linus Walleij , John Paul Adrian Glaubitz Cc: Gerhard Pircher , Arnd Bergmann , Linux Kernel Mailing List , linux-m68k , Sparc kernel list , Linux-sh list References: From: Rob Landley Message-ID: Date: Wed, 13 Jan 2021 02:09:04 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/12/21 4:46 PM, Linus Walleij wrote: > On Tue, Jan 12, 2021 at 3:45 PM John Paul Adrian Glaubitz > wrote: > >> Yeah, I have the same impression that's the strong commercial interest pushes >> hobbyist use of the Linux kernel a bit down. A lot of these changes feel like >> they're motivated by corporate decisions. >> >> There has to be a healthy balance between hobbyist and commercial use. I understand >> that from a commercial point of view, it doesn't make much sense to run Linux >> on a 30-year-old computer. But it's a hobbyist project for many people and hacking >> Linux stuff for these old machines has a very entertaining and educational factor. > > This is actually one of the most interesting things written in this discussion. > > I have both revamped and deleted subarchitectures in the ARM tree. We > never deleted anyone's pet project *unless* they were clearly unwilling to > work on it (such as simply testning new patches) and agreed that it will > not go on. Another fun aspect of old hardware is it serves as prior art for patents. The j-core hardware implementation schedule has in part been driven by specific patents expiring, as in "we can't do $FEATURE until $DATE". It's much easier to nip a patent suit in the bud if you can go "here is functionally equivalent hardware from the past, dates the specifications were published, and the specific patents on the technology which have now expired". We're a little overscheduled and not always _prompt_ about it, but for example the reason we couldn't do full 6-wire sd 1.0 in the first j-core SOC release (and had to implement a painfully slow mmc bus instead) is the patents hadn't expired yet. > That said there are a three things that people should really be doing if they > want to keep their pet archs/subarchs around as good community > members, and they are in essence to: > > 1. Test and review/ack patches that others make I'm trying. :) > 2. Migrate existing drivers to newly appeared and > appropriate subsystems (I think there are some hacky heartbeat LED > drivers down in arch/* for example) there is also the feature matrix > core maintainers like and which appears if you type > Documentation/features/list-arch.sh > would be nice if you work on them if you can support them! > Or at least take a look. For 3 years in the 1990's SuperH was the best-selling processor in the world, and that's left the architecture with a bunch of legacy boards that aren't easily available to us. I regression test a current kernel build under qemu every month or two, and have portable USB-powered boards for the j-core stuff. When I did an sh4 porting contract in 2018 I got that board updated to a current-ish kernel (3 versions back from then-current it hit some intermittent nor flash filesystem corruption that only occurred intermittently under sustained load; had to ship so I backed off one version and never tracked it down). But these days I'm not always on the same continent as my two actual sh4 hardware boards, have never gotten my physical sh2 board to boot, and $DAYJOB is all j-core stuff not sh4. Testing that a basic superh system still builds and boots under qemu and j-core I can commit to doing regularly. Testing specific hardware devices on boards I don't regularly use is a lot harder. > 3. Migrate old systems to use the > contemporary hardware descriptions (such as device tree or ACPI) > because it makes things so much easier to maintain. Some > upfront work, but a great win for everyone. Especially for > subsystem maintainers. We did that one for our SOC. We haven't ported a lot of legacy boards because we can't easily test most of them. > And if your arch uses highmem then please get rid of highmem. I'm > trying to do this a bit right now for ARM let's see how it goes. I don't believe it does? (We haven't got any configs using it, anyway...) > I understand that for some maintainers time is a factor and this list > feels stressful. I'd say relax, but it'd be nice if you have a TODO that > you cross items off of. My todo list runneth over. One of our perpetual todo list items is "collate todo lists"... > Just my €0.01 > Linus Walleij Rob