From: Adrian Hunter <adrian.hunter@intel.com>
To: Bart Van Assche <bvanassche@acm.org>,
"Martin K . Petersen" <martin.petersen@oracle.com>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>,
linux-scsi@vger.kernel.org,
"James E.J. Bottomley" <jejb@linux.ibm.com>,
Stanley Chu <stanley.chu@mediatek.com>,
Asutosh Das <quic_asutoshd@quicinc.com>,
Avri Altman <avri.altman@wdc.com>, Bean Huo <beanhuo@micron.com>,
Ziqi Chen <quic_ziqichen@quicinc.com>,
Arthur Simchaev <Arthur.Simchaev@wdc.com>,
Adrien Thierry <athierry@redhat.com>
Subject: Re: [PATCH v3 3/4] scsi: ufs: Conditionally enable the BLK_MQ_F_BLOCKING flag
Date: Mon, 29 May 2023 09:51:19 +0300 [thread overview]
Message-ID: <b2d59318-1e83-ec68-bdfa-653ad862320a@intel.com> (raw)
In-Reply-To: <20230526173007.1627017-4-bvanassche@acm.org>
On 26/05/23 20:29, Bart Van Assche wrote:
> Prepare for adding code in ufshcd_queuecommand() that may sleep.
>
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
> drivers/ufs/core/ufshcd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
> index abe9a430cc37..c2d9109102f3 100644
> --- a/drivers/ufs/core/ufshcd.c
> +++ b/drivers/ufs/core/ufshcd.c
> @@ -10187,6 +10187,7 @@ int ufshcd_init(struct ufs_hba *hba, void __iomem *mmio_base, unsigned int irq)
> host->max_channel = UFSHCD_MAX_CHANNEL;
> host->unique_id = host->host_no;
> host->max_cmd_len = UFS_CDB_SIZE;
> + host->queuecommand_may_block = !!(hba->caps & UFSHCD_CAP_CLK_GATING);
>
> hba->max_pwr_info.is_valid = false;
>
next prev parent reply other threads:[~2023-05-29 6:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-26 17:29 [PATCH v3 0/4] ufs: Do not requeue while ungating the clock Bart Van Assche
2023-05-26 17:29 ` [PATCH v3 1/4] scsi: core: Rework scsi_host_block() Bart Van Assche
2023-05-26 17:29 ` [PATCH v3 2/4] scsi: core: Support setting BLK_MQ_F_BLOCKING Bart Van Assche
2023-05-26 17:29 ` [PATCH v3 3/4] scsi: ufs: Conditionally enable the BLK_MQ_F_BLOCKING flag Bart Van Assche
2023-05-29 6:51 ` Adrian Hunter [this message]
2023-05-26 17:29 ` [PATCH v3 4/4] scsi: ufs: Ungate the clock synchronously Bart Van Assche
2023-05-29 7:29 ` Adrian Hunter
2023-05-29 19:58 ` Bart Van Assche
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=b2d59318-1e83-ec68-bdfa-653ad862320a@intel.com \
--to=adrian.hunter@intel.com \
--cc=Arthur.Simchaev@wdc.com \
--cc=athierry@redhat.com \
--cc=avri.altman@wdc.com \
--cc=beanhuo@micron.com \
--cc=bvanassche@acm.org \
--cc=jaegeuk@kernel.org \
--cc=jejb@linux.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=quic_asutoshd@quicinc.com \
--cc=quic_ziqichen@quicinc.com \
--cc=stanley.chu@mediatek.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