linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: linux-scsi@vger.kernel.org, adrian.hunter@intel.com,
	Asutosh Das <asutoshd@codeaurora.org>,
	cang@codeaurora.org
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	"moderated list:ARM/Mediatek SoC support" 
	<linux-arm-kernel@lists.infradead.org>,
	linux-arm-msm@vger.kernel.org,
	"moderated list:ARM/Mediatek SoC support" 
	<linux-mediatek@lists.infradead.org>
Subject: Re: [PATCH v21 0/2] Enable power management for ufs wlun
Date: Mon, 10 May 2021 23:25:22 -0400	[thread overview]
Message-ID: <162070348784.27567.14973100785851703779.b4-ty@oracle.com> (raw)
In-Reply-To: <cover.1619223249.git.asutoshd@codeaurora.org>

On Fri, 23 Apr 2021 17:20:15 -0700, Asutosh Das wrote:

> This patch attempts to fix a deadlock in ufs while sending SSU.
> Recently, blk_queue_enter() added a check to not process requests if the
> queue is suspended. That leads to a resume of the associated device which
> is suspended. In ufs, that device is ufs device wlun and it's parent is
> ufs_hba. This resume tries to resume ufs device wlun which in turn tries
> to resume ufs_hba, which is already in the process of suspending, thus
> causing a deadlock.
> 
> [...]

Applied to 5.14/scsi-queue, thanks!

[1/2] scsi: ufs: Enable power management for wlun
      https://git.kernel.org/mkp/scsi/c/b294ff3e3449
[2/2] ufs: sysfs: Resume the proper scsi device
      https://git.kernel.org/mkp/scsi/c/aef80fd1da32

-- 
Martin K. Petersen	Oracle Linux Engineering

      parent reply	other threads:[~2021-05-11  3:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-24  0:20 Asutosh Das
2021-04-24  0:20 ` [PATCH v21 1/2] scsi: ufs: Enable power management for wlun Asutosh Das
2021-04-25 12:20   ` Adrian Hunter
2021-04-24  0:20 ` [PATCH v21 2/2] ufs: sysfs: Resume the proper scsi device Asutosh Das
2021-04-29  3:10 ` [PATCH v21 0/2] Enable power management for ufs wlun Martin K. Petersen
2021-04-29  7:01   ` Avri Altman
2021-05-11  3:25 ` Martin K. Petersen [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=162070348784.27567.14973100785851703779.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=adrian.hunter@intel.com \
    --cc=asutoshd@codeaurora.org \
    --cc=cang@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --subject='Re: [PATCH v21 0/2] Enable power management for ufs wlun' \
    /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

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).