From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757675Ab0EAXsi (ORCPT ); Sat, 1 May 2010 19:48:38 -0400 Received: from mail-bw0-f219.google.com ([209.85.218.219]:53584 "EHLO mail-bw0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753711Ab0EAXsg convert rfc822-to-8bit (ORCPT ); Sat, 1 May 2010 19:48:36 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=i04c17PYyA26EbfcCQ5a+pcXXf/or/16PgZlrNmPsfF1NXGHImplpGqcyBjvKGksAR 1Z2MMoCD2mTKOBOjdYrafuQN92cpFGKjrQtrC7T3BFz1SyPg5MgYEni14dDyYk9YUQl/ rEI1fS8aEQKmaPIPyGqt8iSgfZsav2nWAXX18= MIME-Version: 1.0 In-Reply-To: References: <1270681920-4461-1-git-send-email-linus.walleij@stericsson.com> <20100422110025.GC20008@n2100.arm.linux.org.uk> <20100501224429.GA17693@n2100.arm.linux.org.uk> Date: Sun, 2 May 2010 01:48:34 +0200 Message-ID: Subject: Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5 From: Linus Walleij To: Dan Williams Cc: Russell King - ARM Linux , Linus WALLEIJ , "akpm@linux-foundation.org" , Grant Likely , "linux-arm-kernel@lists.infradead.org" , "linux-mmc@vger.kernel.org" , STEricsson_nomadik_linux , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2010/5/2 Dan Williams : > On Sat, May 1, 2010 at 4:04 PM, Linus Walleij >> When the driver issues a request to perform a DMA transfer, it will pull >> out a physical channel and use that, then return it. If there is too >> much combat about the physical channels, you configure out DMA >> for the least wanted PrimeCells. >> > > Could you simulate this by publishing more struct dma_chans than are > physically present, and then handle the muxing internal to the driver? >  Or am I misunderstanding the usage model? Yes exactly that way. What I had in mind atleast. Yours, Linus Walleij