Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp466868rwb; Thu, 12 Jan 2023 23:25:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXtkfUsg+A55D9hH+UuiENlHWB/S1f2aKd/SkF4PCTxQMN/M2yOIMgudO26xAXwyYBIw4YAC X-Received: by 2002:a05:6a21:9211:b0:af:dd76:4f0d with SMTP id tl17-20020a056a21921100b000afdd764f0dmr11751223pzb.33.1673594734707; Thu, 12 Jan 2023 23:25:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673594734; cv=none; d=google.com; s=arc-20160816; b=O/wBZA8avEmdAyD+g1ThWYOvsNjoifagrXEp1iv+e00ufdLFr9944fuzbRlwYaRm8L tjE1n6oHauWubAPcvxZC17MXba3UxtR207tm2hY0O6fT8bWle6ugR/UGNy3qrmn2L/oL ISq5wTewOdKLXlB7qPrt4rlPqz8l+G7QJR4bVvQUg8ClaX6AI/9Y8U/3YJ/xlZArEiC7 vpG2LvKpOcAA/uU0hdyAvcwHm+Y4GFICtVBZOuDC92IdCORn1NVuQSJmybvVxSqPYErl RZgz+8hYWK2MsH/9r36En6YU0zcR9+uVpdvAHwG0p/LUcDH0sBr0f0aJyOFEpzwCzIjO U7bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Qiy8FWPgFJKSl1TPKutU1/SLVDiRY+QRx8AzPeOrnZ4=; b=nlMPbUtYAjGgepu0xrIszcjD3TtAAD2fJcRraVSVjiRJpKrH+Ki9q2CmbyCqwfziFY 66c+4m4ezBF4AE8D2IocinFmLR+7SItTLmpI0tGekLlzVH/l1SUQNFB/PkziQpr6d2t0 XgBNDnRisu18p2E2r6oLFzc87WLvokeXRBqMwukpjzn+YCNVBbELJocQoP+fn+i4LdRN N3TMUAayQHiyWiDD8fjspiLOT+fhDRzCXycGf1XT/U3JTNKft9woV1CKG8udP58HTWOw eXy4nMPydQYcNzEWOSyvR4L1IPx/UHjba+xn0YT/img7mTkLu8UTx0TcoKGFhbUjofbZ TExQ== 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 j190-20020a6380c7000000b004c259db61fdsi1720167pgd.561.2023.01.12.23.25.27; Thu, 12 Jan 2023 23:25:34 -0800 (PST) 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 S240906AbjAMHYS (ORCPT + 50 others); Fri, 13 Jan 2023 02:24:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241253AbjAMHXo (ORCPT ); Fri, 13 Jan 2023 02:23:44 -0500 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A522972886; Thu, 12 Jan 2023 23:14:32 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2210F80FA; Fri, 13 Jan 2023 07:14:32 +0000 (UTC) Date: Fri, 13 Jan 2023 09:14:30 +0200 From: Tony Lindgren To: Arnd Bergmann Cc: Aaro Koskinen , Lukas Bulwahn , Janusz Krzysztofik , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, Linux-OMAP , linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] usb: remove OMAP USB Device Controller and OHCI support for OMAP1/2 chips Message-ID: References: <20230112083746.9551-1-lukas.bulwahn@gmail.com> <20230112083746.9551-4-lukas.bulwahn@gmail.com> <3f2663ff-ff3f-4632-853a-ba4d38df9701@app.fastmail.com> <20230112140524.GK730856@darkstar.musicnaut.iki.fi> <179739a0-5d75-412b-964b-16d5cb6d306d@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <179739a0-5d75-412b-964b-16d5cb6d306d@app.fastmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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 * Arnd Bergmann [230112 14:31]: > On Thu, Jan 12, 2023, at 15:05, Aaro Koskinen wrote: > > On Thu, Jan 12, 2023 at 11:19:53AM +0100, Arnd Bergmann wrote: > >> On Thu, Jan 12, 2023, at 10:53, Tony Lindgren wrote: > >> > >> So if we want to kill off the old DMA stuff there is actually > >> a choice between either making omap_udc PIO-only or converting > >> it to use the standard dmaengine interface. > > > > I use this driver on Palm TE and 770, and without it those boards would > > be useless for my use cases. Also DMA doubles the throughput, probably > > also power usage is smaller. > > Ok, if the performance is important, converting to dmaengine > is probably best. Do you know if this is just a straightforward > replacement of the function calls, or are there technical reasons > why it's not using the dmaengine interface yet? Yes I agree dmaengine is the best solution. Seems like this is the last driver using the old api that never got updated probably because it's not used on the newer SoCs. I don't think there are any technical reasons to not use dmaengine here. FYI, the last blocker for dmaengine use was for drivers using port_window that got added with the drivers/usb/musb/tusb6010_omap.c dmaengine conversion a few years back. Regards, Tony