From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754578Ab1ISLSj (ORCPT ); Mon, 19 Sep 2011 07:18:39 -0400 Received: from mga14.intel.com ([143.182.124.37]:9528 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751530Ab1ISLSi (ORCPT ); Mon, 19 Sep 2011 07:18:38 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.68,404,1312182000"; d="scan'208";a="18396374" Subject: RE: [PATCH v2] dmaengine: add CSR SiRFprimaII DMAC driver From: Vinod Koul To: Barry Song Cc: "21cnbao@gmail.com" <21cnbao@gmail.com>, Arnd Bergmann , Jassi Brar , Linus Walleij , "linux-kernel@vger.kernel.org" , DL-SHA-WorkGroupLinux , Rongjun Ying , "linux-arm-kernel@lists.infradead.org" In-Reply-To: <5EB3BFCD089AD643B9BB63439F5FD5E9840F3B18@SHAASIEXM01.ASIA.ROOT.PRI> References: <1316166960-20964-1-git-send-email-Baohua.Song@csr.com> <1316422774.26662.30.camel@vkoul-udesk3> <5EB3BFCD089AD643B9BB63439F5FD5E9840F3A8D@SHAASIEXM01.ASIA.ROOT.PRI> <1316425277.26662.41.camel@vkoul-udesk3> <5EB3BFCD089AD643B9BB63439F5FD5E9840F3B18@SHAASIEXM01.ASIA.ROOT.PRI> Content-Type: text/plain; charset="UTF-8" Date: Mon, 19 Sep 2011 16:44:38 +0530 Message-ID: <1316430878.26662.46.camel@vkoul-udesk3> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2011-09-19 at 09:56 +0000, Barry Song wrote: > > > > Not sure why you support this, there seem to be no DMA_SLAVE > support in > > > > this version ate least > > > > > > Not. I support dma_slave. But I have no prep_slave_sg function > since I can > > use the gen xfer to replace it. > > Yes thats okay... > > > > Then I have questions on genxfer function... > > where are you copying either src or dstn_start address, you seem to > > completely ignore them? > > Since I only support memory->device or device ->memory, and channel > number is fixed to every device. Then I actually don't care device > address at all. Either src or dst is fixed to the device's address. peripheral address can be fixed, not the memory, where do you copy the memory address? > > > > > Do you support only slave transfers or M2M as well for this driver? > > If only slave you might want to check if dma_config_slave is set for > > this channel or not. > > I support only slave transfer. Actually I have dma_config_slave. do > you mean I need to check whether slave config cmd is really called > before executing dma? Yes -- ~Vinod