Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3223625imu; Sat, 24 Nov 2018 00:29:33 -0800 (PST) X-Google-Smtp-Source: AJdET5e+JDvXbAa6xgOEC0lWxUXAsSy8PSTHCc7ox7tjiOxkcrSWtnTc97z5zUtnHfC6OeWDzVfQ X-Received: by 2002:a62:434d:: with SMTP id q74-v6mr19522904pfa.242.1543048173503; Sat, 24 Nov 2018 00:29:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543048173; cv=none; d=google.com; s=arc-20160816; b=OTRjiLyok0hR1yBqeY7itAwiuZiBukXgZx8ic2tzj1Uo21SXisjMYDvG4UK7Gamb4r IbS9JPrkQ5X2MLKiS7DKOQsNaKVE5c+y8o80bY1kWb+ybbBX8Rpy0jsjoee5R5YTL/+D axGIrGHDyYY70e00fbrUufGYQfrE4vor8yvj8b+nNd+4DbjBeMa8R8pK/GvRHZDtOB0l EjRsxNra+y7c57e4dDpW57/SlawVmynMEpAeQw5zdt8mOPOQYKeTr1icKhRMJrMbggGq XY/Q7J5WIV6Eb3uB/BCV7Dgrw3O4x1ohdyeblsLoI2XeipBqizf2O5oSZq/f2qSZbE+g BonA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=77axZYukm1rwXy9LqCTnhYduGHEZ/BUpu6p1xVF9b5Y=; b=DOfXZTB7Iov4Th73hKXwy0PHxw+2Smvv/4z7wkTjeyBDVktOMMMgzjsoVYbH3q87RA WQwmitV6cokZ4Fy8PRryGxH3Y0Zjg6N96dvx7aQtOGdNXjmV5zJiQ9+4HEWGfCDz8fib 8oqUN4K3zjBJnjJ3KCIptI1okbQbfUhifHVs987CXsTw3HSt14pzXCwWUi7KzxVhXICB LVFbbe+Dhqd5U9Y4LJNAsZcyNJDwVWejCY89V6dZsqvUssMrj1J/1vImLRy/Xd5LJxkK 7fdfymN9xIOkPWQm8jBzLEEOu7IThS+aVllavX1Czx+TxiE+vBJ6/hxA689B9TYFEWZm udIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Nifp6Emc; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y73si53394982pgd.478.2018.11.24.00.29.19; Sat, 24 Nov 2018 00:29:33 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Nifp6Emc; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405409AbeKWWck (ORCPT + 99 others); Fri, 23 Nov 2018 17:32:40 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:54972 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387945AbeKWWck (ORCPT ); Fri, 23 Nov 2018 17:32:40 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id wANBlwFH024508; Fri, 23 Nov 2018 05:47:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1542973678; bh=77axZYukm1rwXy9LqCTnhYduGHEZ/BUpu6p1xVF9b5Y=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Nifp6EmcVckRU7kvNR6M65cLs5x0WQAJEReonrLimF6GZ4ADlkIOAeSVVhZml71Ea 3MpELydltqsU0teRrgssKDyYDQ4/SMNsyLyPQJMU8Jd+brN61YM/fmI1sHDdKKI4/r Sbdw76ETF/QvYo4/GfbGZNDyc65kQyO6IrAms1po= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wANBlwa1068282 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 23 Nov 2018 05:47:58 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 23 Nov 2018 05:47:58 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 23 Nov 2018 05:47:58 -0600 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id wANBltg4030483; Fri, 23 Nov 2018 05:47:56 -0600 Subject: Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1 To: Russell King - ARM Linux , Aaro Koskinen CC: , , , , , References: <20181119104040.12885-1-peter.ujfalusi@ti.com> <20181119184649.GE16897@darkstar.musicnaut.iki.fi> <6af8c6e7-bf5c-5555-161b-5d3fb7ecae43@ti.com> <20181120210406.GB24888@darkstar.musicnaut.iki.fi> <20181122102948.GN6920@n2100.armlinux.org.uk> From: Peter Ujfalusi Message-ID: <6dbb56e9-f76b-5343-1c40-87f326fe06a7@ti.com> Date: Fri, 23 Nov 2018 13:49:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <20181122102948.GN6920@n2100.armlinux.org.uk> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/11/2018 12.29, Russell King - ARM Linux wrote: > On Tue, Nov 20, 2018 at 11:04:06PM +0200, Aaro Koskinen wrote: >> I had switched to PIO mode in 2015 since the WARNs about legacy DMA >> API were too annoying and flooding the console. And now that I tried >> using DMA again with g_ether, it doesn't work anymore. The device get's >> recognized on host side, but no traffic goes through. Switching back to >> PIO makes it to work again. > > A solution to that would be to do what the warning message says, and > update the driver to the DMAengine API. Yep, omap_udc is the last user of legacy omap_dma API. It is a slow progress as I do the conversion in my free time, onenand/omap2 and tusb was converted not too long ago, let's see how the omap_udc is going to go. > The reason it didn't get updated when the DMAengine conversion happened > is because I don't have hardware for it, so had no way to test, and no > one seemed to know that anyone was using it. Eventually, the WARN_ON() > was added to try and root out any users and generate interest in > updating the drivers. Obviously that didn't happen, because people > just worked around the warning rather than saying anything. > > I'm afraid we're long past the time that I'd be willing to update the > omap_udc driver now as I've dropped most of my knowledge on that as > it's been four years, and Peter has been looking after OMAP DMAengine > issues since. > > Sorry. > - Péter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki