kernel_optimize_test/drivers/dma
Dan Williams 0036731c88 async_tx: kill tx_set_src and tx_set_dest methods
The tx_set_src and tx_set_dest methods were originally implemented to allow
an array of addresses to be passed down from async_xor to the dmaengine
driver while minimizing stack overhead.  Removing these methods allows
drivers to have all transaction parameters available at 'prep' time, saves
two function pointers in struct dma_async_tx_descriptor, and reduces the
number of indirect branches..

A consequence of moving this data to the 'prep' routine is that
multi-source routines like async_xor need temporary storage to convert an
array of linear addresses into an array of dma addresses.  In order to keep
the same stack footprint of the previous implementation the input array is
reused as storage for the dma addresses.  This requires that
sizeof(dma_addr_t) be less than or equal to sizeof(void *).  As a
consequence CONFIG_DMADEVICES now depends on !CONFIG_HIGHMEM64G.  It also
requires that drivers be able to make descriptor resources available when
the 'prep' routine is polled.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
2008-02-06 10:12:17 -07:00
..
dmaengine.c async_tx: kill tx_set_src and tx_set_dest methods 2008-02-06 10:12:17 -07:00
ioat_dca.c I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioat_dma.c async_tx: kill tx_set_src and tx_set_dest methods 2008-02-06 10:12:17 -07:00
ioat.c I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma_hw.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma_registers.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma.h I/OAT: fixups from code comments 2007-12-17 19:28:17 -08:00
iop-adma.c async_tx: kill tx_set_src and tx_set_dest methods 2008-02-06 10:12:17 -07:00
iovlock.c [NET_DMA]: remove unused dma_memcpy_to_kernel_iovec 2007-07-31 02:28:03 -07:00
Kconfig async_tx: kill tx_set_src and tx_set_dest methods 2008-02-06 10:12:17 -07:00
Makefile I/OAT: Add DCA services 2007-10-16 09:43:09 -07:00