Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2423215rwr; Sat, 6 May 2023 10:34:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7GC1FsxnfYZqz5fSg1YY2kBgbwgZUtN2wHPOXbD6KhvXUVevkcS7jw+gGiFJVPSfo14st3 X-Received: by 2002:a05:6a00:2e8f:b0:641:4d8a:23e3 with SMTP id fd15-20020a056a002e8f00b006414d8a23e3mr7430282pfb.13.1683394458798; Sat, 06 May 2023 10:34:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683394458; cv=none; d=google.com; s=arc-20160816; b=RJ4Gz5L2vFillD1HWaRY9dTUnDUtNfiQMg7zraU+0Y2/5fg3sXD9JW+dg2cugtLmiF epyhiDeUuOiuz4ktWUZuumM/BNceGQdf5ulQPJhWpASGbN2l5DaTrlM5EkTiotXzZbAH L3gPXHaYHZ7NU4bFnW3wcV3c43Me0QrfSvHWSKFQpgy+n9Q9ihJ6p0MQpxn1ZfVDDu6w FukwHsBjrlkTFbnHlHJOc7/8d2kPZdejgGiQCZgx9RbOk2udMBWSyrdkCae7od6jom0J n4SiCjPyoNt3C+f89tUL1vw1dDIQNK+2SnLRp5T9X+KfYidxWA0u3RxRoDI8ws4Udn8z 3A0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=oI/rGV4TinmPNt/bqCJ4gMnXzPDJNhiW1B6JIB0SRVE=; b=ZAQE9SGO5P8e7WoWVemfbknVcy0F8tIwJdAUGWkt/yCTQMfOQDoQrk1OcuFedIFv66 n6JWEZZuqkaypRly3y8r+CWBlr5xQOcU8uIy0R53X52XxcpvTrArD2a8ROtFPrppR9jN Pg11eKTHbrvxEZGDxcKYqLljJGu4+vObR6M79ktdxwOPYkZ2yoxpkYUuaA/52vBhgCkX mRCyLuBqdqtPaKe01CUA8pV6mvfE1m3fLunRTNiAp/CZjmi4FSJwj5ovFAPsXL4r/EgE 1wNnuECdWcHq2RWWWqjrsi5g0dVJ1V+oyxdGXEsOUSfq87xO3hUwrZQ4EeAdHdfnNmAq ZVfQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w68-20020a623047000000b00641265d7890si4642837pfw.176.2023.05.06.10.34.04; Sat, 06 May 2023 10:34:18 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229831AbjEFR3J (ORCPT + 99 others); Sat, 6 May 2023 13:29:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjEFR3H (ORCPT ); Sat, 6 May 2023 13:29:07 -0400 X-Greylist: delayed 902 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 06 May 2023 10:29:05 PDT Received: from brightrain.aerifal.cx (brightrain.aerifal.cx [216.12.86.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9504316349 for ; Sat, 6 May 2023 10:29:05 -0700 (PDT) Date: Sat, 6 May 2023 12:56:43 -0400 From: Rich Felker To: John Paul Adrian Glaubitz Cc: Artur Rojek , Yoshinori Sato , Rafael Ignacio Zurita , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] SH7709 DMA fixes Message-ID: <20230506165642.GO3298@brightrain.aerifal.cx> References: <20230506141703.65605-1-contact@artur-rojek.eu> <3e9c027dd90ca9d4a02ba06714960ddcdae5fd2c.camel@physik.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3e9c027dd90ca9d4a02ba06714960ddcdae5fd2c.camel@physik.fu-berlin.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Sat, May 06, 2023 at 05:25:01PM +0200, John Paul Adrian Glaubitz wrote: > Hi Artur! > > Thanks a lot for your patches! > > On Sat, 2023-05-06 at 16:17 +0200, Artur Rojek wrote: > > this series provides fixes to the SH7709 DMA controller, allowing the HP > > Jornada 680 palmtop to boot Linux again. To my knowledge, this is the > > first time in ~14 years someone tests upstream Linux on this device. And > > with the included patches applied, I'm happy to announce that it still > > works like a charm. > > Wow, that sounds great! I will be happy to review your patches. > > > PS. What might be of interest to the sh-linux community, there's further > > work towards this platform in my pipeline. E.g. I've added support for > > the HD6446x PCMCIA controller, allowing Jornada 680 to use Ethernet and > > Wi-Fi cards. However, what prevents proper upstream of such a driver is > > the crude and antiquated code of the underlying platform base. For > > example, the HD6446x bridge (`cchips/hd6446x/hd64461.c`) lacks the > > concept of clocks, preventing the PCMCIA driver from hardware agnostic > > clock gating. So what I'm looking into next is the cleanup of existing > > platform code base, bringing it up-to-date with modern kernel APIs. > > Hopefully it's not trying to bite more than I can chew, but eventually > > ending up with Device Tree support would be really nice :) > > Yes, there is still a lot of modernization work to be done for SuperH! > > Device tree has actually been worked on in the past and there is a patch > set by Yoshinori Sato to add support for device tree that got never merged, > see [1]. > > Geert and I are planning to have another look at these patches and see whether > we can get them into a shape where they can be merged. Maybe you can help us > with that effort. At one point I tried to rebase these to run on what was (at the time) current, and had partial success -- I got it to start booting with DT under qemu, but my work rebasing the PCI stuff had problems and IIRC prevented getting virtio working -- it was crashing at that stage. If there's interest I can see if I can dig up that rebased branch in case it would be useful to look at. It probably has mistakes but might be a start for looking at what changed out from under the patches that needs to change. Rich