Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1337753

Re: [PATCH v7 5/8] time: Add history to cross timestamp interface supporting slower devices

From Richard Cochran <richardcochran@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v7 5/8] time: Add history to cross timestamp interface supporting slower devices
Date 2016-02-18 23:20 +0100
Message-ID <r3F5v-3Ko-5@gated-at.bofh.it> (permalink)
References <r1zdT-7MB-3@gated-at.bofh.it> <r1zdU-7MB-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Feb 12, 2016 at 12:25:26PM -0800, Christopher S. Hall wrote:
>  /**
>   * get_device_system_crosststamp - Synchronously capture system/device timestamp
> - * @sync_devicetime:	Callback to get simultaneous device time and
> + * @get_time_fn:	Callback to get simultaneous device time and

Fold this into earlier patch?

>   *	system counter from the device driver
> + * @history_ref:	Historical reference point used to interpolate system
> + *	time when counter provided by the driver is before the current interval

KernelDoc says history_ref,

>   * @xtstamp:		Receives simultaneously captured system and device time
>   *
>   * Reads a timestamp from a device and correlates it to system time
> @@ -920,6 +1035,7 @@ int get_device_system_crosststamp(int (*get_time_fn)
>  				   struct system_counterval_t *sys_counterval,
>  				   void *ctx),
>  				  void *ctx,
> +				  struct system_time_snapshot *history_begin,
>  				  struct system_device_crosststamp *xtstamp)

... but parameter is called history_begin.

Thanks,
Richard

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/8] Patchset enabling hardware based cross-timestamps for next gen Intel platforms "Christopher S. Hall" <christopher.s.hall@intel.com> - 2016-02-13 04:40 +0100
  [PATCH v7 8/8] net: e1000e: Adds hardware supported cross timestamp on e1000e nic "Christopher S. Hall" <christopher.s.hall@intel.com> - 2016-02-13 04:40 +0100
    Re: [PATCH v7 8/8] net: e1000e: Adds hardware supported cross  timestamp on e1000e nic Jeff Kirsher <jeffrey.t.kirsher@intel.com> - 2016-02-19 01:50 +0100
  [PATCH v7 4/8] time: Add driver cross timestamp interface for higher precision time synchronization "Christopher S. Hall" <christopher.s.hall@intel.com> - 2016-02-13 04:40 +0100
    Re: [PATCH v7 4/8] time: Add driver cross timestamp interface for  higher precision time synchronization Richard Cochran <richardcochran@gmail.com> - 2016-02-16 09:00 +0100
  [PATCH v7 6/8] x86: tsc: Always Running Timer (ART) correlated clocksource "Christopher S. Hall" <christopher.s.hall@intel.com> - 2016-02-13 04:40 +0100
    Re: [PATCH v7 6/8] x86: tsc: Always Running Timer (ART) correlated  clocksource Andy Lutomirski <luto@kernel.org> - 2016-02-18 22:20 +0100
  [PATCH v7 2/8] time: Add timekeeping snapshot code capturing system time and counter "Christopher S. Hall" <christopher.s.hall@intel.com> - 2016-02-13 04:40 +0100
  [PATCH v7 7/8] ptp: Add PTP_SYS_OFFSET_PRECISE for driver crosstimestamping "Christopher S. Hall" <christopher.s.hall@intel.com> - 2016-02-13 04:40 +0100
  [PATCH v7 3/8] time: Remove duplicated code in ktime_get_raw_and_real() "Christopher S. Hall" <christopher.s.hall@intel.com> - 2016-02-13 04:40 +0100
    Re: [PATCH v7 3/8] time: Remove duplicated code in  ktime_get_raw_and_real() Richard Cochran <richardcochran@gmail.com> - 2016-02-16 09:00 +0100
      Re: [PATCH v7 3/8] time: Remove duplicated code in  ktime_get_raw_and_real() "Christopher Hall" <christopher.s.hall@intel.com> - 2016-02-16 19:30 +0100
  [PATCH v7 5/8] time: Add history to cross timestamp interface supporting slower devices "Christopher S. Hall" <christopher.s.hall@intel.com> - 2016-02-13 04:40 +0100
    Re: [PATCH v7 5/8] time: Add history to cross timestamp interface  supporting slower devices Richard Cochran <richardcochran@gmail.com> - 2016-02-18 23:20 +0100
      Re: [PATCH v7 5/8] time: Add history to cross timestamp interface  supporting slower devices John Stultz <john.stultz@linaro.org> - 2016-02-19 18:40 +0100
  Re: [PATCH v7 0/8] Patchset enabling hardware based cross-timestamps  for next gen Intel platforms John Stultz <john.stultz@linaro.org> - 2016-02-18 20:30 +0100
    Re: [PATCH v7 0/8] Patchset enabling hardware based cross-timestamps  for next gen Intel platforms "Christopher Hall" <christopher.s.hall@intel.com> - 2016-02-22 19:40 +0100
      Re: [PATCH v7 0/8] Patchset enabling hardware based cross-timestamps  for next gen Intel platforms John Stultz <john.stultz@linaro.org> - 2016-02-22 19:50 +0100

csiph-web