]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: ioatdma: PQ err descriptors should callback with err results
authorDave Jiang <dave.jiang@intel.com>
Thu, 11 Dec 2014 16:13:42 +0000 (09:13 -0700)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Dec 2014 06:52:56 +0000 (12:22 +0530)
commitabf538ae0374ea827ac5fd51bf2a5184c50afd53
tree07c568e910157f26e61a3cc033ab30e25feb99b6
parent681d15ecd7c3fafb5c9b8c0305343a5abbf834d6
dmaengine: ioatdma: PQ err descriptors should callback with err results

The err completion callback is missing from the error handler. Two
reasons we never hit this. On Xeon because the hw err workaround, the
completion happens on a NULL descriptor so we don't do callback on the
PQ descriptor. On Atom we have DWBES support and thus the callback already
happened or we don't halt on error, so that was take cared of. But this code
needs to be corrected for future error handlers.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Acked-by Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ioat/dma_v3.c