[Y2038] [PATCH v6 1/1] input: Deprecate real timestamps beyond year 2106

2018-01-06 Thread Deepa Dinamani
struct timeval is not y2038 safe. All usage of timeval in the kernel will be replaced by y2038 safe structures. The change is also necessary as glibc is introducing support for 32 bit applications to use 64 bit time_t. Without this change, many applications would incorrectly interpret values in the

[Y2038] [PATCH v6 0/1] Make input drivers y2038 safe

2018-01-06 Thread Deepa Dinamani
The series is aimed at making input events y2038 safe. It extends the lifetime of the realtime timestamps in the events to year 2106. The series is also a necessary update as glibc is set to provide 64 bit time_t support for 32 bit binaries. glibc plan is detailed at https://sourceware.org/glibc/wi

Re: [Y2038] [PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2018-01-06 Thread Deepa Dinamani
On Tue, Jan 2, 2018 at 7:35 AM, Arnd Bergmann wrote: > On Tue, Jan 2, 2018 at 7:46 AM, Dmitry Torokhov > wrote: >> On Sun, Dec 17, 2017 at 09:18:43PM -0800, Deepa Dinamani wrote: >>> @@ -304,12 +314,11 @@ static void evdev_events(struct input_handle *handle, >>> { >>> struct evdev *evdev =