diff options
author | Peter Martincic <pmartincic@microsoft.com> | 2023-11-28 00:35:24 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2024-03-01 11:19:06 +0300 |
commit | adf47524b56a791734ae24da8412c6579e2fab4f (patch) | |
tree | 868b3b9d4810131da98af73676216b1413513735 /include/linux/dynamic_debug.h | |
parent | d206a76d7d2726f3b096037f2079ce0bd3ba329b (diff) | |
download | linux-adf47524b56a791734ae24da8412c6579e2fab4f.tar.xz |
hv_utils: Allow implicit ICTIMESYNCFLAG_SYNC
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@microsoft.com>
Acked-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/20231127213524.52783-1-pmartincic@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20231127213524.52783-1-pmartincic@linux.microsoft.com>
Diffstat (limited to 'include/linux/dynamic_debug.h')
0 files changed, 0 insertions, 0 deletions