Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Deepa Dinamani
On Thu, Dec 14, 2017 at 1:53 PM, Ben Hutchings wrote: > On Thu, 2017-12-14 at 13:44 -0800, Deepa Dinamani wrote: >> On Thu, Dec 14, 2017 at 1:18 PM, Ben Hutchings >> > wrote: >> > On Thu, 2017-12-14 at 21:17 +, Ben Hutchings

Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Deepa Dinamani
On Thu, Dec 14, 2017 at 1:53 PM, Ben Hutchings wrote: > On Thu, 2017-12-14 at 13:44 -0800, Deepa Dinamani wrote: >> On Thu, Dec 14, 2017 at 1:18 PM, Ben Hutchings >> > wrote: >> > On Thu, 2017-12-14 at 21:17 +, Ben Hutchings wrote: >> > > On Thu, 2017-12-07 at 10:13 -0800, Deepa Dinamani

Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Ben Hutchings
On Thu, 2017-12-14 at 13:44 -0800, Deepa Dinamani wrote: > On Thu, Dec 14, 2017 at 1:18 PM, Ben Hutchings > > wrote: > > On Thu, 2017-12-14 at 21:17 +, Ben Hutchings wrote: > > > On Thu, 2017-12-07 at 10:13 -0800, Deepa Dinamani wrote: > > > > struct timeval

Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Ben Hutchings
On Thu, 2017-12-14 at 13:44 -0800, Deepa Dinamani wrote: > On Thu, Dec 14, 2017 at 1:18 PM, Ben Hutchings > > wrote: > > On Thu, 2017-12-14 at 21:17 +, Ben Hutchings wrote: > > > On Thu, 2017-12-07 at 10:13 -0800, Deepa Dinamani wrote: > > > > struct timeval which is part of struct

Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Deepa Dinamani
On Thu, Dec 14, 2017 at 1:18 PM, Ben Hutchings wrote: > On Thu, 2017-12-14 at 21:17 +, Ben Hutchings wrote: >> On Thu, 2017-12-07 at 10:13 -0800, Deepa Dinamani wrote: >> > struct timeval which is part of struct input_event to >> > maintain the event times is

Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Deepa Dinamani
On Thu, Dec 14, 2017 at 1:18 PM, Ben Hutchings wrote: > On Thu, 2017-12-14 at 21:17 +, Ben Hutchings wrote: >> On Thu, 2017-12-07 at 10:13 -0800, Deepa Dinamani wrote: >> > struct timeval which is part of struct input_event to >> > maintain the event times is not y2038 safe. >> > >> > Real

Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Ben Hutchings
On Thu, 2017-12-14 at 21:17 +, Ben Hutchings wrote: > On Thu, 2017-12-07 at 10:13 -0800, Deepa Dinamani wrote: > > struct timeval which is part of struct input_event to > > maintain the event times is not y2038 safe. > > > > Real time timestamps are also not ideal for input_event > > as this

Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Ben Hutchings
On Thu, 2017-12-14 at 21:17 +, Ben Hutchings wrote: > On Thu, 2017-12-07 at 10:13 -0800, Deepa Dinamani wrote: > > struct timeval which is part of struct input_event to > > maintain the event times is not y2038 safe. > > > > Real time timestamps are also not ideal for input_event > > as this

Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Ben Hutchings
On Thu, 2017-12-07 at 10:13 -0800, Deepa Dinamani wrote: > struct timeval which is part of struct input_event to > maintain the event times is not y2038 safe. > > Real time timestamps are also not ideal for input_event > as this time can go backwards as noted in the patch > a80b83b7b8 by John

Re: [Y2038] [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-14 Thread Ben Hutchings
On Thu, 2017-12-07 at 10:13 -0800, Deepa Dinamani wrote: > struct timeval which is part of struct input_event to > maintain the event times is not y2038 safe. > > Real time timestamps are also not ideal for input_event > as this time can go backwards as noted in the patch > a80b83b7b8 by John

Re: [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-07 Thread Arnd Bergmann
On Thu, Dec 7, 2017 at 7:13 PM, Deepa Dinamani wrote: > struct timeval which is part of struct input_event to > maintain the event times is not y2038 safe. > > Real time timestamps are also not ideal for input_event > as this time can go backwards as noted in the patch >

Re: [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-07 Thread Arnd Bergmann
On Thu, Dec 7, 2017 at 7:13 PM, Deepa Dinamani wrote: > struct timeval which is part of struct input_event to > maintain the event times is not y2038 safe. > > Real time timestamps are also not ideal for input_event > as this time can go backwards as noted in the patch > a80b83b7b8 by John

[PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-07 Thread Deepa Dinamani
struct timeval which is part of struct input_event to maintain the event times is not y2038 safe. Real time timestamps are also not ideal for input_event as this time can go backwards as noted in the patch a80b83b7b8 by John Stultz. The patch switches the timestamps to use monotonic time from

[PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-07 Thread Deepa Dinamani
struct timeval which is part of struct input_event to maintain the event times is not y2038 safe. Real time timestamps are also not ideal for input_event as this time can go backwards as noted in the patch a80b83b7b8 by John Stultz. The patch switches the timestamps to use monotonic time from