diff options
author | Arnaud Pouliquen <[email protected]> | 2023-03-31 18:06:34 +0200 |
---|---|---|
committer | Mathieu Poirier <[email protected]> | 2023-04-03 11:03:50 -0600 |
commit | 35bdafda40cc343ad2ba2cce105eba03a70241cc (patch) | |
tree | baaf3c7a1283bc2b15189fe9181fe17fb6c6220c /tools/perf/scripts/python | |
parent | 8666071391f473bfb1c0935576e3bf9c94b04f4e (diff) |
remoteproc: stm32_rproc: Add mutex protection for workqueue
The workqueue may execute late even after remoteproc is stopped or
stopping, some resources (rpmsg device and endpoint) have been
released in rproc_stop_subdevices(), then rproc_vq_interrupt()
accessing these resources will cause kernel dump.
Call trace:
virtqueue_add_inbuf
virtqueue_add_inbuf
rpmsg_recv_single
rpmsg_recv_done
vring_interrupt
stm32_rproc_mb_vq_work
process_one_work
worker_thread
kthread
Suggested-by: Mathieu Poirier <[email protected]>
Signed-off-by: Arnaud Pouliquen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions