Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757373Ab3FSS4l (ORCPT ); Wed, 19 Jun 2013 14:56:41 -0400 Received: from mail-la0-f43.google.com ([209.85.215.43]:43163 "EHLO mail-la0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756776Ab3FSS4k (ORCPT ); Wed, 19 Jun 2013 14:56:40 -0400 MIME-Version: 1.0 In-Reply-To: <20130619175206.GA20737@jonmason-lab> References: <1371602813-19828-1-git-send-email-jon.mason@intel.com> <1371602813-19828-3-git-send-email-jon.mason@intel.com> <20130619175206.GA20737@jonmason-lab> Date: Wed, 19 Jun 2013 11:56:38 -0700 X-Google-Sender-Auth: pUCqtvlwQogDLyhsI24Rf6HesdM Message-ID: Subject: Re: [PATCH 2/2] ioatdma: add DMA_PRIVATE capabilities flag From: Dan Williams To: Jon Mason Cc: Vinod Koul , Dave Jiang , Linux Kernel Mailing List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 23 On Wed, Jun 19, 2013 at 10:52 AM, Jon Mason wrote: >> DMA_PRIVATE here keeps all channels private, so they couldn't be used >> elsewhere, for example raid offload. Do you need a private allocation >> or can you get away with a dynamically assigned channel? > > I would like to have a dedicated DMA engine. async_tx could cause the > copies to complete out of order. Do I need to add infrastructure to > allow for private channel usage, and when unused allow the channel to > be used by async_tx? Can NTB just call dma_find_channel() once and be done? Also, async_tx will only get things out of order if you allow it to pick a new channel for every operation, but as long as you specify a dependency chain it will keep things in order (same as remembering the result of dma_find_channel). -- 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/