summaryrefslogtreecommitdiff
path: root/drivers/dma/idxd/irq.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-07 07:06:29 +0300
committerVinod Koul <vkoul@kernel.org>2021-03-16 13:45:06 +0300
commit868833fbffbe51c487df4f95d4de9194264a4b30 (patch)
tree5a6912f8073d5ec62e6d076bfb87400455ca5bd2 /drivers/dma/idxd/irq.c
parent1cbd44666216278bbb6a55bcb6b9283702171c77 (diff)
downloadlinux-868833fbffbe51c487df4f95d4de9194264a4b30.tar.xz
dmaengine: xilinx: dpdma: Fix race condition in done IRQ
The active descriptor pointer is accessed from different contexts, including different interrupt handlers, and its access must be protected by the channel's lock. This wasn't done in the done IRQ handler. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/20210307040629.29308-3-laurent.pinchart@ideasonboard.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd/irq.c')
0 files changed, 0 insertions, 0 deletions