1
0
Fork 0
alistair23-linux/drivers/dma
Dan Williams a06d568f7c async_xor: dma_map destination DMA_BIDIRECTIONAL
Mapping the destination multiple times is a misuse of the dma-api.
Since the destination may be reused as a source, ensure that it is only
mapped once and that it is mapped bidirectionally.  This appears to add
ugliness on the unmap side in that it always reads back the destination
address from the descriptor, but gcc can determine that dma_unmap is a
nop and not emit the code that calculates its arguments.

Cc: <stable@kernel.org>
Cc: Saeed Bishara <saeed@marvell.com>
Acked-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2008-12-08 13:46:00 -07:00
..
Kconfig fsldma: allow Freescale Elo DMA driver to be compiled as a module 2008-09-26 17:00:11 -07:00
Makefile dmaengine: Driver for the Synopsys DesignWare DMA controller 2008-07-08 11:59:42 -07:00
dmaengine.c dmaengine: protect 'id' from concurrent registrations 2008-12-03 17:25:36 -07:00
dmatest.c dmaengine: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-11 13:12:33 -07:00
dw_dmac.c dw_dmac: fix copy/paste bug in tasklet 2008-10-03 18:22:18 -07:00
dw_dmac_regs.h dmaengine: Driver for the Synopsys DesignWare DMA controller 2008-07-08 11:59:42 -07:00
fsldma.c fsldma: allow Freescale Elo DMA driver to be compiled as a module 2008-09-26 17:00:11 -07:00
fsldma.h fsldma: allow Freescale Elo DMA driver to be compiled as a module 2008-09-26 17:00:11 -07:00
ioat.c I/OAT: I/OAT version 3.0 support 2008-07-22 17:30:57 -07:00
ioat_dca.c I/OAT: I/OAT version 3.0 support 2008-07-22 17:30:57 -07:00
ioat_dma.c ioat: wait for self-test completion 2008-12-03 17:16:55 -07:00
ioatdma.h I/OAT: I/OAT version 3.0 support 2008-07-22 17:30:57 -07:00
ioatdma_hw.h I/OAT: I/OAT version 3.0 support 2008-07-22 17:30:57 -07:00
ioatdma_registers.h I/OAT: I/OAT version 3.0 support 2008-07-22 17:30:57 -07:00
iop-adma.c async_xor: dma_map destination DMA_BIDIRECTIONAL 2008-12-08 13:46:00 -07:00
iovlock.c [2/4] I/OAT: fix dma_pin_iovec_pages() error handling 2008-11-10 15:00:56 -08:00
mv_xor.c async_xor: dma_map destination DMA_BIDIRECTIONAL 2008-12-08 13:46:00 -07:00
mv_xor.h dmaengine: DMA engine driver for Marvell XOR engine 2008-07-08 11:58:36 -07:00