Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1983770imu; Fri, 23 Nov 2018 03:07:16 -0800 (PST) X-Google-Smtp-Source: AJdET5fj/TsrSzG82AwMgJn3fQyxQtnAvsxcfeS3q0ozbcphJ+IiVqHHQJTnqpyguiYYB0oC5GPQ X-Received: by 2002:a62:8d4f:: with SMTP id z76mr16009131pfd.2.1542971236621; Fri, 23 Nov 2018 03:07:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542971236; cv=none; d=google.com; s=arc-20160816; b=x+IEmmgI5YFnrOrgkytqKYwCIYSJbG7w2kEGHzZ7pXfJBWyABx3s22xECkmjDRKivD AVD8wfbKxrFGdk+WPYvWr+egGwXCjj/siojVVwNuShNFLfP/TK9/EhG6hVwKDI4BqUY2 aRbnZ8MSvFMJGIHB+gqKHL+jDqJkYxXbgPeEz2580Dnr6wU2hKlfZYE8fgiwqvImbqC7 WY22oODioqJecuNTEWrYwarSWSRX5NqdvFRjbjQIWA3zdhcbDBsxn60FNKdFqzIUkIxX mfP+fRYuJ4U+E9TuRaymMmyC2v1xp8/NeqwFY/42T673g+Rl9Ggsh3H2nGvT4unF2JpH YiKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6x2MxDkHB6qpj5hyItW86b8z8/JLPKx7NNxTtyvEZF4=; b=Fdc0cLUOOtELU047u7dwLJLoDCTiw/u+C4PYYcRQz7fCNiwJw1n7PQ43JgwSlJ/Kei I7w4SCJnKJQaEViuo0RC5cCsNDx1z3Htr3kHjXJuY/pI0wgVzBwXyuMF2WZva4oJAmfU 14Dd6Rhblp5b9zF9uvE40f6gCm4Wxl4yIhvkSkyjDP2/snc7bGGRdiYvCGqAPWDCJFeM FwYduUOGAe3G8IRAq7r3d26h0/sQJn/SLGY/lKMKBZUBX5eRQ85jIvf8s8XwbOnvzef4 ykUyoidWPk2hE7cD18b7H+l57HHe/zJ64A3/2+DJXDgFmlx16ffNEQBBDmJwbRsEk3pW H8qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=HMny3uil; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m33si50440789pgl.379.2018.11.23.03.07.00; Fri, 23 Nov 2018 03:07:16 -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=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=HMny3uil; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405197AbeKVVIz (ORCPT + 99 others); Thu, 22 Nov 2018 16:08:55 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:33076 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390585AbeKVVIz (ORCPT ); Thu, 22 Nov 2018 16:08:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6x2MxDkHB6qpj5hyItW86b8z8/JLPKx7NNxTtyvEZF4=; b=HMny3uilNNBrwK5jyYJGpduUD K+GdeQtte1lRl8SFPdmYacBdaX2ydhKddcjXHPpvCdJvGL7ljrkkPkSj0AZVWB0KaYaV4jIWXg3rQ AtiHK3iDnJ+8CiUv2o8uNNETzYr2uKeDagdOglmSK+y8Ar+cVUcDIIdDXAnrtNPl9yO7E=; Received: from n2100.armlinux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:4f86]:48885) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1gPmF6-0001U6-7s; Thu, 22 Nov 2018 10:29:52 +0000 Received: from linux by n2100.armlinux.org.uk with local (Exim 4.90_1) (envelope-from ) id 1gPmF3-0008AK-KY; Thu, 22 Nov 2018 10:29:49 +0000 Date: Thu, 22 Nov 2018 10:29:48 +0000 From: Russell King - ARM Linux To: Aaro Koskinen Cc: Peter Ujfalusi , vkoul@kernel.org, dan.j.williams@intel.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, tony@atomide.com, linux-omap@vger.kernel.org Subject: Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1 Message-ID: <20181122102948.GN6920@n2100.armlinux.org.uk> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181120210406.GB24888@darkstar.musicnaut.iki.fi> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up