linux-kernel-test/drivers/dma
Guennadi Liakhovetski 3542a113ab sh: fix DMA driver's descriptor chaining and cookie assignment
The SH DMA driver wrongly assigns negative cookies to transfer descriptors,
also, its chaining of partial descriptors is broken. The latter problem is
usually invisible, because maximum transfer size per chunk is 16M, but if you
artificially set this limit lower, the driver fails. Since cookies are also
used in chunk management, both these problems are fixed in one patch. As side
effects a possible memory leak, when descriptors are prepared, but not
submitted, and multiple races have also been fixed.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-12-17 09:41:39 -07:00
..
ioat ioat3: fix uninitialized var warnings 2009-09-21 09:22:29 -07:00
ipu dma: fix ipu_idmac.c to not discard the last queued buffer 2009-05-12 14:41:48 -07:00
ppc4xx ppc440spe-adma: adds updated ppc440spe adma driver 2009-12-11 21:24:44 -07:00
at_hdmac_regs.h at_hdmac: implement a private tx_list 2009-09-08 17:53:03 -07:00
at_hdmac.c dma: at_hdmac: correct incompatible type for argument 1 of 'spin_lock_bh' 2009-12-16 11:21:48 -07:00
coh901318_lli.c Add COH 901 318 DMA block driver v5 2009-11-19 23:45:19 -07:00
coh901318_lli.h Add COH 901 318 DMA block driver v5 2009-11-19 23:45:19 -07:00
coh901318.c Add COH 901 318 DMA block driver v5 2009-11-19 23:45:19 -07:00
dmaengine.c Merge branch 'dmaengine' into async-tx-next 2009-09-08 17:55:21 -07:00
dmatest.c dmaengine: fix dmatest to verify minimum transfer length and test buffer size 2009-12-10 23:27:51 -07:00
dw_dmac_regs.h dw_dmac: implement a private tx_list 2009-09-08 17:53:02 -07:00
dw_dmac.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx into for-linus 2009-09-23 18:31:11 +10:00
fsldma.c fsldma: Add DMA_SLAVE support 2009-09-08 17:53:04 -07:00
fsldma.h fsldma: split apart external pause and request count features 2009-09-08 17:53:04 -07:00
iop-adma.c iop-adma.c: use resource_size() 2009-12-11 21:24:33 -07:00
iovlock.c net_dma: poll for a descriptor after allocation failure 2009-09-08 17:38:54 -07:00
Kconfig ppc440spe-adma: adds updated ppc440spe adma driver 2009-12-11 21:24:44 -07:00
Makefile ppc440spe-adma: adds updated ppc440spe adma driver 2009-12-11 21:24:44 -07:00
mv_xor.c mv_xor: implement a private tx_list 2009-09-08 17:53:03 -07:00
mv_xor.h mv_xor: implement a private tx_list 2009-09-08 17:53:03 -07:00
shdma.c sh: fix DMA driver's descriptor chaining and cookie assignment 2009-12-17 09:41:39 -07:00
shdma.h sh: fix DMA driver's descriptor chaining and cookie assignment 2009-12-17 09:41:39 -07:00
txx9dmac.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx into for-linus 2009-09-23 18:31:11 +10:00
txx9dmac.h txx9dmac: implement a private tx_list 2009-09-08 17:53:03 -07:00