Re: [PATCH v2 0/2] dmaengine: idxd: Fix up re-enabling device workqueues

From: Vinod Koul
Date: Thu Sep 29 2022 - 03:32:56 EST


On 28-09-22, 08:48, Jerry Snitselaar wrote:
> Currently if a software reset is attempted on an idxd device
> the workqueues will not be re-enabled, because it will see
> incorrectly see that wq->state is already set to IDXD_WQ_ENABLED.
> So set the workqueue state to disabled in idxd_wq_disable_cleanup(),
> and use a bitmap to track which workqueues have been enabled so they
> can be re-enabled during device re-initialization.

Applied, thanks

--
~Vinod