Skip to content

4.1 time and rtc changes for tip/timers/core

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21time: Add y2038 safe read_boot_clock64()include/linux/timekeeping.h kernel/time/timekeeping.c+10 -20 replies
2/21time: Add y2038 safe read_persistent_clock64()arch/mips/lasat/sysctl.c include/linux/timekeeping.h kernel/time/timekeeping.c+15 -120 replies
3/21time: Add y2038 safe update_persistent_clock64()drivers/rtc/systohc.c include/linux/timekeeping.h kernel/time/ntp.c+14 -20 replies
4/21ARM: OMAP: 32k counter: Provide y2038-safe omap_read_persistent_clock() replacementarch/arm/plat-omap/counter_32k.c+12 -100 replies
5/21ARM: tegra: clock: Provide y2038-safe tegra_read_persistent_clock() replacementdrivers/clocksource/tegra20_timer.c+14 -70 replies
6/21ARM: time: Provide read_boot_clock64() and read_persistent_clock64()arch/arm/include/asm/mach/time.h arch/arm/kernel/time.c arch/arm/plat-omap/counter_32k.c +1 more+6 -230 replies
7/21rtc: Provide y2038 safe rtc_class_ops.set_mmss() replacementdrivers/rtc/interface.c drivers/rtc/systohc.c include/linux/rtc.h+12 -20 replies
8/21rtc/test: Update driver to address y2038/y2106 issuesdrivers/rtc/rtc-test.c+17 -20 replies
9/21rtc/ab3100: Update driver to address y2038/y2106 issuesdrivers/rtc/rtc-ab3100.c+27 -280 replies
10/21rtc/mc13xxx: Update driver to address y2038/y2106 issuesdrivers/rtc/rtc-mc13xxx.c+14 -180 replies
11/21rtc/mxc: Modify rtc_update_alarm() not to touch the alarm timedrivers/rtc/rtc-mxc.c+4 -180 replies
12/21rtc/mxc: Convert get_alarm_or_time()/set_alarm_or_time() to use time64_tdrivers/rtc/rtc-mxc.c+14 -150 replies
13/21rtc/mxc: Update driver to address y2038/y2106 issuesdrivers/rtc/rtc-mxc.c+4 -40 replies
14/21alpha: rtc: Change to use rtc_class_ops's set_mmss64()arch/alpha/kernel/rtc.c+4 -40 replies
15/21time: Don't build timekeeping_inject_sleeptime64() if no one uses itkernel/time/timekeeping.c+2 -00 replies
16/21rtc: Remove redundant rtc_valid_tm() from rtc_resume()drivers/rtc/class.c+0 -40 replies
17/21time: Fix a bug in timekeeping_suspend() with no persistent clockkernel/time/timekeeping.c+19 -171 reply
18/21time: rtc: Don't bother into rtc_resume() for the nonstop clocksourcedrivers/rtc/class.c include/linux/timekeeping.h kernel/time/timekeeping.c+54 -250 replies
19/21clocksource: Improve comment explaining clocks_calc_max_nsecs()'s 50% safety marginkernel/time/clocksource.c+5 -27 replies
20/21timekeeping: Change timekeeping_check_update() to take a tk_read_basekernel/time/timekeeping.c+5 -50 replies
21/21time: Rework debugging variables so they aren't globalinclude/linux/timekeeper_internal.h kernel/time/timekeeping.c+27 -246 replies

Reviews trailers per patch

11 of 21 patches have a Reviewed-by or Acked-by.

PatchAlessandro ZummoLinus WalleijThierry RedingTony Lindgren
1/21
2/21
3/21
4/21A-b
5/21A-b
6/21A-b
7/21A-b
8/21A-b
9/21A-b A-b
10/21A-b
11/21A-b
12/21A-b
13/21A-b
14/21A-b
15/21
16/21
17/21
18/21
19/21
20/21
21/21

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

Read the v1 thread

Cover letter [PATCH 00/21] 4.1 time and rtc changes for tip/timers/core

Hey Ingo, Thomas, Peter,

I wanted to send along my remaining 4.1 queue, which contains:

* y2038 fixes for the timekeeping persistent- and boot-clock interfaces. (Xunlei)
* y2038 fixes for RTC drivers (Xunlei)
* Small suspend/resume timing fixes (Xunlei)
* Minor cleanups requested by Ingo (Me)

Let me know if you have any objections.

thanks
-john

Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Xunlei Pang <[email protected]>

John Stultz (3):
clocksource: Improve comment explaining clocks_calc_max_nsecs()'s 50%
safety margin
timekeeping: Change timekeeping_check_update() to take a tk_read_base
time: Rework debugging variables so they aren't global

Xunlei Pang (18):
time: Add y2038 safe read_boot_clock64()
time: Add y2038 safe read_persistent_clock64()
time: Add y2038 safe update_persistent_clock64()
ARM: OMAP: 32k counter: Provide y2038-safe
omap_read_persistent_clock() replacement
ARM: tegra: clock: Provide y2038-safe tegra_read_persistent_clock()
replacement
ARM: time: Provide read_boot_clock64() and read_persistent_clock64()
rtc: Provide y2038 safe rtc_class_ops.set_mmss() replacement rtc/test: Update driver to address y2038/y2106 issues rtc/ab3100: Update driver to address y2038/y2106 issues rtc/mc13xxx: Update driver to address y2038/y2106 issues rtc/mxc: Modify rtc_update_alarm() not to touch the alarm time rtc/mxc: Convert get_alarm_or_time()/set_alarm_or_time() to use

    time64_t

rtc/mxc: Update driver to address y2038/y2106 issues
alpha: rtc: Change to use rtc_class_ops's set_mmss64()
time: Don't build timekeeping_inject_sleeptime64() if no one uses it
rtc: Remove redundant rtc_valid_tm() from rtc_resume()
time: Fix a bug in timekeeping_suspend() with no persistent clock
time: rtc: Don't bother into rtc_resume() for the nonstop clocksource

 arch/alpha/kernel/rtc.c             |   8 +-
 arch/arm/include/asm/mach/time.h    |   3 +-
 arch/arm/kernel/time.c              |   6 +-
 arch/arm/plat-omap/counter_32k.c    |  18 ++--
 arch/mips/lasat/sysctl.c            |   4 +-
 drivers/clocksource/tegra20_timer.c |  15 ++-
 drivers/rtc/class.c                 |   8 +-
 drivers/rtc/interface.c             |   8 +-
 drivers/rtc/rtc-ab3100.c            |  55 ++++++-----
 drivers/rtc/rtc-mc13xxx.c           |  32 +++----
 drivers/rtc/rtc-mxc.c               |  55 ++++-------
 drivers/rtc/rtc-test.c              |  19 +++-
 drivers/rtc/systohc.c               |   7 +-
 include/linux/rtc.h                 |   1 +
 include/linux/timekeeper_internal.h |  18 +++-
 include/linux/timekeeping.h         |  12 +--
 kernel/time/clocksource.c           |   7 +-
 kernel/time/ntp.c                   |  13 ++-
 kernel/time/timekeeping.c           | 178 +++++++++++++++++++++---------------
 19 files changed, 261 insertions(+), 206 deletions(-)
Signature · 1 line
1.9.1