dmaengine, async_tx: support alignment checks
authorDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:42:53 +0000 (17:42 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:42:53 +0000 (17:42 -0700)
commit83544ae9f3991bfc7d5e0fe9a3008cd05a8d57b7
treebc4b28c2e5bdae01a2c8a250176fcdac6ae7a8ce
parent9308add6ea4fedeba37b0d7c4630a542bd34f214
dmaengine, async_tx: support alignment checks

Some engines have transfer size and address alignment restrictions.  Add
a per-operation alignment property to struct dma_device that the async
routines and dmatest can use to check alignment capabilities.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
crypto/async_tx/async_memcpy.c
crypto/async_tx/async_memset.c
crypto/async_tx/async_pq.c
crypto/async_tx/async_xor.c
drivers/dma/dmatest.c
include/linux/dmaengine.h