diff options
author | 2022-09-28 08:48:56 -0700 | |
---|---|---|
committer | 2022-09-29 13:02:38 +0530 | |
commit | de5819b994893197c71c86d21af10f85f50d6499 (patch) | |
tree | e6389ac7a5b01c38f82455e92f2cd28e503b02b3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dmaengine: idxd: Set wq state to disabled in idxd_wq_disable_cleanup() (diff) | |
download | linux-dev-de5819b994893197c71c86d21af10f85f50d6499.tar.xz linux-dev-de5819b994893197c71c86d21af10f85f50d6499.zip |
dmaengine: idxd: track enabled workqueues in bitmap
Now that idxd_wq_disable_cleanup() sets the workqueue state to
IDXD_WQ_DISABLED, use a bitmap to track which workqueues have been
enabled. This will then be used to determine which workqueues
should be re-enabled when attempting a software reset to recover
from a device halt state.
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20220928154856.623545-3-jsnitsel@redhat.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions