summaryrefslogtreecommitdiff
path: root/include/asm-xtensa/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@tuxon.dev>2026-03-16 15:32:45 +0200
committerVinod Koul <vkoul@kernel.org>2026-03-17 16:11:11 +0530
commitabb863e6213dc41a58ef8bb3289b7e77460dabf3 (patch)
treec94a9db98f08b19a05c354818259e5117cf457cc /include/asm-xtensa/git@git.tavy.me:linux.git
parente1c9866173c5f8521f2d0768547a01508cb9ff27 (diff)
dmaengine: sh: rz-dmac: Protect the driver specific lists
The driver lists (ld_free, ld_queue) are used in rz_dmac_free_chan_resources(), rz_dmac_terminate_all(), rz_dmac_issue_pending(), and rz_dmac_irq_handler_thread(), all under the virtual channel lock. Take the same lock in rz_dmac_prep_slave_sg() and rz_dmac_prep_dma_memcpy() as well to avoid concurrency issues, since these functions also check whether the lists are empty and update or remove list entries. Fixes: 5000d37042a6 ("dmaengine: sh: Add DMAC driver for RZ/G2L SoC") Cc: stable@vger.kernel.org Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Link: https://patch.msgid.link/20260316133252.240348-2-claudiu.beznea.uj@bp.renesas.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/asm-xtensa/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions