Skip to content

time: Cross-timestamp infrastructure for 4.6

John Stultz lkml netdev 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v18 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8time: Add cycles to nanoseconds translationkernel/time/timekeeping.c+21 -40 replies
2/8time: Add timekeeping snapshot code capturing system time and counterinclude/linux/timekeeping.h kernel/time/timekeeping.c+48 -00 replies
3/8time: Remove duplicated code in ktime_get_raw_and_real()include/linux/pps_kernel.h kernel/time/timekeeping.c+8 -490 replies
4/8time: Add driver cross timestamp interface for higher precision time synchronizationinclude/linux/timekeeping.h kernel/time/timekeeping.c+91 -00 replies
5/8time: Add history to cross timestamp interface supporting slower devicesinclude/linux/timekeeper_internal.h include/linux/timekeeping.h kernel/time/timekeeping.c+177 -10 replies
6/8x86/tsc: Always Running Timer (ART) correlated clocksourcearch/x86/include/asm/cpufeature.h arch/x86/include/asm/tsc.h arch/x86/kernel/tsc.c+62 -10 replies
7/8ptp: Add PTP_SYS_OFFSET_PRECISE for driver crosstimestampingDocumentation/ptp/testptp.c drivers/ptp/ptp_chardev.c include/linux/ptp_clock_kernel.h +1 more+51 -30 replies
8/8e1000e: Adds hardware supported cross timestamp on e1000e nicdrivers/net/ethernet/intel/Kconfig drivers/net/ethernet/intel/e1000e/defines.h drivers/net/ethernet/intel/e1000e/ptp.c +1 more+103 -00 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchThomas GleixnerRichard CochranJeff Kirsher
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCHv2 0/8][GIT PULLv2] time: Cross-timestamp infrastructure for 4.6

Hey Thomas,
So again, here is Christopher's cross-timestamp
infrastructure patchset which I wanted to send along for 4.6. (Including the minor tweaks you suggested). These apply against tip/timers/core.

Let me know if you have any objections.

thanks
-john

Cc Prarit Bhargava <[email protected]>
Cc Richard Cochran <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Jeff Kirsher <[email protected]>

The following changes since commit 232d26373d310a941ef2ab46e53ea62fe076ed13:

jiffies: Use CLOCKSOURCE_MASK instead of constant (2016-02-27 08:55:31 +0100)

are available in the git repository at:

https://git.linaro.org/people/john.stultz/linux.git fortglx/4.6/time

for you to fetch changes up to 01d7ada57ee9c735bd71fbe44ec0bcb70847afd4:

e1000e: Adds hardware supported cross timestamp on e1000e nic (2016-03-03 14:28:46 -0800)
----------------------------------------------------------------
Christopher S. Hall (8):
time: Add cycles to nanoseconds translation
time: Add timekeeping snapshot code capturing system time and counter
time: Remove duplicated code in ktime_get_raw_and_real()
time: Add driver cross timestamp interface for higher precision time
synchronization
time: Add history to cross timestamp interface supporting slower
devices
x86/tsc: Always Running Timer (ART) correlated clocksource
ptp: Add PTP_SYS_OFFSET_PRECISE for driver crosstimestamping
e1000e: Adds hardware supported cross timestamp on e1000e nic

 Documentation/ptp/testptp.c                 |   6 +-
 arch/x86/include/asm/cpufeature.h           |   2 +-
 arch/x86/include/asm/tsc.h                  |   2 +
 arch/x86/kernel/tsc.c                       |  59 ++++++
 drivers/net/ethernet/intel/Kconfig          |   9 +
 drivers/net/ethernet/intel/e1000e/defines.h |   5 +
 drivers/net/ethernet/intel/e1000e/ptp.c     |  85 +++++++++
 drivers/net/ethernet/intel/e1000e/regs.h    |   4 +
 drivers/ptp/ptp_chardev.c                   |  27 +++
 include/linux/pps_kernel.h                  |  17 +-
 include/linux/ptp_clock_kernel.h            |   8 +
 include/linux/timekeeper_internal.h         |   2 +
 include/linux/timekeeping.h                 |  58 ++++++
 include/uapi/linux/ptp_clock.h              |  13 +-
 kernel/time/timekeeping.c                   | 286 +++++++++++++++++++++++++---
 15 files changed, 543 insertions(+), 40 deletions(-)
Signature · 1 line
1.9.1