Skip to content

y2038: bug fixes from y2038 work

Arnd Bergmann linux-alpha linux-input linuxppc-dev lkml netdev netfilter-devel sparclinux stable 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 19 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8y2038: timex: remove incorrect time_t truncationkernel/time/ntp.c+1 -11 reply
2/8timekeeping: optimize ns_to_timespec64kernel/time/time.c+12 -91 reply
3/8powerpc: fix vdso32 for ppc64learch/powerpc/kernel/vdso32/gettimeofday.S+1 -15 replies
4/8ipmi: kill off 'timespec' usage againdrivers/char/ipmi/ipmi_si_intf.c+13 -272 replies
5/8netfilter: xt_time: use time64_tnet/netfilter/xt_time.c+11 -81 reply
6/8lp: fix sparc64 LPSETTIMEOUT ioctldrivers/char/lp.c+4 -05 replies
7/8ppdev: fix PPGETTIME/PPSETTIME ioctlsdrivers/char/ppdev.c+12 -42 replies
8/8Input: input_event: fix struct padding on sparc64drivers/input/evdev.c drivers/input/misc/uinput.c include/uapi/linux/input.h+7 -02 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchCorey MinyardDeepa Dinamani
1/8A-b
2/8A-b
3/8
4/8R-b
5/8
6/8
7/8
8/8

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

Read the v1 thread

Cover letter [PATCH 0/8] y2038: bug fixes from y2038 work

I've gone through the remaining uses of time_t etc and come up with a set of 90 patches of varying complexity and importance, to the point of being able to remove the old time_t/timeval/timespec from the kernel headers completely.

This set includes the eight patches that I think should be merged right away and backported into stable kernels if possible.

Please apply individual patches to the respective maintainer trees for either v5.4 or v5.5 as appropriate.

For reference, the full series of 90 patches can be found at
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=y2038-endgame

Arnd

Arnd Bergmann (8):
y2038: timex: remove incorrect time_t truncation
timekeeping: optimize ns_to_timespec64
powerpc: fix vdso32 for ppc64le
ipmi: kill off 'timespec' usage again
netfilter: xt_time: use time64_t
lp: fix sparc64 LPSETTIMEOUT ioctl
ppdev: fix PPGETTIME/PPSETTIME ioctls
Input: input_event: fix struct padding on sparc64

 arch/powerpc/kernel/vdso32/gettimeofday.S |  2 +-
 drivers/char/ipmi/ipmi_si_intf.c          | 40 ++++++++---------------
 drivers/char/lp.c                         |  4 +++
 drivers/char/ppdev.c                      | 16 ++++++---
 drivers/input/evdev.c                     |  3 ++
 drivers/input/misc/uinput.c               |  3 ++
 include/uapi/linux/input.h                |  1 +
 kernel/time/ntp.c                         |  2 +-
 kernel/time/time.c                        | 21 +++++++-----
 net/netfilter/xt_time.c                   | 19 ++++++-----
 10 files changed, 61 insertions(+), 50 deletions(-)
Cc Benjamin Herrenschmidt <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Corey Minyard <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Sudip Mukherjee <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc John Stultz <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Pablo Neira Ayuso <[email protected]>
Cc Jozsef Kadlecsik <[email protected]>
Cc Florian Westphal <[email protected]>
Cc "David S. Miller" <[email protected]>
Signature · 1 line
2.20.0