From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [94.23.35.102] (helo=mail.free-electrons.com) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V458b-0004Gt-2N for linux-mtd@lists.infradead.org; Tue, 30 Jul 2013 08:18:35 +0000 Date: Tue, 30 Jul 2013 10:18:09 +0200 From: Thomas Petazzoni To: Daniel Mack Subject: Re: [PATCH 00/13] pxa3xx patches to support mvebu builds Message-ID: <20130730101809.7c28525c@skate> In-Reply-To: <51F772FC.90404@gmail.com> References: <1375140263-2028-1-git-send-email-ezequiel.garcia@free-electrons.com> <51F76EBA.1020504@gmail.com> <20130730095310.38400ca6@skate> <51F772FC.90404@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Lior Amsalem , Jason Cooper , Artem Bityutskiy , leiwen@marvell.com, haojian.zhuang@gmail.com, Chao Xie , linux-mtd@lists.infradead.org, grinberg@compulab.co.il, Ezequiel Garcia , Gregory Clement , eric.miao@marvell.com, computersforpeace@gmail.com, David Woodhouse , Willy Tarreau , nikita@compulab.co.il List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Dear Daniel Mack, On Tue, 30 Jul 2013 10:02:04 +0200, Daniel Mack wrote: > On 30.07.2013 09:53, Thomas Petazzoni wrote: > > On Tue, 30 Jul 2013 09:43:54 +0200, Daniel Mack wrote: > >> Interesting, because I'm working on a dmaengine implementation for > >> PXA right now. I'm not even half through, but I'm making progress, > >> and I'm not sure yet how to merge it. Because there won't be any > >> migration path, it'll be a bigger set that has to go in in one in > >> order to prevent build breakage. > > > > Aren't drivers/dma/mmp_pdma.c and drivers/dma/mmp_tdma.c already > > dmaengine drivers for PXA ? > > Yes, I saw the pdma driver as well, after I started my own > implementation. However, the tree is full of users of the proprietary > API, and moving them over won't be gap-less. Indeed. Some patches migrating the pxa3xx_nand driver to use the dmaengine API have been posted a while ago, but they haven't been merged because one needs to convert *all* the PXA drivers to the dmaengine API to get the thing working. At Linaro Connect earlier this month, I've talked about this with Chao Xie from Marvell, and he was interested in making progress towards dmaengine usage on PXA platforms. > > Considering the amount of time it will take for PXA to migrate over > > to the dmaengine API, I think we'd want those clean up patches to > > go in first, so that in parallel to the work you're doing on PXA > > dmaengine usage, we can move forward with improving the pxa3xx_nand > > driver to make it usable on Armada 370/XP. > > Ok, fine. I'll rework my set on top of Ezequiel's then. Excellent, thanks! Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com