Skip to content

timekeeping: Provide support for auxiliary clocks - Remaining series

Thomas Gleixner lkml netdev 1 version Applied

Status from this message: The following commit has been merged into the timers/ptp branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest11 patches 14 repliesApplied

Changes in v3 from the cover letter

- Use kobject.h, clockid_t and cleanup the sysfs init - Thomas W.

- Use aux_tkd, aux_tks instead of tkd, tks in aux clock specific functions for clarity - John

- Remove misleading clock TAI comment - John

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/11timekeeping: Update auxiliary timekeepers on clocksource changekernel/time/timekeeping.c+28 -02 replies
2/11timekeeping: Provide time getters for auxiliary clocksinclude/linux/posix-timers.h include/linux/timekeeping.h kernel/time/timekeeping.c+81 -01 reply
3/11timekeeping: Add minimal posix-timers support for auxiliary clockskernel/time/posix-timers.c kernel/time/posix-timers.h kernel/time/timekeeping.c+25 -01 reply
4/11timekeeping: Provide time setter for auxiliary clockskernel/time/timekeeping.c+39 -03 replies
5/11timekeeping: Make timekeeping_inject_offset() reusablekernel/time/timekeeping.c+15 -111 reply
6/11timekeeping: Add auxiliary clock support to __timekeeping_inject_offset()kernel/time/timekeeping.c+26 -81 reply
7/11timekeeping: Make do_adjtimex() reusablekernel/time/timekeeping.c+60 -501 reply
8/11timekeeping: Prepare do_adtimex() for auxiliary clockskernel/time/timekeeping.c+36 -31 reply
9/11timekeeping: Provide adjtimex() for auxiliary clockskernel/time/timekeeping.c+16 -01 reply
10/11timekeeping: Provide update for auxiliary timekeeperskernel/time/timekeeping.c+18 -01 reply
11/11timekeeping: Provide interface to control auxiliary clocksDocumentation/ABI/stable/sysfs-kernel-time-aux-clocks kernel/time/timekeeping.c+121 -01 reply

Reviews trailers per patch

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

PatchJohn Stultz
1/11A-b
2/11A-b
3/11A-b
4/11A-b
5/11A-b
6/11A-b
7/11A-b
8/11A-b
9/11A-b
10/11A-b
11/11A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [patch V3 00/11] timekeeping: Provide support for auxiliary clocks - Remaining series

This is the remaining series of V2, which can be found here:

https://lore.kernel.org/all/[email protected]

The first 15 patches of V2 have been merged into the tip tree and this is the update of the remaining 11, which addresses the review feedback.

Changes vs. V2:

- Use kobject.h, clockid_t and cleanup the sysfs init - Thomas W.

- Use aux_tkd, aux_tks instead of tkd, tks in aux clock specific functions for clarity - John

- Remove misleading clock TAI comment - John

The series applies on top of:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/ptp

and is available from git:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git timers/ptp/clocks

A small update for PTP to support auxiliary clocks in PTP_SYS_OFFSET_EXTENDED is going to be sent seperately as it has a dependency on pending PTP changes.

Thanks,

tglx

---
 Documentation/ABI/stable/sysfs-kernel-time-aux-clocks |    5 
 include/linux/posix-timers.h                          |    5 
 include/linux/timekeeping.h                           |   11 
 kernel/time/posix-timers.c                            |    3 
 kernel/time/posix-timers.h                            |    1 
 kernel/time/timekeeping.c                             |  484 +++++++++++++++---
 6 files changed, 451 insertions(+), 58 deletions(-)