Re: [PATCH v2] hv_utils: return error if host timesysnc update is stale

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 21, 2020 at 03:44:24PM +0000, Michael Kelley wrote:
> From: viremana@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxx>
> > ---
> > 
> >  v2:
> >     - Fix warnings reported by Kernel test robot <lkp@xxxxxxxxx>
> >     - s/pr_warn/pr_warn_once/
> > 
> > ---
> >  drivers/hv/hv_util.c | 46 +++++++++++++++++++++++++++++++++-----------
> >  1 file changed, 35 insertions(+), 11 deletions(-)
> 
> Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>

Applied to hyperv-fixes. Thanks.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux