Re: [PATCH v3 2/2] hv_utils: implement Hyper-V PTP source

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Vitaly Kuznetsov wrote: > Stephen Hemminger writes: > >> static int hv_timesync_init(struct hv_util_service *srv) > >> { > >>INIT_WORK(&wrk.work, hv_set_host_time); > >> + > >> + hv_ptp_clock = ptp_clock_register(&ptp_hyperv_info, NULL); > >> + if (IS_ERR_OR_NULL(hv_pt

Re: [PATCH v3 2/2] hv_utils: implement Hyper-V PTP source

2017-01-17 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > On Tue, 17 Jan 2017 16:27:19 +0100 > Vitaly Kuznetsov wrote: > >> With TimeSync version 4 protocol support we started updating system time >> continuously through the whole lifetime of Hyper-V guests. Every 5 seconds >> there is a time sample from the host which trigg

Re: [PATCH v3 2/2] hv_utils: implement Hyper-V PTP source

2017-01-17 Thread Stephen Hemminger
On Tue, 17 Jan 2017 16:27:19 +0100 Vitaly Kuznetsov wrote: > With TimeSync version 4 protocol support we started updating system time > continuously through the whole lifetime of Hyper-V guests. Every 5 seconds > there is a time sample from the host which triggers do_settimeofday[64](). > While t

[PATCH v3 2/2] hv_utils: implement Hyper-V PTP source

2017-01-17 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause iss