[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALAqxLVr-38tqRt9YFNU+ZV0CJMerKfka-ckw4WFc4uJac_rZw@mail.gmail.com>
Date: Fri, 19 Feb 2016 09:33:44 -0800
From: John Stultz <john.stultz@...aro.org>
To: Richard Cochran <richardcochran@...il.com>
Cc: "Christopher S. Hall" <christopher.s.hall@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
"x86@...nel.org" <x86@...nel.org>,
lkml <linux-kernel@...r.kernel.org>,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
"Stanton, Kevin B" <kevin.b.stanton@...el.com>,
kevin.j.clarke@...el.com
Subject: Re: [PATCH v7 5/8] time: Add history to cross timestamp interface
supporting slower devices
On Thu, Feb 18, 2016 at 2:17 PM, Richard Cochran
<richardcochran@...il.com> wrote:
> 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.
Yep. I reworked those in my tree when I fixed the earlier issue you pointed out.
https://git.linaro.org/people/john.stultz/linux.git/commitdiff/70aa310cf0a5181e62d910a7854a27c2f927315c
and
https://git.linaro.org/people/john.stultz/linux.git/commitdiff/e61e7d694c220d48959475b0e0a8b3bd991aeb22
Let me know if you see anything else.
thanks
-john
Powered by blists - more mailing lists