Home
last modified time | relevance | path

Searched hist:"9136291 f1dbc1d4d1cacd2840fb35f4f3ce16c46" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/dma/
H A Dmv_xor.hdiff 9136291f1dbc1d4d1cacd2840fb35f4f3ce16c46 Tue May 26 08:07:32 CDT 2015 Lior Amsalem <alior@marvell.com> dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup

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: ff7b04796d98 ("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>
Cc: stable@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
H A Dmv_xor.cdiff 9136291f1dbc1d4d1cacd2840fb35f4f3ce16c46 Tue May 26 08:07:32 CDT 2015 Lior Amsalem <alior@marvell.com> dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup

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: ff7b04796d98 ("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>
Cc: stable@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>