diff options
author | Tomasz Moń <tomasz.mon@camlingroup.com> | 2022-01-17 10:19:55 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-02-15 11:11:06 +0530 |
commit | 177360e04b70b1d3937471e42201cdbb831a82da (patch) | |
tree | a36f93feae648f04e9995e5d4abff01e5cb2053e /security/tomoyo/domain.c | |
parent | 5b215c28b923539a04587b6a3f78a449f967ae32 (diff) | |
download | linux-177360e04b70b1d3937471e42201cdbb831a82da.tar.bz2 |
dmaengine: imx-sdma: fix cyclic buffer race condition
Assign buffer ownership to SDMA after invoking descriptor callback to
make sure that SDMA does not write to the buffer before it is read by
the CPU.
Signed-off-by: Tomasz Moń <tomasz.mon@camlingroup.com>
Link: https://lore.kernel.org/r/20220117091955.1038937-2-tomasz.mon@camlingroup.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'security/tomoyo/domain.c')
0 files changed, 0 insertions, 0 deletions