Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4702880ybl; Tue, 4 Feb 2020 00:12:47 -0800 (PST) X-Google-Smtp-Source: APXvYqySFt7W1ridOsbkommU38MV0TMErtWywCZLRGNIKH5Hxyscyfe3xCSxAzztYenL0d1jf1bt X-Received: by 2002:aca:48d0:: with SMTP id v199mr2619472oia.10.1580803967824; Tue, 04 Feb 2020 00:12:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580803967; cv=none; d=google.com; s=arc-20160816; b=EZn8xX7k56DUusJ8fN1H0yT6YMlskE75kBj2a524Hg/RIqLeKlLNJgDmIDrda0HeCi xcfc/d06WZFSB2l+o1PoN5xJ9ybpVTlJtH3UuwFirLl4sba4/84FbRigbdparINTgRVS hrKq/SMWH90DBW3AXs1YUDsEZjvakVKVxgaPzmNw2+uN+RIYVvB7eETuBWt1tRICFvXc 9tn+bITOsbdMwU8WIgTCl83SVFXlfkcD3IRHjqt/V5uMo7WF/TNTyKeEqM9xY33zeY+q IHsuHBbPvN2tQL2dDVhwryElsDjeJ3O8d7is0sCohM/awesXkou1nbykPHExH245jT8W xKmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=dum+o5gu2gGFpSl+O8wsomQ94Fs2sL9d8ohYuPebAnY=; b=IqFnfVEEZ/1EwURP5v0oC8h0fCQZkVqsktE/Q7VBprvTV5lf//7m0rT9YLU9Vj6fQ5 cXzLtUEFDMhDFzpfFSKx2AT8xT9gkYY1cT5XGdC4wqtuMv9PnBmcJFRYgYB7NSdt6nC5 oOleSBx2jz9X8eL8CV/g5GbYInCnFCWQyziQUYl5WWPlWLaBaYD2YQhxdnR9SJ23Q66G jtq0sC/ivTs2I8k7tvIoggp+MGclLhwajvLCKO9XEZ9S+nqqe6Ww3cUwb7HUxLJznlGy twewfB0eK2l0B9d+IgwjBcYPnI9mc66m1NAh10JzS8CRD8baY6N58IaTegBUy2j5N/02 jc7g== 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 l26si11659867oti.152.2020.02.04.00.12.34; Tue, 04 Feb 2020 00:12:47 -0800 (PST) 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 S1726898AbgBDICJ (ORCPT + 99 others); Tue, 4 Feb 2020 03:02:09 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:44017 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbgBDICI (ORCPT ); Tue, 4 Feb 2020 03:02:08 -0500 Received: by mail-oi1-f193.google.com with SMTP id p125so17544249oif.10; Tue, 04 Feb 2020 00:02:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dum+o5gu2gGFpSl+O8wsomQ94Fs2sL9d8ohYuPebAnY=; b=ns192hVFZLPa4xwD+cCtN++jd0e7NrjqVwQ2e49oDjaLNhpOUm/Bu5kJ5a4d1lgosZ TVlJ/oOUVGyp5LEq+2VxMJRPMh8sLMzj3oi+ms1wJ7GiTdLp0+pop+ISVGvhyPILgUZI 1k7J2R1U6/1y8Qfqd5XeKpshgkilbPJiOsB32iW8KxoZG4nXFqeG05SceaVXIPGY/1Nz GzGWAIHK0r7SXnIGwuSv8BePCNKYWBW3GgPmEkDMWRbx/pUkfK41/5hSbwlqYNnGyg34 0aDiv+dpr8yazbNJdtwXU2Oefr8FCq/cEo4rJmfe2yjTjSX6QaWZl6X0JwRfCtmGpSsN SHnQ== X-Gm-Message-State: APjAAAUQGwSL/O+4LDLfB9hZmiUtemXsVbAEjPbZVlgohb0erih9g1mw 9fQg+VLAuAfxF5RtnjkEEqCOhYHg1LjMMX+A7Mg= X-Received: by 2002:a54:4707:: with SMTP id k7mr2486144oik.153.1580803327484; Tue, 04 Feb 2020 00:02:07 -0800 (PST) MIME-Version: 1.0 References: <20200203101806.2441-1-peter.ujfalusi@ti.com> <701ab186-c240-3c37-2c0b-8ac195f8073f@ti.com> <38f686ae-66fa-0e3a-ec2e-a09fc4054ac4@physik.fu-berlin.de> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 4 Feb 2020 09:01:55 +0100 Message-ID: Subject: Re: [PATCH 0/3] dmaengine: Stear users towards dma_request_slave_chan() To: Peter Ujfalusi Cc: John Paul Adrian Glaubitz , Andy Shevchenko , Vinod Koul , dmaengine , Linux Kernel Mailing List , Dan Williams , Linux-sh list , Linux-Renesas Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On Tue, Feb 4, 2020 at 7:52 AM Peter Ujfalusi wrote: > On 03/02/2020 22.34, Geert Uytterhoeven wrote: > > On Mon, Feb 3, 2020 at 9:21 PM John Paul Adrian Glaubitz > > wrote: > >> On 2/3/20 2:32 PM, Geert Uytterhoeven wrote: > >>> Both rspi and sh-msiof have users on legacy SH (i.e. without DT): > >> > >> FWIW, there is a patch set by Yoshinori Sato to add device tree support > >> for classical SuperH hardware. It was never merged, unfortunately :(. > > > > True. > > > >>> Anyone who cares for DMA on SuperH? > >> > >> What is DMA used for on SuperH? Wouldn't dropping it cut support for > >> essential hardware features? > > > > It may make a few things slower. > > I would not drop DMA support but I would suggest to add dma_slave_map > for non DT boot so the _compat() can be dropped. Which is similar in spirit to gpiod_lookup and clk_register_clkdev(), right? > Imho on lower spec SoC (and I believe SuperH is) the DMA makes big > difference offloading data movement from the CPU. Assumed it is actually used... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds