Re: [PATCH] bus: mhi: ep: cancel reset work during controller teardown
From: Greg Kroah-Hartman
Date: Sun Oct 18 2026 - 02:34:17 EST
On Sun, Oct 18, 2026 at 12:06:14PM +0800, Jiale Yao wrote:
> The doorbell IRQ schedules reset_work on the system workqueue when the
> host requests an MHI reset. The controller teardown only drains the
> private MHI workqueue before releasing the controller state, so
> reset_work can still run after that state has been freed.
>
> Cancel reset_work before destroying the private workqueue and releasing
> the controller resources. The caller is required to power down the
> controller first, so the IRQ can no longer queue the work at this point.
>
> Fixes: 7a97b6b47353 ("bus: mhi: ep: Add support for handling MHI_RESET")
> Signed-off-by: Jiale Yao <yaojiale02@xxxxxxx>
> ---
> drivers/bus/mhi/ep/main.c | 1 +
> 1 file changed, 1 insertion(+)
How was this found and tested? What about a cc: stable?
thanks,
greg k-h