Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2040989rwo; Thu, 3 Aug 2023 03:59:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlGzEp3NGO2euC/0HbV3LcH8Wc/tgS6zGqNwNdD4DTOUqaSd/DcfqHuIXWyJKbykGWH9mtIv X-Received: by 2002:aa7:dace:0:b0:522:41b8:3dad with SMTP id x14-20020aa7dace000000b0052241b83dadmr7139825eds.15.1691060394585; Thu, 03 Aug 2023 03:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691060394; cv=none; d=google.com; s=arc-20160816; b=R8cns27xnRqf1YLzAD64ODp1uVJs9DoOBEkMx4me+cE2f0we+jIZW7l3xWQ3biTK/4 yD3jVfXW/C4hhtawbsJfAc1JWfdk4rhJAhSPViydYBsvNoejGwD1XtWUQyOQHMfxkkiL blocwnHGIjjFYw4rQAqswCA/moRzpFJmcxZHg1kZUxqhomT/qTp4awmDqiZHTeZylmwm LYsYyKuMoDxq8dpukSGsLne0bPWUSDSOOJ+O8Isp98PIcCYegMlMSGiYO7Hhdn/8YmLA dENtCL7xXm3OrcBppw0uqetbKOubwPb73Cx0Yn99IW9H3VMLoeSHrcwhcqw6GpaI3i3Y mrHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature; bh=6GCfwGVDh4pV4qT2QnUJlrhM8/F1MKbIvYbU3kAhYD4=; fh=ZY0B8HKYRKgWjRTMPXI7uHAueikYNXzckvPAfr6ReWg=; b=LktjM88YkfZYxoz5GvTF6fk03TYkZzNU0XihwuN5VVBFqT/yATJHtwjo63Obr+Cfot yvq/s0/L4PJ4LbVnV4D3tSF6TOUdT81BdPpuz0rlNDCZWunak+X1fFO7KLchEuZlh+i3 Wv3nf4QGj2lnZ1OD4vzP3YFnZq4tk9SRqxnW01n5spKVbOGkyDojIBhXTPZMKJOZM/md rEMD1fW4ZtcXfSce7uKp/faGPMtQACqj/BYp45uCq/LvXN5IpAN4yfspeuRvoZoAhM+2 dudLk2mDD4NZmZGUBJHVHJd7gWdAiXbuPKPnhAe8jAI9420TcSXm3ZsSHfQse7YcI+ZC J2TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WQ3YxRTT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020aa7d503000000b005222c5636cesi12074394edq.40.2023.08.03.03.59.30; Thu, 03 Aug 2023 03:59:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WQ3YxRTT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235080AbjHCJUE (ORCPT + 99 others); Thu, 3 Aug 2023 05:20:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235079AbjHCJT3 (ORCPT ); Thu, 3 Aug 2023 05:19:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F4CF3588 for ; Thu, 3 Aug 2023 02:19:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2CC4461D02 for ; Thu, 3 Aug 2023 09:19:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29959C433CA; Thu, 3 Aug 2023 09:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691054366; bh=+YP6BwBbxh7CWrNRq+3Moki+4QaTvwJk3L5Xzum7BFE=; h=In-Reply-To:References:Date:From:To:Cc:Subject:From; b=WQ3YxRTT3nJ7eseT5Yp+27RAjLRVvVFiqZ5cwiDbF3nD8MYGbSghD20JdS6eGTGoH 280uFnNjnWK9Y2cxgLw7YdoN4f+J5l/PdLUfn8NQ8NPc48EQuubAcoNMky18V5LJwO CkRtm3tYU3ozfJfTrqdDcZzvazTzSiWGLE8Wq3Ti4T8fM03Sq3FWz/Yx70Uoym16Tw Y+LZdrpBVof5dgIljW5aGhFZiaE5HmlQsgayBV7S9r7pz95ohpbNDkCOFV2+hPjNsH tOQMPESyr96VME5DSLUxTBsk3dFlJN21FUtVujqce1gRMozoGwFENg1zB47q2eGjfS PeZ8Q9rYuEcug== Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id 0817D27C005B; Thu, 3 Aug 2023 05:19:24 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Thu, 03 Aug 2023 05:19:25 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrkedvgddufecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusehkvghrnhgvlhdrohhrgheqnecuggftrf grthhtvghrnhepvddttdffjeefgeeggfelfefggefhheeffefftefggfelgeduveevtefh feejveeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghrnhguodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduvdekhedujedt vdegqddvkeejtddtvdeigedqrghrnhgupeepkhgvrhhnvghlrdhorhhgsegrrhhnuggsrd guvg X-ME-Proxy: Feedback-ID: i36794607:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4017DB60089; Thu, 3 Aug 2023 05:19:24 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-624-g7714e4406d-fm-20230801.001-g7714e440 Mime-Version: 1.0 Message-Id: <4a3fae63-cf85-4e18-b785-1a438ec761aa@app.fastmail.com> In-Reply-To: References: <20230802184849.1019466-3-arnd@kernel.org> Date: Thu, 03 Aug 2023 11:19:03 +0200 From: "Arnd Bergmann" To: "John Paul Adrian Glaubitz" , "D. Jeff Dionne" Cc: linux-sh@vger.kernel.org, "Rich Felker" , "Yoshinori Sato" , "Geert Uytterhoeven" , linux-kernel@vger.kernel.org, "Arnd Bergmann" Subject: Re: [PATCH 3/4] sh: remove superhyway bus support Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 3, 2023, at 10:44, John Paul Adrian Glaubitz wrote: > On Thu, 2023-08-03 at 16:58 +0900, D. Jeff Dionne wrote: >> On Aug 3, 2023, at 04:15, Arnd Bergmann wrote: >> >=20 >> > From: Arnd Bergmann >> >=20 >> > superhyway was only referenced on sh4-202, which is now gone, so re= move it all as well. >> >=20 >> > I could find no trace of anything ever calling >> > superhyway_register_driver(), not in the git history but also not o= n the web, so I assume this has never served any purpose on mainline ker= nels. >>=20 >> I don=E2=80=99t know, but I think it is fairly safe to assume that th= ere were no superhyway implementations other than internal to SuperH Co = (or Hitachi). Probably not at ST either. >>=20 >> I think this board, and infrastructure, can go without affecting any = actual (even historical) user. If anyone wants further conformation tha= t there are/were no users of this in the wild, raise a flag and I will f= ind out. > > OK, I'll think about applying this series. The thing is, we're going t= o=20 > convert SuperH > to device trees anyways. We're waiting now Yoshinori to post a rebased=20 > version of the > patch series. Applying this first should definitely help with the DT conversion, especially not having to create a bus specific binding for superhyway would help, as converting that to DT would be a complete rewrite but also be untestable without drivers attaching to the bus. I would also recommend trying to eliminate most of the SoC support for chips that only support a reference board but no products or known user of the reference board itself. While a lot of the conversion could be done fairly mechanical, at least the clk driver for each chip is a huge effort. I looked at the clk conversion in the past, as this is not just needed for the DT work, but also to remove CONFIG_HAVE_LEGACY_CLK. The patch series I did a while ago renames the sh clk interfaces to no longer conflict with COMMON_CLK, which should allow it to coexist with a DT-enabled platform in the same kernel build. Let me know if you'd like me to dig out and rebase that series, it probably still applies and may help you here. Arnd