mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <mkp@kernel.org>
To: Joonhoe Kim <26rote@gmail.com>
Cc: James.Bottomley@HansenPartnership.com,  mkp@kernel.org,
	alim.akhtar@samsung.com,  bvanassche@acm.org,
	 beanhuo@micron.com, stanleyjhu@google.com,
	 peter.wang@mediatek.com, can.guo@oss.qualcomm.com,
	 mani@kernel.org,  linux-scsi@vger.kernel.org,
	linux-arm-msm@vger.kernel.org,  linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCH] scsi: ufs: core: Fix a deadlock between clock scaling and device commands
Date: Fri, 23 Oct 2026 22:42:32 -0400	[thread overview]
Message-ID: <yq17bj7akfk.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261016124608.46-1-26rote@gmail.com>


Joonhoe,

> Since commit 08b12cda6c44 ("scsi: ufs: core: Switch to
> scsi_get_internal_cmd()"), device management commands go through
> blk_execute_rq() on the pseudo SCSI device, which shares the tagset
> with the logical units, while ufshcd_dev_man_lock() holds
> clk_scaling_lock for reading.

Applied to 7.4/scsi-staging, thanks!

-- 
Martin K. Petersen

      parent reply	other threads:[~2026-10-24  2:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-16 12:46 Joonhoe Kim
2026-10-19 10:46 ` Peter Wang
2026-10-24  2:42 ` 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=yq17bj7akfk.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=26rote@gmail.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=alim.akhtar@samsung.com \
    --cc=beanhuo@micron.com \
    --cc=bvanassche@acm.org \
    --cc=can.guo@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=peter.wang@mediatek.com \
    --cc=stable@vger.kernel.org \
    --cc=stanleyjhu@google.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

all inboxes | Powered by JetHome®