Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757428AbYGDBGq (ORCPT ); Thu, 3 Jul 2008 21:06:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754187AbYGDBGg (ORCPT ); Thu, 3 Jul 2008 21:06:36 -0400 Received: from yw-out-2324.google.com ([74.125.46.31]:31981 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753710AbYGDBGf (ORCPT ); Thu, 3 Jul 2008 21:06:35 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=iZFp17nfGfuEqOnq62oQny1hpJoiwku1cHF6XoA9YeNnhW95lVkMAOUN7ekr4W5h49 sGSCaVcTpRcwOP1rzAT4MAVSFQRjIC2mwIZ5CFBpYkGbC/qMZVdMaxjquY8dYFYWO3Sq SS37pYmCdwPxd7/MzkCsVuwakgkWzl0Lgt+s4= Message-ID: Date: Thu, 3 Jul 2008 18:06:27 -0700 From: "Dan Williams" To: "Haavard Skinnemoen" Subject: Re: [PATCH v4 0/6] dmaengine/mmc: DMA slave interface and two new drivers Cc: "Pierre Ossman" , linux-kernel@vger.kernel.org, linux-embedded@vger.kernel.org, kernel@avr32linux.org, shannon.nelson@intel.com, "David Brownell" In-Reply-To: <1214486603-23655-1-git-send-email-haavard.skinnemoen@atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1214486603-23655-1-git-send-email-haavard.skinnemoen@atmel.com> X-Google-Sender-Auth: c19edfd49c1683da Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2574 Lines: 66 On Thu, Jun 26, 2008 at 6:23 AM, Haavard Skinnemoen wrote: > First of all, I'm sorry it went so much time between v3 and v4 of this > patchset. I was hoping to finish this stuff up before all kinds of > other tasks started demanding my attention, but I didn't, so I had to > put it on hold for a while. Let's try again... > > This patchset extends the DMA engine API to allow drivers to offer DMA > to and from I/O registers with hardware handshaking, aka slave DMA. > Such functionality is very common in DMA controllers integrated on SoC > devices, and it's typically used to do DMA transfers to/from other > on-SoC peripherals, but it can often do DMA transfers to/from > externally connected devices as well (e.g. IDE hard drives). > > The main differences from v3 of this patchset are: > * A DMA descriptor can hold a whole scatterlist. This means that > clients using slave DMA can submit large requests in a single call > to the driver, and they only need to keep track of a single > descriptor. > * The dma_slave_descriptor struct is gone since clients no longer > need to keep track of multiple descriptors. > * The drivers perform better and are more stable. > > The dw_dmac driver depends on this patch: > > http://lkml.org/lkml/2008/6/25/148 > > and the atmel-mci driver depends on this series: > > http://lkml.org/lkml/2008/6/26/158 > > as well as all preceding patches in this series, of course. > > Comments are welcome, as usual! Shortlog and diffstat follow. > > Haavard Skinnemoen (6): > dmaengine: Add dma_client parameter to device_alloc_chan_resources Applied. I fixed it up for fsldma and mv_xor. > dmaengine: Add dma_chan_is_in_use() function I applied the chan->client_count patch that we talked about. > dmaengine: Add slave DMA interface There were some comments to the change log and other fixes, so I'll wait for v5 of this patch. > dmaengine: Make DMA Engine menu visible for AVR32 users Applied the "remove arch dependency in drivers/dma/Kconfig" instead. > dmaengine: Driver for the Synopsys DesignWare DMA controller > Atmel MCI: Driver for Atmel on-chip MMC controllers I will wait for v5 on these as well for the chan->client_count fixups and a response to the dma_unmap situation. Thanks, Dan -- 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/