From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Wang Shuaiwei <wangshuaiwei1@xiaomi.com>
Cc: Alim Akhtar <alim.akhtar@samsung.com>,
Avri Altman <avri.altman@wdc.com>,
Bart Van Assche <bvanassche@acm.org>,
"James E . J . Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K . Petersen" <martin.petersen@oracle.com>,
Peter Wang <peter.wang@mediatek.com>,
Bean Huo <beanhuo@micron.com>,
Adrian Hunter <adrian.hunter@intel.com>,
<linux-scsi@vger.kernel.org>, <wanghui33@xiaomi.com>
Subject: Re: [PATCH v2] scsi: ufs: core: Fix bRefClkFreq write failure in HS-LSS mode
Date: Tue, 21 Apr 2026 20:59:10 -0400 [thread overview]
Message-ID: <yq1tst3lsja.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20260414033718.1459540-1-wangshuaiwei1@xiaomi.com> (Wang Shuaiwei's message of "Tue, 14 Apr 2026 11:37:18 +0800")
Wang,
> According to the UFS spec, the bRefClkFreq attribute can only be
> written when both sub-links are in LS-MODE. However, in HS LSS mode
> with resetmode = HS_MODE, if the UFS device's default bRefClkFreq
> value differs from the host controller's dev_ref_clk_freq setting, the
> write operation will fail.
Applied to 7.1/scsi-staging, thanks!
--
Martin K. Petersen
next prev parent reply other threads:[~2026-04-22 0:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-14 3:37 [PATCH v2] scsi: ufs: core: Fix bRefClkFreq write failure in HS-LSS mode Wang Shuaiwei
2026-04-22 0:59 ` Martin K. Petersen [this message]
[not found] <1776153767068194.12.seg@mailgw02.mediatek.com>
2026-04-15 2:40 ` Peter Wang (王信友)
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=yq1tst3lsja.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=adrian.hunter@intel.com \
--cc=alim.akhtar@samsung.com \
--cc=avri.altman@wdc.com \
--cc=beanhuo@micron.com \
--cc=bvanassche@acm.org \
--cc=linux-scsi@vger.kernel.org \
--cc=peter.wang@mediatek.com \
--cc=wanghui33@xiaomi.com \
--cc=wangshuaiwei1@xiaomi.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