RFC EDMA: Support to DMA scatter-lists with any no. of entries
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dma: edma: Setup parameters to DMA MAX_SG_NR at a timedrivers/ | +18 | 0 replies | |
| 2/5 | dma: edma: Write out and handle MAX_SG_NR at a given timedrivers/ | +54 | 0 replies | |
| 3/5 | ARM: edma: Add function to manually trigger an EDMA channelarch/ include/ | +23 | 0 replies | |
| 4/5 | dma: edma: Find missed events and issue themdrivers/ | +9 | 0 replies | |
| 5/5 | DMA: EDMA: Leave linked to Null slot instead of DUMMY slotdrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/5] EDMA: Support to DMA scatter-lists with any no. of entries
Re: on-going discussion at [1], I've added support to EDMA driver to be able to accept scatter gather lists of arbitrary length, but still make use of only a certain MAX number of slots. Thus free-ing up the rest of the slots to other slave users. With this there is no need for slave drivers to query the EDMA driver how much is the MAX. It can send SG lists of any number of entries to DMA.
Tested with various number of MAX slots , even just "1". In the case where it is 1, only 1-slot is used to transmit an entire set of scatter list. If only 1 slot is used for a channel, there is a performance impact, but it works. A DMA resources vs Performance tradeoff.
[1] http://marc.info/?l=linux-omap&m=137416733628831&w=2
Joel Fernandes (5):
dma: edma: Setup parameters to DMA MAX_SG_NR at a time
dma: edma: Write out and handle MAX_SG_NR at a given time
ARM: edma: Add function to manually trigger an EDMA channel
dma: edma: Find missed events and issue them
DMA: EDMA: Leave linked to Null slot instead of DUMMY slot
arch/arm/common/edma.c | 21 +++++++ drivers/dma/edma.c | 113 ++++++++++++++++++++++++++---------- include/linux/platform_data/edma.h | 2 + 3 files changed, 104 insertions(+), 32 deletions(-)
Signature · 1 line
1.7.9.5