From: Vinod Koul <vkoul@kernel.org>
To: Dave Jiang <dave.jiang@intel.com>
Cc: Jacob Pan <jacob.jun.pan@intel.com>, dmaengine@vger.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: fix lockdep warning on device driver removal
Date: Mon, 16 May 2022 18:19:40 +0530 [thread overview]
Message-ID: <YoJIZB5H4RjTZR0b@matsya> (raw)
In-Reply-To: <165231364426.986304.9294302800482492780.stgit@djiang5-desk3.ch.intel.com>
On 11-05-22, 17:00, Dave Jiang wrote:
> 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.
Applied, thanks
--
~Vinod
prev parent reply other threads:[~2022-05-16 12:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 0:00 [PATCH] dmaengine: idxd: fix lockdep warning on device driver removal Dave Jiang
2022-05-16 12:49 ` Vinod Koul [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YoJIZB5H4RjTZR0b@matsya \
--to=vkoul@kernel.org \
--cc=dave.jiang@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=jacob.jun.pan@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox