From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5 Date: Sun, 2 May 2010 01:48:34 +0200 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: 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 In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org 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" 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= ? > =A0Or am I misunderstanding the usage model? Yes exactly that way. What I had in mind atleast. Yours, Linus Walleij