summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFan Wu <fanwu01@zju.edu.cn>2026-07-31 08:59:15 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-08-03 16:31:22 +0200
commit440915499231e9db1c361aa45bb702e8fd3b4a32 (patch)
treeb8b67de4cd868844833719e36482426edf256cf9 /tools/perf/scripts/python
parent36672c8d7d14e9c43287528455d2c97b526ea6ad (diff)
serial: amba-pl011: synchronize DMA teardown
dmaengine_terminate_all() does not wait for a running callback, so the TX callback can still touch the TX buffer after it is freed. The RX poll timer reads the RX buffers without the port lock. Switch to dmaengine_terminate_sync() and delete the RX timer before freeing the buffers. Fixes: ead76f329f77 ("ARM: 6763/1: pl011: add optional RX DMA to PL011 v2") Cc: stable <stable@kernel.org> Assisted-by: Codex:gpt-5.6 Signed-off-by: Fan Wu <fanwu01@zju.edu.cn> Link: https://patch.msgid.link/20260731085915.326775-4-fanwu01@zju.edu.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions