Re: [PATCH] MIPS: Loongson64: Add read_persistent_clock64()

2020-11-13 Thread Jiaxun Yang
于 2020年11月13日 GMT+08:00 上午11:41:01, Tiezhu Yang 写到: >On 11/13/2020 10:21 AM, Jiaxun Yang wrote: >> >> >> 在 2020/11/12 20:03, Tiezhu Yang 写道: >>> On 11/12/2020 06:09 PM, Jiaxun Yang wrote: 在 2020/11/12 18:04, Jiaxun Yang 写道: > Hi Tiezhu, > > 在 2020/11/12 16:29, Tiezhu

Re: [PATCH] MIPS: Loongson64: Add read_persistent_clock64()

2020-11-12 Thread Tiezhu Yang
On 11/13/2020 10:21 AM, Jiaxun Yang wrote: 在 2020/11/12 20:03, Tiezhu Yang 写道: On 11/12/2020 06:09 PM, Jiaxun Yang wrote: 在 2020/11/12 18:04, Jiaxun Yang 写道: Hi Tiezhu, 在 2020/11/12 16:29, Tiezhu Yang 写道: Add read_persistent_clock64() to read the time from the battery backed persistent

Re: [PATCH] MIPS: Loongson64: Add read_persistent_clock64()

2020-11-12 Thread Jiaxun Yang
在 2020/11/12 20:03, Tiezhu Yang 写道: On 11/12/2020 06:09 PM, Jiaxun Yang wrote: 在 2020/11/12 18:04, Jiaxun Yang 写道: Hi Tiezhu, 在 2020/11/12 16:29, Tiezhu Yang 写道: Add read_persistent_clock64() to read the time from the battery backed persistent clock. With this patch, we can fix the

Re: [PATCH] MIPS: Loongson64: Add read_persistent_clock64()

2020-11-12 Thread Tiezhu Yang
On 11/12/2020 06:09 PM, Jiaxun Yang wrote: 在 2020/11/12 18:04, Jiaxun Yang 写道: Hi Tiezhu, 在 2020/11/12 16:29, Tiezhu Yang 写道: Add read_persistent_clock64() to read the time from the battery backed persistent clock. With this patch, we can fix the wrong time issue due to the system clock is

Re: [PATCH] MIPS: Loongson64: Add read_persistent_clock64()

2020-11-12 Thread Jiaxun Yang
在 2020/11/12 18:04, Jiaxun Yang 写道: Hi Tiezhu, 在 2020/11/12 16:29, Tiezhu Yang 写道: Add read_persistent_clock64() to read the time from the battery backed persistent clock. With this patch, we can fix the wrong time issue due to the system clock is not consistent with hardware clock after

Re: [PATCH] MIPS: Loongson64: Add read_persistent_clock64()

2020-11-12 Thread Jiaxun Yang
Hi Tiezhu, 在 2020/11/12 16:29, Tiezhu Yang 写道: Add read_persistent_clock64() to read the time from the battery backed persistent clock. With this patch, we can fix the wrong time issue due to the system clock is not consistent with hardware clock after resume from sleep state S3 (suspend to

[PATCH] MIPS: Loongson64: Add read_persistent_clock64()

2020-11-12 Thread Tiezhu Yang
Add read_persistent_clock64() to read the time from the battery backed persistent clock. With this patch, we can fix the wrong time issue due to the system clock is not consistent with hardware clock after resume from sleep state S3 (suspend to RAM), at the same time, the system time can be right