diff options
| author | 2026-09-28 21:41:48 +0800 | |
|---|---|---|
| committer | 2026-09-30 08:08:34 -0400 | |
| commit | e95d076bc1fca7cc36fc8f2f0e9687f79fd314bd (patch) | |
| tree | b654911dde3612999b4b2469002445be27e8c2a8 /scripts/Makefile.thinlto | |
| parent | RDMA/hfi1: shut down the trap timer before unregistering (diff) | |
RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit
The SDMA state reference and completion cover the software cleanup
tasklet, but not the hardware cleanup tasklet, err_halt_worker, or
flush_worker. Queued instances can therefore access an SDMA engine after
per_sdma is released.
After the state machine has stopped, cancel err_halt_worker first
because it can publish the hardware cleanup tasklet. Then kill that
tasklet and drain the remaining flush work.
Fixes: 7724105686e7 ("IB/hfi1: add driver files")
Signed-off-by: Hongyan Xu <getshell@seu.edu.cn>
Link: https://patch.msgid.link/20260928134148.977-1-getshell@seu.edu.cn
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
