Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Walleij
Date: Saturday, May 1, 2010 - 4:04 pm

2010/5/2 Russell King - ARM Linux <linux@arm.linux.org.uk>:


As long as Versatile doesn't specify any filter function or
data for the channel allocation function (it currently doesn't and defaults
to NULL) it won't even try to call the DMA engine to allocate a channel
for say the UART.

There is nothing blocking some other peripheral from grabbing a
muxed channel in that case.

But the implementation of the DMA engine would be better of
handling the muxing dynamically I believe, so when the PL011
driver (say) requests a DMA channel, it doesn't mean it requests the
*physical* channel and holds it (unless the driver is very naïvely
implemented) it nominally means it reserves a placeholder in the
DMA engine.

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.

Yours,
Linus Walleij
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus Walleij, (Wed Apr 7, 4:12 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Dan Williams, (Wed Apr 7, 4:45 pm)
RE: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus WALLEIJ, (Wed Apr 7, 11:35 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus Walleij, (Sun Apr 11, 7:13 am)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Russell King - ARM Linux, (Mon Apr 12, 12:23 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Dan Williams, (Wed Apr 14, 6:15 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus Walleij, (Fri Apr 16, 9:58 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Russell King - ARM Linux, (Thu Apr 22, 4:00 am)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus Walleij, (Fri Apr 30, 11:30 am)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Dan Williams, (Sat May 1, 3:00 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus Walleij, (Sat May 1, 3:27 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Russell King - ARM Linux, (Sat May 1, 3:44 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus Walleij, (Sat May 1, 4:04 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Dan Williams, (Sat May 1, 4:25 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Russell King - ARM Linux, (Sat May 1, 4:28 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Dan Williams, (Sat May 1, 4:28 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus Walleij, (Sat May 1, 4:48 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus Walleij, (Sat May 1, 5:21 pm)
Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Russell King - ARM Linux, (Sun May 2, 1:18 am)
RE: [PATCH 00/11] ARM: PrimeCell DMA Interface v5, Linus WALLEIJ, (Tue May 4, 6:05 am)