async_tx: build-time toggling of async_{syndrome,xor}_val dma support
authorDan Williams <dan.j.williams@intel.com>
Fri, 20 Nov 2009 00:10:37 +0000 (17:10 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 20 Nov 2009 06:21:03 +0000 (23:21 -0700)
commit7b3cc2b1fc2066391e498f3387204908c4eced21
tree8a2bc28955710c580201046d04843773cb7d87a1
parent4499a24dec00e037da7d09caccad45e7594a9c19
async_tx: build-time toggling of async_{syndrome,xor}_val dma support

ioat3.2 does not support asynchronous error notifications which makes
the driver experience latencies when non-zero pq validate results are
expected.  Provide a mechanism for turning off async_xor_val and
async_syndrome_val via Kconfig.  This approach is generally useful for
any driver that specifies ASYNC_TX_DISABLE_CHANNEL_SWITCH and would like
to force the async_tx api to fall back to the synchronous path for
certain operations.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
crypto/async_tx/Kconfig
crypto/async_tx/async_pq.c
crypto/async_tx/async_xor.c
drivers/dma/Kconfig
drivers/dma/dmaengine.c
drivers/dma/ioat/dma_v3.c