summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/registers.h
diff options
context:
space:
mode:
authorDan Williams2009-09-09 02:42:53 +0200
committerDan Williams2009-09-09 02:42:53 +0200
commit128f2d567f906d38b11d993d8d97b9b988848e26 (patch)
tree523fd4b737bd44bccddb2425ae0b16f78a819e19 /drivers/dma/ioat/registers.h
parentdmaengine, async_tx: support alignment checks (diff)
downloadkernel-qcow2-linux-128f2d567f906d38b11d993d8d97b9b988848e26.tar.gz
kernel-qcow2-linux-128f2d567f906d38b11d993d8d97b9b988848e26.tar.xz
kernel-qcow2-linux-128f2d567f906d38b11d993d8d97b9b988848e26.zip
ioat2+: add fence support
In preparation for adding more operation types to the ioat3 path the driver needs to honor the DMA_PREP_FENCE flag. For example the async_tx api will hand xor->memcpy->xor chains to the driver with the 'fence' flag set on the first xor and the memcpy operation. This flag in turn sets the 'fence' flag in the descriptor control field telling the hardware that future descriptors in the chain depend on the result of the current descriptor, so wait for all writes to complete before starting the next operation. Note that ioat1 does not prefetch the descriptor chain, so does not require/support fenced operations. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/registers.h')
0 files changed, 0 insertions, 0 deletions