Skip to content
Commit cc60f887 authored by Simon Guinot's avatar Simon Guinot Committed by Dan Williams
Browse files

dmaengine: fix interrupt clearing for mv_xor



When using simultaneously the two DMA channels on a same engine, some
transfers are never completed. For example, an endless lock can occur
while writing heavily on a RAID5 array (with async-tx offload support
enabled).

Note that this issue can also be reproduced by using the DMA test
client.

On a same engine, the interrupt cause register is shared between two
DMA channels. This patch make sure that the cause bit is only cleared
for the requested channel.

Signed-off-by: default avatarSimon Guinot <sguinot@lacie.com>
Tested-by: default avatarLuc Saillard <luc@saillard.org>
Acked-by: default avatarsaeed bishara <saeed.bishara@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent d3f3cf85
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment