aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorStanislaw Gruszka <[email protected]>2023-10-28 17:59:31 +0200
committerStanislaw Gruszka <[email protected]>2023-10-31 16:14:17 +0100
commit57c7e3e4800ad65048a7044b03723cd85d9595af (patch)
tree82e870cd80b7deba2134c5a7677962db251a30cf /tools/perf/scripts/python/bin
parenta06eb9be49a66e16e0c7819c630c1267c25b36dc (diff)
accel/ivpu: Stop job_done_thread on suspend
Stop job_done thread when going to suspend. Use kthread_park() instead of kthread_stop() to avoid memory allocation and potential failure on resume. Use separate function as thread wake up condition. Use spin lock to assure rx_msg_list is properly protected against concurrent access. This avoid race condition when the rx_msg_list list is modified and read in ivpu_ipc_recive() at the same time. Reviewed-by: Karol Wachowski <[email protected]> Reviewed-by: Jeffrey Hugo <[email protected]> Signed-off-by: Stanislaw Gruszka <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions