Re: [PATCH] RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit
From: Leon Romanovsky
Date: Wed Sep 30 2026 - 08:02:21 EST
On Mon, 28 Sep 2026 21:41:48 +0800, Hongyan Xu wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit
https://git.kernel.org/rdma/rdma/c/a57bf5ee252f5d
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>