[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZW1o9BviMl35Da7A@liuwe-devbox-debian-v2>
Date: Mon, 4 Dec 2023 05:51:48 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Boqun Feng <boqun.feng@...il.com>
Cc: pmartincic@...ux.microsoft.com,
"K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>, Dexuan Cui <decui@...rosoft.com>,
linux-hyperv@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] hv_utils: Allow implicit ICTIMESYNCFLAG_SYNC
On Thu, Nov 30, 2023 at 11:16:43AM -0800, Boqun Feng wrote:
> On Mon, Nov 27, 2023 at 01:35:24PM -0800, pmartincic@...ux.microsoft.com wrote:
> > From: Peter Martincic <pmartincic@...rosoft.com>
> >
> > Hyper-V hosts can omit the _SYNC flag to due a bug on resume from modern
> > suspend. In such a case, the guest may fail to update its time-of-day to
> > account for the period when it was suspended, and could proceed with a
> > significantly wrong time-of-day. In such a case when the guest is
> > significantly behind, fix it by treating a _SAMPLE the same as if _SYNC
> > was received so that the guest time-of-day is updated.
> >
> > This is hidden behind param hv_utils.timesync_implicit.
> >
> > Signed-off-by: Peter Martincic <pmartincic@...rosoft.com>
>
> Looks good to me.
>
> Acked-by: Boqun Feng <boqun.feng@...il.com>
Applied to hyperv-fixes, thanks!
Powered by blists - more mailing lists