[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221202073231.GA5356@thinkpad>
Date: Fri, 2 Dec 2022 13:02:31 +0530
From: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
To: Bart Van Assche <bvanassche@....org>
Cc: martin.petersen@...cle.com, jejb@...ux.ibm.com,
andersson@...nel.org, vkoul@...nel.org, quic_cang@...cinc.com,
quic_asutoshd@...cinc.com, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-phy@...ts.infradead.org,
linux-scsi@...r.kernel.org, dmitry.baryshkov@...aro.org,
ahalaney@...hat.com, abel.vesa@...aro.org, alim.akhtar@...sung.com,
avri.altman@....com
Subject: Re: [PATCH v4 18/23] scsi: ufs: core: Add reinit_notify() callback
On Thu, Dec 01, 2022 at 10:05:57AM -0800, Bart Van Assche wrote:
> On 12/1/22 09:43, Manivannan Sadhasivam wrote:
> > reinit_notify() callback can be used by the UFS controllers to perform
> > changes required for UFS core reinit.
>
> What does "UFS core" refer to in this context? Should "UFS core" perhaps be
> changed into "UFS controller phy"?
>
By "UFS core" I meant the UFSHCD driver. Will change it.
> > diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h
> > index 5cf81dff60aa..af8c95077d96 100644
> > --- a/include/ufs/ufshcd.h
> > +++ b/include/ufs/ufshcd.h
> > @@ -297,6 +297,7 @@ struct ufs_pwr_mode_info {
> > * @config_scaling_param: called to configure clock scaling parameters
> > * @program_key: program or evict an inline encryption key
> > * @event_notify: called to notify important events
> > + * @reinit_notify: called to notify UFS core reinit
>
> Please make this comment more clear. Nobody knows what "UFS core" means.
>
Will change it to "called to notify reinit of UFSHCD during max gear switch"
Thanks,
Mani
> Thanks,
>
> Bart.
>
--
மணிவண்ணன் சதாசிவம்
Powered by blists - more mailing lists