Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754264AbXJXPLf (ORCPT ); Wed, 24 Oct 2007 11:11:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752882AbXJXPL0 (ORCPT ); Wed, 24 Oct 2007 11:11:26 -0400 Received: from mga09.intel.com ([134.134.136.24]:40628 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016AbXJXPLZ convert rfc822-to-8bit (ORCPT ); Wed, 24 Oct 2007 11:11:25 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.21,325,1188802800"; d="scan'208";a="184996098" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: [PATCH] DMA: Correct invalid assumptions in the Kconfig text Date: Wed, 24 Oct 2007 08:11:23 -0700 Message-ID: In-Reply-To: <1193218705-16685-1-git-send-email-hskinnemoen@atmel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] DMA: Correct invalid assumptions in the Kconfig text Thread-Index: AcgWIdhZSEx2LZNUSaGjTkEmDCEPvAALil7Q References: <1193218705-16685-1-git-send-email-hskinnemoen@atmel.com> From: "Nelson, Shannon" To: "Haavard Skinnemoen" Cc: , "David Brownell" , , X-OriginalArrivalTime: 24 Oct 2007 15:11:24.0090 (UTC) FILETIME=[2437F1A0:01C81650] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2621 Lines: 70 >From: Haavard Skinnemoen [mailto:hskinnemoen@atmel.com] >Subject: [PATCH] DMA: Correct invalid assumptions in the Kconfig text > >This patch corrects what I hope are invalid assumptions about the DMA >engine layer: Not only Intel(R) hardware can do DMA, and DMA can be >used for other things than memcpy and RAID offloading. > >At the same time, make the DMA Engine menu visible again on AVR32. I'm >currently working on a driver for a DMA controller that can do >mem-to-mem transfers (which is supported by the framework) as well as >device-to-mem and mem-to-device transfers (not currently supported.) > >Signed-off-by: Haavard Skinnemoen >--- >Don't get me wrong; I think Intel deserves lots of respect for >creating this framework. But this is also why I got a bit disappointed >when I discovered that it seems to be less generic than I initially >hoped. > >DMA controllers, which may support plain memcpy acceleration in >addition to more traditional "slave DMA", are very common in SoC >devices, and I think Linux needs a common framework for it. The >existing DMA Engine framework seems to come pretty close already, but >I think it needs more input from the embedded crowd before it can be >completely usable on a large number of embedded systems. > >I'm not going to suggest any changes to the actual framework for >2.6.24, but I think the _intention_ of the framework needs to be >clarified. > >Haavard > > drivers/dma/Kconfig | 10 ++++++---- > 1 files changed, 6 insertions(+), 4 deletions(-) > >diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig >index 9c91b0f..62a9fe5 100644 >--- a/drivers/dma/Kconfig >+++ b/drivers/dma/Kconfig >@@ -3,11 +3,13 @@ > # > > menuconfig DMADEVICES >- bool "DMA Offload Engine support" >- depends on (PCI && X86) || ARCH_IOP32X || ARCH_IOP33X >|| ARCH_IOP13XX >+ bool "DMA Engine support" >+ depends on (PCI && X86) || ARCH_IOP32X || ARCH_IOP33X >|| ARCH_IOP13XX || AVR32 > help >- Intel(R) offload engines enable offloading memory >copies in the >- network stack and RAID operations in the MD driver. >+ DMA engines can do asynchronous data transfers without >+ involving the host CPU. This can be used to offload memory >+ copies in the network stack and RAID operations in the MD >+ driver. > > if DMADEVICES > >-- >1.5.3.4 > Acked-by: Shannon Nelson - 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/