[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f092c7a563f2f2b70ccb43340b95819adacb2ad6.camel@mediatek.com>
Date: Wed, 14 May 2025 09:05:09 +0000
From: Peter Wang (王信友) <peter.wang@...iatek.com>
To: "beanhuo@...ron.com" <beanhuo@...ron.com>, "avri.altman@....com"
<avri.altman@....com>, "quic_rampraka@...cinc.com"
<quic_rampraka@...cinc.com>, "quic_cang@...cinc.com" <quic_cang@...cinc.com>,
"quic_nguyenb@...cinc.com" <quic_nguyenb@...cinc.com>,
"quic_nitirawa@...cinc.com" <quic_nitirawa@...cinc.com>, "bvanassche@....org"
<bvanassche@....org>, "quic_ziqichen@...cinc.com"
<quic_ziqichen@...cinc.com>, "neil.armstrong@...aro.org"
<neil.armstrong@...aro.org>, "luca.weiss@...rphone.com"
<luca.weiss@...rphone.com>, "konrad.dybcio@....qualcomm.com"
<konrad.dybcio@....qualcomm.com>, "junwoo80.lee@...sung.com"
<junwoo80.lee@...sung.com>, "mani@...nel.org" <mani@...nel.org>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>
CC: "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
"manivannan.sadhasivam@...aro.org" <manivannan.sadhasivam@...aro.org>,
"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 v3] scsi: ufs: core: skip UFS clkscale if host
asynchronous scan in progress
On Wed, 2025-05-14 at 15:25 +0800, Ziqi Chen wrote:
>
> Hi Bart,
>
> I tried the scan_mutex, from debugging logs, it seems okay for now.
> I will provide to our internal test team for stability test.
> And I will try to collect the extra time spent on clock scaling
> path with applying scan_mutex.
> If everything is fine, I will update a new version.
>
> BRs,
> Ziqi
>
>
>
Hi Ziqi,
Could we enable devfreq when checking if hba->luns_avail equals 1
in ufshcd_device_configure?
I think we can use flow to ensure correctness; it doesn't
necessarily need to be protected by a mutex.
Thanks
Peter
Powered by blists - more mailing lists