diff options
author | Lior Amsalem <[email protected]> | 2015-05-26 15:07:32 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2015-06-10 22:18:30 +0530 |
commit | 9136291f1dbc1d4d1cacd2840fb35f4f3ce16c46 (patch) | |
tree | f4ed2951f43167da822efc5f1910f914988614e0 /tools/perf/util/trace-event-scripting.c | |
parent | e5489d5e9031e34d50f03e3d132f392314e74cf1 (diff) |
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 <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Reviewed-by: Ofer Heifetz <[email protected]>
Cc: [email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions