diff options
author | Dave Jiang <dave.jiang@intel.com> | 2022-05-11 17:00:44 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-05-16 18:19:29 +0530 |
commit | cf4ac3fef33883a14131d8925d7edfbdb7d69b68 (patch) | |
tree | f8bb4bc652c9bb5faf24f584f8079fa6e6142b1d /mm/memtest.c | |
parent | 42a1b73852c4a176d233a192422b5e1d0ba67cbf (diff) |
dmaengine: idxd: fix lockdep warning on device driver removal
Jacob reported that with lockdep debug turned on, idxd_device_driver
removal causes kernel splat from lock assert warning for
idxd_device_wqs_clear_state(). Make sure
idxd_device_wqs_clear_state() holds the wq lock for each wq when
cleaning the wq state. Move the call outside of the device spinlock.
Reported-by: Jacob Pan <jacob.jun.pan@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/165231364426.986304.9294302800482492780.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'mm/memtest.c')
0 files changed, 0 insertions, 0 deletions