dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Dave Jiang <dave.jiang@intel.com>
Cc: dmaengine@vger.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: fix wq slot allocation index check
Date: Wed, 28 Jul 2021 17:58:05 +0530	[thread overview]
Message-ID: <YQFNVXlOrC4D9rBG@matsya> (raw)
In-Reply-To: <162697645067.3478714.506720687816951762.stgit@djiang5-desk3.ch.intel.com>

On 22-07-21, 10:54, Dave Jiang wrote:
> The sbitmap wait and allocate routine checks the index that is returned
> from sbitmap_queue_get(). It should be idxd >= 0 as 0 is also a valid
> index. This fixes issue where submission path hangs when WQ size is 1.

Applied, thanks

-- 
~Vinod

      reply	other threads:[~2021-07-28 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-22 17:54 [PATCH] dmaengine: idxd: fix wq slot allocation index check Dave Jiang
2021-07-28 12:28 ` 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=YQFNVXlOrC4D9rBG@matsya \
    --to=vkoul@kernel.org \
    --cc=dave.jiang@intel.com \
    --cc=dmaengine@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).