Skip to content

y2038 conversion for ntp/pps and sfc driver

Arnd Bergmann lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ntp/pps: use timespec64 for hardpps()drivers/pps/kc.c include/linux/timex.h kernel/time/ntp.c +2 more+12 -101 reply
2/5ntp/pps: replace getnstime_raw_and_real with 64-bit versioninclude/linux/pps_kernel.h include/linux/timekeeping.h kernel/time/timekeeping.c+14 -91 reply
3/5ntp: use timespec64 in sync_cmos_clockkernel/time/ntp.c+2 -21 reply
4/5ntp/pps: use y2038 safe types in pps_event_timedrivers/net/ethernet/sfc/ptp.c drivers/pps/kapi.c drivers/pps/kc.c +1 more+19 -261 reply
5/5net: sfc: avoid using timespecdrivers/net/ethernet/sfc/ptp.c+7 -71 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard CochranDavid S. MillerThomas Gleixner
SeriesA-b A-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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 v1 thread

Cover letter [PATCH 0/5] y2038 conversion for ntp/pps and sfc driver

When trying to build a kernel with time_t commented out, I found that the ntp subsystem still relies on timespec for its pps handling.

This series addresses this and converts all the code to use timespec64 instead, step by step. There is one device driver that interacts with this code directly (rather than only through the ptp subsystem), so I have to convert that driver at the same time.

The patches should ideally stay together as a series, but they do span multiple subsystems, so I'm also looking for the right person to merge them.

Please review.

Thanks,

Arnd

Arnd Bergmann (5):
ntp/pps: use timespec64 for hardpps()
ntp/pps: replace getnstime_raw_and_real with 64-bit version
ntp: use timespec64 in sync_cmos_clock
ntp/pps: use y2038 safe types in pps_event_time
net: sfc: avoid using timespec

 drivers/net/ethernet/sfc/ptp.c | 30 +++++++++++++++---------------
 drivers/pps/kapi.c             |  4 ++--
 include/linux/pps_kernel.h     | 16 ++++++++--------
 include/linux/timekeeping.h    |  4 ++--
 include/linux/timex.h          |  2 +-
 kernel/time/ntp.c              | 16 ++++++++--------
 kernel/time/ntp_internal.h     |  2 +-
 kernel/time/timekeeping.c      | 14 +++++++-------
 8 files changed, 44 insertions(+), 44 deletions(-)
Signature · 6 lines
2.1.0.rc2

_______________________________________________
Y2038 mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/y2038