Re: [Y2038] [PATCH] drm/sti: Use 64-bit timestamps

2016-04-18 Thread Arnd Bergmann
On Monday 18 April 2016 12:02:35 Vincent ABRIOU wrote: > > getrawmonotonic comes from a legacy code so the use is not intentional. > Honestly, it is not clear to me the difference between monotonic and > rawmonotonic. But in the debug context in which it is used, ktime_get > and ktime_get_raw

Re: [Y2038] [PATCH] drm/sti: Use 64-bit timestamps

2016-04-18 Thread Arnd Bergmann
On Monday 18 April 2016 12:02:35 Vincent ABRIOU wrote: > > getrawmonotonic comes from a legacy code so the use is not intentional. > Honestly, it is not clear to me the difference between monotonic and > rawmonotonic. But in the debug context in which it is used, ktime_get > and ktime_get_raw

Re: [Y2038] [PATCH] drm/sti: Use 64-bit timestamps

2016-04-18 Thread Vincent ABRIOU
On 04/17/2016 01:39 AM, Arnd Bergmann wrote: > On Wednesday 13 April 2016 02:28:02 Tina Ruchandani wrote: >> 'struct timespec' uses a 32-bit field for seconds, which >> will overflow in year 2038 and beyond. This patch is part >> of a larger attempt to remove instances of timeval, timespec >> and

Re: [Y2038] [PATCH] drm/sti: Use 64-bit timestamps

2016-04-18 Thread Vincent ABRIOU
On 04/17/2016 01:39 AM, Arnd Bergmann wrote: > On Wednesday 13 April 2016 02:28:02 Tina Ruchandani wrote: >> 'struct timespec' uses a 32-bit field for seconds, which >> will overflow in year 2038 and beyond. This patch is part >> of a larger attempt to remove instances of timeval, timespec >> and

Re: [Y2038] [PATCH] drm/sti: Use 64-bit timestamps

2016-04-16 Thread Arnd Bergmann
On Wednesday 13 April 2016 02:28:02 Tina Ruchandani wrote: > 'struct timespec' uses a 32-bit field for seconds, which > will overflow in year 2038 and beyond. This patch is part > of a larger attempt to remove instances of timeval, timespec > and time_t, all of which suffer from the y2038 issue,

Re: [Y2038] [PATCH] drm/sti: Use 64-bit timestamps

2016-04-16 Thread Arnd Bergmann
On Wednesday 13 April 2016 02:28:02 Tina Ruchandani wrote: > 'struct timespec' uses a 32-bit field for seconds, which > will overflow in year 2038 and beyond. This patch is part > of a larger attempt to remove instances of timeval, timespec > and time_t, all of which suffer from the y2038 issue,