diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-09-04 14:19:39 +0800 |
|---|---|---|
| committer | Jassi Brar <jassisinghbrar@gmail.com> | 2026-10-11 20:05:37 -0500 |
| commit | 0cf10e65639cba32d05994f85e6a8f08dd0ffe08 (patch) | |
| tree | cd3e7f38813425bee636d2281ae0c98240fc637a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5b3379ff06fa917c565890162e5f8bdf0a381ee8 (diff) | |
mailbox: altera: shut down RX polling timer on channel teardown
The RX polling callback unconditionally rearms the timer after it
processes mailbox data. altera_mbox_shutdown() uses
timer_delete_sync(), which waits for a running callback but does not
prevent that callback from rearming the timer after the deletion.
Use timer_shutdown_sync() for the final polling teardown so the timer
cannot be queued again while the mailbox channel is being released.
The timer is reinitialized with timer_setup() on a later channel startup,
so polling mode remains reusable.
Fixes: f62092f6d77d ("mailbox: Add Altera mailbox driver")
Cc: stable@vger.kernel.org
Assisted-by: Codex:GPT-5
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
