Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3492284ybi; Fri, 5 Jul 2019 08:16:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwp8xloAtySfbku9uiRLX2xQ7zc6lv/LFVjpNWQE5ZKxeBgGw2G6sgRz/XCkec502Y4NaWi X-Received: by 2002:a63:f349:: with SMTP id t9mr5899955pgj.296.1562339800493; Fri, 05 Jul 2019 08:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339800; cv=none; d=google.com; s=arc-20160816; b=GuS72snZznt9pqHeoX0r1yuk2hZ5gcfh+zdWK2gcgwE59+pQ4NXDfZ7dVvrPk5q9DV JlLEfRwLbq7ll1AKJngAeGIiYlbuljemw6Z5dSSRbQazEHu+GhAvzAZhqcg+k7Zef9nn VVxLbw9B2PO47unPxRZjlP/35rquMDjXeeyAodYmdPlF7HOQn9kiDOYY1AE24KwPD0Wx NfvVddrjCMaGlvRMe7yJXFo5US1CKkkKVuO6QM+RdhOJHBOyK+XgATw1cAeEc3JeESsc vuUWFWn7WW2OrdQ9XC41nOEf+R6QHpM4hC7eHfJXefBcpP8mEdAa4WfWU5Otne1Jv7FI 8f6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ClqUaue7vRUWsxSKLABRRYnLQKA3VRvDx0yIc0NBrfc=; b=e1+sQUqEMS6aW457CmH4zC/Ig1l956jA1rzwC9KM0vbL45cSOTr1SdHksEjnYr6hdL hBOnS6+2viyQRGJJrvMLU72zJlgk6/izjW6WmPfgCapthPoMN9uUjgW3rjV4fL4IfmSk hDsbjsZgmEnudYTHvcm1xTr1ZwUG0qYGI3cSgVoK5CjQXGBSmBP5XyoLwe2jf+otAwl/ KyWEXjBT/I1gIElDgcjlnFS43uVzmDPU6WzjhO1nmrMKQgbxpiLVaz5wDaMKgpHHZOEm BRiO7ZQX9R5l4BZlYg5iDfGz+PsaByun7Famb6ym/UmJCjMUuQHzob90EPKadElicySy zo+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si9387490plh.59.2019.07.05.08.16.25; Fri, 05 Jul 2019 08:16:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728120AbfGEPP0 (ORCPT + 99 others); Fri, 5 Jul 2019 11:15:26 -0400 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:38922 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725497AbfGEPPZ (ORCPT ); Fri, 5 Jul 2019 11:15:25 -0400 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1hjPvP-0004CV-00; Fri, 05 Jul 2019 15:14:59 +0000 Date: Fri, 5 Jul 2019 11:14:59 -0400 From: Rich Felker To: Yoshinori Sato Cc: Arnd Bergmann , John Paul Adrian Glaubitz , Adam Borowski , Christoph Hellwig , Linus Torvalds , Linux-sh list , linux-arch , Linux Kernel Mailing List Subject: Re: [RFC] remove arch/sh? Message-ID: <20190705151459.GF1506@brightrain.aerifal.cx> References: <20190625085616.GA32399@lst.de> <20190625112146.GA9580@angband.pl> <401b12c0-d175-2720-d26c-b96ce3b28c71@physik.fu-berlin.de> <20190625142832.GD1506@brightrain.aerifal.cx> <87tvccr3kv.wl-ysato@users.sourceforge.jp> <20190626153820.GP1506@brightrain.aerifal.cx> <87a7ds4mis.wl-ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a7ds4mis.wl-ysato@users.sourceforge.jp> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 05, 2019 at 10:51:55PM +0900, Yoshinori Sato wrote: > On Thu, 27 Jun 2019 00:38:21 +0900, > Rich Felker wrote: > > > > On Wed, Jun 26, 2019 at 08:25:20PM +0900, Yoshinori Sato wrote: > > > On Wed, 26 Jun 2019 00:48:09 +0900, > > > Arnd Bergmann wrote: > > > > > > > > On Tue, Jun 25, 2019 at 4:28 PM Rich Felker wrote: > > > > > On Tue, Jun 25, 2019 at 02:50:01PM +0200, Arnd Bergmann wrote: > > > > > > don't build, or are incomplete and not worked on for a long > > > > > > time, compared to the bits that are known to work and that someone > > > > > > is still using or at least playing with. > > > > > > I guess a lot of the SoCs that have no board support other than > > > > > > the Hitachi/Renesas reference platform can go away too, as any products > > > > > > based on those boards have long stopped updating their kernels. > > > > > > > > > > My intent here was always, after getting device tree theoretically > > > > > working for some reasonable subset of socs/boards, drop the rest and > > > > > add them back as dts files (possibly plus some small drivers) only if > > > > > there's demand/complaint about regression. > > > > > > > > Do you still think that this is a likely scenario for the future though? > > > > > > > > If nobody's actively working on the DT support for the old chips and > > > > this is unlikely to change soon, removing the known-broken bits earlier > > > > should at least make it easier to keep maintaining the working bits > > > > afterwards. > > > > > > > > FWIW, I went through the SH2, SH2A and SH3 based boards that > > > > are supported in the kernel and found almost all of them to > > > > be just reference platforms, with no actual product ever merged. > > > > IIRC the idea back then was that users would supply their > > > > own board files as an add-on patch, but I would consider all the > > > > ones that did to be obsolete now. > > > > > > > > HP Jornada 6xx is the main machine that was once supported, but > > > > given that according to the defconfig file it only comes with 4MB > > > > of RAM, it is unlikely to still boot any 5.x kernel, let alone user > > > > space (wikipedia claims there were models with 16MB of RAM, > > > > but that is still not a lot these days). > > > > > > > > "Magicpanel" was another product that is supported in theory, but > > > > the google search showed the 2007 patch for the required > > > > flash storage driver that was never merged. > > > > > > > > Maybe everything but J2 and SH4(a) can just get retired? > > > > > > > > Arnd > > > > > > I also have some boards, so it's possible to rewrite more. > > > I can not rewrite the target I do not have, so I think that > > > there is nothing but to retire. > > > > To clarify, are you agreeing with Arnd's suggestion to retire/remove > > everything but jcore and sh4[a]? > > > > Rich > > I have SH2/2A/3 target board. > So can mantain CPU support. > But with board support it will be difficult. > I would like to make the transition to a common framework. > I also have to fix the parts that depend on each board for migration, > so I would like to limit the target for maintenance to only those > that can be used now. Do you still have a working version of your device tree patches that applies to current kernel? If not, could I post the forward-ported versions I have right now (they're not up to current kernel but newer) for you to take a look and see what might be wrong? Your original version with the kernel version it applied to worked, but my forward-port one doesn't. PCI is crashing during boot with the qemu-emulated board, so I can't get disks or network, and I eventually got frustrated trying to fix it and set it aside. Rich