Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp314476pxb; Fri, 15 Jan 2021 04:07:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3Znk7S2v3sOTfsuGTWXdY0aYrGKHiqo/VlSWUdYo8AY2H/4BCGxU+WezttNeOf2LLR3YS X-Received: by 2002:a05:6402:1bde:: with SMTP id ch30mr3688203edb.151.1610712437477; Fri, 15 Jan 2021 04:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610712437; cv=none; d=google.com; s=arc-20160816; b=c0E6KFCymirx/ZMu0pknUH2LNGgFPlZXBvC3XR8iCWoI7Q2DoBI2yUFe2+0bgPEuOM yG3I4+4aJwv53PT/Xh8ghdSdJcQBLarPbuulaox3DIBilyJJrAyh9cqxNbm0dGooIWv3 ohNuyUaNUn+lkC+af4bTSj9MpoNcK9gWEz9utJgk2Ew66klMjULSfIAawkjThsTB6bv9 LEzCfGfrtXqB2VmY9Hr4lu25qfhcgd5ggo0qp7juyzWrvnwFFcBv7opDhyUnQPk6ukJS sdgVuuJf3O/gWqz8wTX5NS4OJ4UjJgN/qGMeqPKWXGozlmfINsWVQnWELz+wEj3RH3WE c8yA== 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=QOyMJfi2KAyiz2vUAHkd3Wxs+Ni+KGcE/opCvfrZdEY=; b=JtwZSbP8cPYe2+BvH4oH1uoE5bPfaqXy3gPUsRJ0Gdr88+iY6t4SGpL8flxDk3pEhQ OpjoegGHGRclTGzpTDlscFfOyxc+IDtaYOy6OWbLHYD3OdKQaRzs1C1k14fDTs4U4TWs PeF+k68g2QgIy+Cj6ZmpksRN79RmbhUi3bPrYcixCbg94JY4OTl+vFH+aCSYTSkE7QwD LPhoGRuSI2vKSUKQgRD4u1OHfzTBaJIrWNsEj+sRJKOtzckpuRvQNDCBxlvyIPvn0Q2I FxakGYcpfTYB5oYBqWtZJ2SSdF1K5L0v9OPuws6kAVuqr+neaWko9WkMJcGDn4MXlzIm zOlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HUb+cSyH; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f27si3963350ejf.555.2021.01.15.04.06.53; Fri, 15 Jan 2021 04:07:17 -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=@kernel.org header.s=k20201202 header.b=HUb+cSyH; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728830AbhAOMFu (ORCPT + 99 others); Fri, 15 Jan 2021 07:05:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:33044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbhAOMFu (ORCPT ); Fri, 15 Jan 2021 07:05:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id CEAC5238EB for ; Fri, 15 Jan 2021 12:05:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610712308; bh=3V9YgqwfCB9ETu7vLXXaseU8NA9t72oMsp6sjmLYI4Q=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HUb+cSyHFudL1n0aRcQCKP9IbSE9++VdVFL/NMkaWcC5fzHtTosni2avPTVPydhKL 5i4P9f7U3z+sB6nkAj6eGCDXnv3GuB+70YsYUWfq0qcbindDBbzFLzP9tWwApkLNHd acXap9ET5i/9XA1lRAYRn/Re6yQPY7qhMqpWP++FaQLkC9+1h27BC37VFU7uwj8+Xo chVtfya1zstM6CvsB/fIZtdOLapsZknEFjdCwv/JMZ2KgaUydwofdk/JtoMZPcQ8WN ha4FMRoc3APG0n1JysMdkn8MM/nq3YXbapcAXm5sWU/Zu9EkJopQpkGJrc5NT6h/8z 5DFxy4fU9kEVw== Received: by mail-ot1-f46.google.com with SMTP id b24so8312100otj.0 for ; Fri, 15 Jan 2021 04:05:08 -0800 (PST) X-Gm-Message-State: AOAM532kKyeFe/9TutznCkCy8QZAF0PoGWMnIA3epSKjRATDmfxQvqsi +nS037xbIi9A60XjVMVWwWtThEUaSI3S6fBP3uM= X-Received: by 2002:a9d:7a4b:: with SMTP id z11mr7991233otm.305.1610712307942; Fri, 15 Jan 2021 04:05:07 -0800 (PST) MIME-Version: 1.0 References: <60013F54.9050305@hisilicon.com> <14914300-b98a-fc60-fc06-0a6d62729d8e@huawei.com> In-Reply-To: <14914300-b98a-fc60-fc06-0a6d62729d8e@huawei.com> From: Arnd Bergmann Date: Fri, 15 Jan 2021 13:04:51 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [v2] Old platforms: bring out your dead To: "Leizhen (ThunderTown)" Cc: Wei Xu , Linux ARM , Linux Kernel Mailing List , Krzysztof Adamski , Oleksij Rempel , Baruch Siach , Russell King - ARM Linux , Daniel Tang , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Jamie Iles , Barry Song , Viresh Kumar , Linus Walleij , Jonas Jensen , Marc Gonzalez , Hartley Sweeten , Lubomir Rintel , Neil Armstrong , Shawn Guo , Alex Elder , Alexander Shiyan , Koen Vandeputte , Hans Ulli Kroll , Vladimir Zapolskiy , Steven Rostedt , Yoshinori Sato , Mark Salter , Michael Ellerman , Geert Uytterhoeven , Thomas Bogendoerfer , Tony Prisk , Krzysztof Halasa Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 15, 2021 at 12:09 PM Leizhen (ThunderTown) wrote: > On 2021/1/15 17:26, Arnd Bergmann wrote: > > On Fri, Jan 15, 2021 at 8:08 AM Wei Xu wrote: > >> On 2021/1/14 0:14, Arnd Bergmann wrote: > >>> On Fri, Jan 8, 2021 at 11:55 PM Arnd Bergmann wrote: > >>> * mmp -- added in 2009, DT support is active, but board files might go > >>> * cns3xxx -- added in 2010, last fixed in 2019, probably no users left > >>> * hisi (hip01/hip05) -- servers added in 2013, replaced with arm64 in 2016 > >> > >> I think it is OK to drop the support of the hip01(arm32) and hip05(arm64). > >> Could you also help to drop the support of the hip04(arm32) which I think nobody use as well? > > > > Thank you for your reply! I actually meant to write hip04 instead of hip05, > > so I was only asking about the two 32-bit targets. I would expect that > > hip05 still has a few users, but wouldn't mind removing that as well if you > > are sure there are none. > > > > Since Zhen Lei is starting to upstream Kunpeng506 and Kunpeng509 > > support, can you clarify how much reuse of IP blocks there is between > > hip04 and those? In particular, hip04 has custom code for (at least) > > platmcpm, clk, irqchip, ethernet, and hw_rng, probably more as those > > were only the ones I see on a quick grep. > > > > If we remove hip04, should we remove all these drivers right away, > > or keep some of them around? > > I think the drivers should be kept. Ok, will do. > Currently, at least hip04_eth.c and irq-hip04.c are used. These drivers > were originally written for Hip04, but the drivers used by other boards > maybe similar to them. Therefore, these drivers are extended without > adding new drivers. Right, so the other chips just use compatible="hisilicon,hip04-intc" etc. in their device trees? Is there a public copy of the dts files somewhere that I can use for cross-referencing? Sorry if I'm messing up the timeline for your upstreaming plans. It might actually be easier to leave hip01 and hip04 in the tree for the moment until you have upstreamed the other SoC support, and then we clean up by removing the unused bits afterwards. I'll leave it to you both to tell me which way is easier for you. Arnd