netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] y2038 conversion for ntp/pps and sfc driver
@ 2015-09-28 20:21 Arnd Bergmann
  2015-09-28 20:21 ` [PATCH 1/5] ntp/pps: use timespec64 for hardpps() Arnd Bergmann
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Arnd Bergmann @ 2015-09-28 20:21 UTC (permalink / raw)
  To: y2038
  Cc: Rodolfo Giometti, Arnd Bergmann, netdev, Richard Cochran,
	linux-kernel, linux-net-drivers, John Stultz, Shradha Shah,
	Thomas Gleixner

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(-)

-- 
2.1.0.rc2

_______________________________________________
Y2038 mailing list
Y2038@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/y2038

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-10-01 17:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 20:21 [PATCH 0/5] y2038 conversion for ntp/pps and sfc driver Arnd Bergmann
2015-09-28 20:21 ` [PATCH 1/5] ntp/pps: use timespec64 for hardpps() Arnd Bergmann
2015-09-30  7:20   ` Thomas Gleixner
2015-09-28 20:21 ` [PATCH 2/5] ntp/pps: replace getnstime_raw_and_real with 64-bit version Arnd Bergmann
2015-09-30  7:20   ` Thomas Gleixner
2015-09-28 20:21 ` [PATCH 3/5] ntp: use timespec64 in sync_cmos_clock Arnd Bergmann
2015-09-30  7:22   ` Thomas Gleixner
2015-09-28 20:21 ` [PATCH 4/5] ntp/pps: use y2038 safe types in pps_event_time Arnd Bergmann
2015-09-30  7:25   ` Thomas Gleixner
2015-09-28 20:21 ` [PATCH 5/5] net: sfc: avoid using timespec Arnd Bergmann
2015-09-30  7:26   ` Thomas Gleixner
2015-09-29 19:17 ` [PATCH 0/5] y2038 conversion for ntp/pps and sfc driver Richard Cochran
2015-09-30  4:06 ` David Miller
2015-09-30  7:27   ` Thomas Gleixner
2015-10-01 17:00     ` John Stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).