[0/5] y2038: linux: timer_[sg]ettime conversion to 64 bit time

Message ID 20191111214758.3677-1-lukma@denx.de
Headers show
Series
  • y2038: linux: timer_[sg]ettime conversion to 64 bit time
Related show

Message

Lukasz Majewski Nov. 11, 2019, 9:47 p.m.
This patch series converts timer_[sg]ettime functions to support
64 bit time.

The glibc internal struct __itimerspec64 is introduced in first patch.
Two next patches decouple x86_64 specific timer_[sg]ettime implementations
from the Linux generic ones for easier conversion (as x86_64 already
supports 64 bit time).
Two last patches are converting Linux generic timer syscalls.

Lukasz Majewski (5):
  time: Introduce glibc's internal struct __itimerspec64
  timer: Decouple x86_64 specific timer_gettime from generic Linux
    implementation
  timer: Decouple x86_64 specific timer_settime from generic Linux
    implementation
  y2038: linux: Provide __timer_gettime64 implementation
  y2038: linux: Provide __timer_settime64 implementation

 include/time.h                                | 27 +++++++
 sysdeps/unix/sysv/linux/timer_gettime.c       | 49 ++++++++++---
 sysdeps/unix/sysv/linux/timer_settime.c       | 71 ++++++++++++++++---
 .../unix/sysv/linux/x86_64/timer_gettime.c    | 12 ++--
 .../unix/sysv/linux/x86_64/timer_settime.c    | 14 ++--
 5 files changed, 144 insertions(+), 29 deletions(-)

-- 
2.20.1

Comments

Lukasz Majewski Nov. 18, 2019, 10 p.m. | #1
Dear All,

> This patch series converts timer_[sg]ettime functions to support

> 64 bit time.

> 

> The glibc internal struct __itimerspec64 is introduced in first patch.

> Two next patches decouple x86_64 specific timer_[sg]ettime

> implementations from the Linux generic ones for easier conversion (as

> x86_64 already supports 64 bit time).

> Two last patches are converting Linux generic timer syscalls.


Gentle ping on this series.

> 

> Lukasz Majewski (5):

>   time: Introduce glibc's internal struct __itimerspec64

>   timer: Decouple x86_64 specific timer_gettime from generic Linux

>     implementation

>   timer: Decouple x86_64 specific timer_settime from generic Linux

>     implementation

>   y2038: linux: Provide __timer_gettime64 implementation

>   y2038: linux: Provide __timer_settime64 implementation

> 

>  include/time.h                                | 27 +++++++

>  sysdeps/unix/sysv/linux/timer_gettime.c       | 49 ++++++++++---

>  sysdeps/unix/sysv/linux/timer_settime.c       | 71

> ++++++++++++++++--- .../unix/sysv/linux/x86_64/timer_gettime.c    |

> 12 ++-- .../unix/sysv/linux/x86_64/timer_settime.c    | 14 ++--

>  5 files changed, 144 insertions(+), 29 deletions(-)

> 



Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
Lukasz Majewski Nov. 25, 2019, 8:34 a.m. | #2
Dear All,

> Dear All,

> 

> > This patch series converts timer_[sg]ettime functions to support

> > 64 bit time.

> > 

> > The glibc internal struct __itimerspec64 is introduced in first

> > patch. Two next patches decouple x86_64 specific timer_[sg]ettime

> > implementations from the Linux generic ones for easier conversion

> > (as x86_64 already supports 64 bit time).

> > Two last patches are converting Linux generic timer syscalls.  

> 

> Gentle ping on this series.


Gentle ping ping on this series :-).

> 

> > 

> > Lukasz Majewski (5):

> >   time: Introduce glibc's internal struct __itimerspec64

> >   timer: Decouple x86_64 specific timer_gettime from generic Linux

> >     implementation

> >   timer: Decouple x86_64 specific timer_settime from generic Linux

> >     implementation

> >   y2038: linux: Provide __timer_gettime64 implementation

> >   y2038: linux: Provide __timer_settime64 implementation

> > 

> >  include/time.h                                | 27 +++++++

> >  sysdeps/unix/sysv/linux/timer_gettime.c       | 49 ++++++++++---

> >  sysdeps/unix/sysv/linux/timer_settime.c       | 71

> > ++++++++++++++++--- .../unix/sysv/linux/x86_64/timer_gettime.c    |

> > 12 ++-- .../unix/sysv/linux/x86_64/timer_settime.c    | 14 ++--

> >  5 files changed, 144 insertions(+), 29 deletions(-)

> >   

> 

> 

> Best regards,

> 

> Lukasz Majewski

> 

> --

> 

> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk

> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

> Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email:

> lukma@denx.de





Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de