[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SN6PR2101MB10564B2EA3BC8082D76C50E6D75B0@SN6PR2101MB1056.namprd21.prod.outlook.com>
Date: Fri, 21 Aug 2020 15:44:24 +0000
From: Michael Kelley <mikelley@...rosoft.com>
To: Vineeth Pillai <viremana@...ux.microsoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>
CC: KY Srinivasan <kys@...rosoft.com>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2] hv_utils: return error if host timesysnc update is
stale
From: viremana@...ux.microsoft.com Sent: Friday, August 21, 2020 8:25 AM
>
> If for any reason, host timesync messages were not processed by
> the guest, hv_ptp_gettime() returns a stale value and the
> caller (clock_gettime, PTP ioctl etc) has no means to know this
> now. Return an error so that the caller knows about this.
>
> Signed-off-by: Vineeth Pillai <viremana@...ux.microsoft.com>
> ---
>
> v2:
> - Fix warnings reported by Kernel test robot <lkp@...el.com>
> - s/pr_warn/pr_warn_once/
>
> ---
> drivers/hv/hv_util.c | 46 +++++++++++++++++++++++++++++++++-----------
> 1 file changed, 35 insertions(+), 11 deletions(-)
Reviewed-by: Michael Kelley <mikelley@...rosoft.com>
Powered by blists - more mailing lists