android_kernel_google_msm/drivers/dma
Lior Amsalem fbd2f7f70b dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup
commit 9136291f1dbc1d4d1cacd2840fb35f4f3ce16c46 upstream.

This patch fixes a bug in the XOR driver where the cleanup function can be
called and free descriptors that never been processed by the engine (which
result in data errors).

The cleanup function will free descriptors based on the ownership bit in
the descriptors.

Fixes: ff7b04796d ("dmaengine: DMA engine driver for Marvell XOR engine")
Signed-off-by: Lior Amsalem <alior@marvell.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-10-22 09:20:04 +08:00
..
ioat
ipu
ppc4xx
amba-pl08x.c
at_hdmac.c
at_hdmac_regs.h
coh901318.c
coh901318_lli.c
coh901318_lli.h
dmaengine.c
dmaengine.h
dmatest.c
dw_dmac.c
dw_dmac_regs.h
ep93xx_dma.c
fsldma.c
fsldma.h
imx-dma.c
imx-sdma.c
intel_mid_dma.c
intel_mid_dma_regs.h
iop-adma.c
iovlock.c
Kconfig
Makefile
mpc512x_dma.c
mv_xor.c dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup 2015-10-22 09:20:04 +08:00
mv_xor.h dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup 2015-10-22 09:20:04 +08:00
mxs-dma.c
pch_dma.c
pl330.c
sa11x0-dma.c
shdma.c
shdma.h
sirf-dma.c
ste_dma40.c
ste_dma40_ll.c
ste_dma40_ll.h
timb_dma.c
TODO
txx9dmac.c
txx9dmac.h