Re: [Y2038] [PATCH] Update struct input_event

2018-05-02 Thread Peter Hutterer
On Mon, Jan 15, 2018 at 04:16:37PM -0800, Deepa Dinamani wrote: > The struct input_event is not y2038 safe. > Update the struct according to the kernel patch: > https://lkml.org/lkml/2018/1/6/324 > > Signed-off-by: Deepa Dinamani fwiw, this patch is now pushed to

Re: [Y2038] [PATCH libevdev] Update struct input_event

2018-04-12 Thread Peter Hutterer
On Mon, Jan 15, 2018 at 04:21:08PM -0800, Deepa Dinamani wrote: > The struct input_event is not y2038 safe. > Update the struct according to the kernel patch: > https://lkml.org/lkml/2018/1/6/324 > > Signed-off-by: Deepa Dinamani this one is now in libevdev as

Re: [Y2038] [PATCH evemu] evemu: Update struct input_event

2018-01-29 Thread Peter Hutterer
On Mon, Jan 15, 2018 at 05:18:49PM -0800, Deepa Dinamani wrote: > The struct input_event is not y2038 safe. > Update the struct according to the kernel patch: > https://lkml.org/lkml/2018/1/6/324 > > Signed-off-by: Deepa Dinamani <deepa.ker...@gmail.com> Reviewed-by: Peter

Re: [Y2038] [PATCH v4 0/4] Make input drivers y2038 safe

2017-12-13 Thread Peter Hutterer
the maintainer. > > The userspace library changes to libevdev, libuinput and mtdev > will be posted to the respective mailing groups for review. Acked-by: Peter Hutterer <peter.hutte...@who-t.net> Cheers, Peter > Changes from v3: > * Updated uinput to support monotoni

Re: [Y2038] [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106

2016-10-31 Thread Peter Hutterer
On Sat, Oct 29, 2016 at 09:19:05PM -0700, Deepa Dinamani wrote: > > btw, where did you post the libevdev patch? I haven't seen it anywhere I'm > > subscribed to. > > The libevdev patch was posted to input-to...@lists.freedesktop.org : >

Re: [Y2038] [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106

2016-10-27 Thread Peter Hutterer
On Thu, Oct 27, 2016 at 03:24:55PM -0700, Deepa Dinamani wrote: > On Wed, Oct 26, 2016 at 7:56 PM, Peter Hutterer > <peter.hutte...@who-t.net> wrote: > > On Mon, Oct 17, 2016 at 08:27:32PM -0700, Deepa Dinamani wrote: > >> struct timeval is not y2038 safe. > >>

Re: [Y2038] [PATCH v2 1/4] uinput: Add ioctl for using monotonic/ boot times

2016-10-27 Thread Peter Hutterer
On Thu, Oct 27, 2016 at 01:39:30PM -0700, Deepa Dinamani wrote: > > hmm, I'm a bit confused here. This is an in-kernel bit only (passing the > > time through uinput events has no effect). So why do we need an ioctl here? > > it's an in-kernel decision only anyway and the time in the events sent to

Re: [Y2038] [PATCH v2 1/4] uinput: Add ioctl for using monotonic/ boot times

2016-10-26 Thread Peter Hutterer
On Mon, Oct 17, 2016 at 08:27:30PM -0700, 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

Re: [Y2038] [PATCH v2 2/4] input: evdev: Replace timeval with timespec64

2016-10-26 Thread Peter Hutterer
On Mon, Oct 17, 2016 at 08:27:31PM -0700, Deepa Dinamani wrote: > struct timeval is not y2038 safe. > > All references to timeval in the kernel will be replaced > by y2038 safe structures. > Replace all references to timeval with y2038 safe > struct timespec64 here. > > struct input_event will