Re: [PATCH v1 1/2] scsi: ufs: core: Add UFS RTC support

From: Bean Huo
Date: Tue Nov 14 2023 - 13:43:04 EST


Hi Avri,


On Thu, 2023-11-09 at 15:09 +0000, Avri Altman wrote:
> > The objective of this patch is to incorporate Real Time Clock (RTC)
> > support in
> > Universal Flash Storage (UFS) device. This enhancement is crucial
> > for the
> > internal maintenance operations of the UFS device. The patch
> > enables the
> > device to handle both absolute and relative time information.
> > Furthermore, it
> > includes periodic task to update the RTC in accordance with the UFS
> > specification, ensuring the accuracy of RTC information for the
> > device's
> > internal processes.
> Maybe add some reference to qTimestamp and explain why RTC in seconds
> is still needed,
> when RTC in nanoseconds is already implemented?

Yes, I will add an explanation in the next version.

Kind regards,
Bean