diff options
author | 2022-09-28 08:48:55 -0700 | |
---|---|---|
committer | 2022-09-29 13:02:38 +0530 | |
commit | 8e527aac055557897d43a3d74d7970ef5cf6a8bb (patch) | |
tree | f69b113b4a20446794a5727210641b9e62c29574 /tools/testing/selftests/bpf/prog_tests/skc_to_unix_sock.c | |
parent | dmaengine: pl08x: Fix double word (diff) | |
download | linux-dev-8e527aac055557897d43a3d74d7970ef5cf6a8bb.tar.xz linux-dev-8e527aac055557897d43a3d74d7970ef5cf6a8bb.zip |
dmaengine: idxd: Set wq state to disabled in idxd_wq_disable_cleanup()
If we are calling idxd_wq_disable_cleanup(), the workqueue should be
in a disabled state. So set the workqueue state to IDXD_WQ_DISABLED so
that the state reflects that. Currently if there is a device failure,
and a software reset is attempted the workqueues will not be
re-enabled due to idxd_wq_enable() seeing that state as already being
IDXD_WQ_ENABLED.
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-2-jsnitsel@redhat.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skc_to_unix_sock.c')
0 files changed, 0 insertions, 0 deletions