]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb61d93a85d0df8533f77cd0ceb6c0a3c26417da5
tree8a2bc28955710c580201046d04843773cb7d87a1
parenta961951670cb693f464199fbf28c6a57a4602db6
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