Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753280Ab1DSGrR (ORCPT ); Tue, 19 Apr 2011 02:47:17 -0400 Received: from eu1sys200aog117.obsmtp.com ([207.126.144.143]:59066 "EHLO eu1sys200aog117.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751542Ab1DSGrO (ORCPT ); Tue, 19 Apr 2011 02:47:14 -0400 Message-ID: <4DAD2FD3.5010103@st.com> Date: Tue, 19 Apr 2011 12:16:43 +0530 From: viresh kumar User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: "Koul, Vinod" Cc: "linux-kernel@vger.kernel.org" , "Williams, Dan J" , "linux-arm-kernel@lists.infradead.org" , Armando VISCONTI , Shiraz HASHIM , amitgoel , "viresh.linux@gmail.com" , "jamie@jamieiles.com" , "linux@arm.linux.org.uk" Subject: Re: [PATCH 2/6] dmaengine/dw_dmac: Enable resubmission from callback routine. References: <438BB0150E931F4B9CE701519A44630108519E1BE6@bgsmsx502.gar.corp.intel.com> <4DAD2A61.4020406@st.com> <438BB0150E931F4B9CE701519A44630108519E1C1D@bgsmsx502.gar.corp.intel.com> In-Reply-To: <438BB0150E931F4B9CE701519A44630108519E1C1D@bgsmsx502.gar.corp.intel.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 27 On 04/19/2011 12:03 PM, Koul, Vinod wrote: > On 04/19/2011 11:53 AM, viresh kumar wrote: >> On 04/19/2011 11:42 AM, Koul, Vinod wrote: >>> On 04/18/2011 04:20 PM, viresh kumar wrote: >> Vinod, >> >> I initiated this discussion few days back on a separate thread: >> >> http://www.spinics.net/lists/arm-kernel/msg121139.html >> >> And so implemented this. > Ahhh, on the road, catching up on email... > > This was a dma engine requirement, not absolute for slave-dma. > But would be good idea to resist this. What is your reason for this? Mainline drivers using dmaengine are already submitting new transfers from callback routines. For example: amba-pl011. And i have to use pl011 with DMA, so faced this issue in dw_dmac. -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/