[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <234a5185-d7f3-fe81-9c02-7895691c1fbd@quicinc.com>
Date: Fri, 3 Oct 2025 14:27:18 -0700
From: "Bao D. Nguyen" <quic_nguyenb@...cinc.com>
To: Peter Wang (王信友) <peter.wang@...iatek.com>,
"avri.altman@....com" <avri.altman@....com>,
"quic_cang@...cinc.com"
<quic_cang@...cinc.com>,
"quic_nitirawa@...cinc.com"
<quic_nitirawa@...cinc.com>,
"manivannan.sadhasivam@...aro.org"
<manivannan.sadhasivam@...aro.org>,
"bvanassche@....org"
<bvanassche@....org>,
"adrian.hunter@...el.com" <adrian.hunter@...el.com>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>
CC: "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"beanhuo@...ron.com" <beanhuo@...ron.com>,
"alim.akhtar@...sung.com"
<alim.akhtar@...sung.com>,
"James.Bottomley@...senPartnership.com"
<James.Bottomley@...senPartnership.com>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 2/2] scsi: ufs: core: Reduce the sleep before vcc can
be powered on
On 10/2/2025 8:11 PM, Peter Wang (王信友) wrote:
> On Thu, 2025-10-02 at 12:00 -0700, Bao D. Nguyen wrote:
>>
>> Hi Peter,
>> I have discussed with the major ufs vendors (Samsung, Kioxia, Micron,
>> and SK Hynix) via emails. They are all in agreement that 2ms is good.
>> I
>> did check the current device's datasheets and 1ms is what their
>> specifications require. I admit that I may have missed some very old
>> ufs
>> device's datasheets. However, I take the words of the ufs vendor's
>> engineering teams and the current device's datasheets that the 2ms is
>> good for their devices and try to improve the potentially
>> conservative
>> 5ms delay parameter.
>>
>> Thanks, Bao
>>
>>
>>
>
> Hi Bao,
>
> Yes, I am concerned that legacy UFS devices may encounter errors
> when upgrading the kernel if the delay is not sufficient.
>
> Furthermore, the vendor claims that 2ms is sufficient. Is this
> based on a typical scenario? or should we be concerned about
> the worst-case scenario? I am also worried that the worst-case
> delay may not be enough.
With the current or recent offerings of ufs devices in the market, the
requirement is 1ms. For example, the Kioxia datasheet says "Vcc shall be
kept less than 0.3V for at least 1ms before it goes beyond 0.3V again".
Similarly other vendors have this 1ms requirement. So I believe this
indicates the worst case scenario.
I understand there may be very old devices that are upgrading the kernel
only. In that case I don't know the specifics for these old ufs parts as
mentioned.
Thanks, Bao
>
> Thanks
> Peter
>
Powered by blists - more mailing lists