Skip to content

RFC Provide y2038/y2106 safe rtc_class_ops.set_mmss64()

Xunlei Pang lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 RFC Latest9 patches 17 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9rtc: Provide y2038 safe rtc_class_ops.set_mmss() replacementdrivers/rtc/interface.c drivers/rtc/systohc.c include/linux/rtc.h+13 -21 reply
2/9time: Provide y2106 safe get_seconds() replacementinclude/linux/timekeeping.h kernel/time/timekeeping.c+11 -34 replies
3/9rtc/test: Update driver to address y2038/y2106 issuesdrivers/rtc/rtc-test.c+4 -46 replies
4/9rtc/ab3100: Update driver to address y2038/y2106 issuesdrivers/rtc/rtc-ab3100.c+27 -282 replies
5/9rtc/mc13xxx: Update driver to address y2038/y2106 issuesdrivers/rtc/rtc-mc13xxx.c+14 -182 replies
6/9rtc/mxc: Modify rtc_update_alarm() not to touch the alarm timedrivers/rtc/rtc-mxc.c+4 -182 replies
7/9rtc/mxc: Convert get_alarm_or_time()/set_alarm_or_time() to use time64_tdrivers/rtc/rtc-mxc.c+14 -150 replies
8/9rtc/mxc: Update driver to address y2038/y2106 issuesdrivers/rtc/rtc-mxc.c+4 -40 replies
9/9alpha: change to use rtc_class_ops's set_mmss64()arch/alpha/kernel/rtc.c+4 -40 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchLinus Walleij
1/9
2/9
3/9
4/9A-b
5/9
6/9
7/9
8/9
9/9

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

Read the v2 thread

Cover letter [RFC PATCH v2 0/9] Provide y2038/y2106 safe rtc_class_ops.set_mmss64()

From: Xunlei Pang <[email protected]>

This patch series relies on a former patchset[1], it provides y2038/y2106 safe rtc_class_ops.set_mmss64(), and converts some possible users of set_mmss() to use set_mmss64(), in the hope that making these users(i.e. rtc drivers) y2038/y2106 safe.

The first version of this patchset is: [2].

[1] https://lkml.org/lkml/2014/11/18/218
[2] https://lkml.org/lkml/2014/11/27/341

Xunlei Pang (9):
rtc: Provide y2038 safe rtc_class_ops.set_mmss() replacement
time: Provide y2106 safe get_seconds() 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: change to use rtc_class_ops's set_mmss64()

 arch/alpha/kernel/rtc.c     |  8 +++----
 drivers/rtc/interface.c     |  9 +++++++-
 drivers/rtc/rtc-ab3100.c    | 55 ++++++++++++++++++++++-----------------------
 drivers/rtc/rtc-mc13xxx.c   | 32 ++++++++++++--------------
 drivers/rtc/rtc-mxc.c       | 55 +++++++++++++++++----------------------------
 drivers/rtc/rtc-test.c      |  8 +++----
 drivers/rtc/systohc.c       |  5 ++++-
 include/linux/rtc.h         |  1 +
 include/linux/timekeeping.h | 10 ++++++++-
 kernel/time/timekeeping.c   |  4 ++--
 10 files changed, 93 insertions(+), 94 deletions(-)
Signature · 1 line
1.9.1