Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-10 Thread Gabriel Paubert
On Sun, Sep 09, 2007 at 07:55:35PM +1000, Paul Mackerras wrote: > Gabriel Paubert writes: > > > The solution now used by i386/x86-64/sparc64 is > > CONFIG_GENERIC_CMOS_UPDATE. Maybe powerpc should be switched > > to use something similar, but the generic code has some > > Yes. I'll turn on CONFI

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-09 Thread Paul Mackerras
Gabriel Paubert writes: > The solution now used by i386/x86-64/sparc64 is > CONFIG_GENERIC_CMOS_UPDATE. Maybe powerpc should be switched > to use something similar, but the generic code has some Yes. I'll turn on CONFIG_GENERIC_CMOS_UPDATE. Do you think it needs to be a config option that can b

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-07 Thread Gabriel Paubert
On Fri, Sep 07, 2007 at 04:20:12AM +1000, Paul Mackerras wrote: > Gabriel Paubert writes: > > > On Fri, Sep 07, 2007 at 12:41:38AM +1000, Paul Mackerras wrote: > > > This changes PowerPC to use the generic time infrastructure for > > > gettimeofday et al. We register a clocksource which uses the

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-07 Thread Gabriel Paubert
On Thu, Sep 06, 2007 at 12:24:15PM -0500, Scott Wood wrote: > On Thu, Sep 06, 2007 at 07:05:47PM +0200, Gabriel Paubert wrote: > > On Thu, Sep 06, 2007 at 12:01:23PM -0500, Scott Wood wrote: > > > On Thu, Sep 06, 2007 at 06:55:35PM +0200, Gabriel Paubert wrote: > > > > So who will be in charge of u

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-06 Thread Paul Mackerras
Gabriel Paubert writes: > On Fri, Sep 07, 2007 at 12:41:38AM +1000, Paul Mackerras wrote: > > This changes PowerPC to use the generic time infrastructure for > > gettimeofday et al. We register a clocksource which uses the timebase > > register, or the RTC on the 601. > > > > It also gets rid of

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-06 Thread Scott Wood
On Thu, Sep 06, 2007 at 07:05:47PM +0200, Gabriel Paubert wrote: > On Thu, Sep 06, 2007 at 12:01:23PM -0500, Scott Wood wrote: > > On Thu, Sep 06, 2007 at 06:55:35PM +0200, Gabriel Paubert wrote: > > > So who will be in charge of updating the RTC now? The update > > > every 11 min is there to stay

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-06 Thread Gabriel Paubert
On Thu, Sep 06, 2007 at 12:01:23PM -0500, Scott Wood wrote: > On Thu, Sep 06, 2007 at 06:55:35PM +0200, Gabriel Paubert wrote: > > On Fri, Sep 07, 2007 at 12:41:38AM +1000, Paul Mackerras wrote: > > > This changes PowerPC to use the generic time infrastructure for > > > gettimeofday et al. We regi

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-06 Thread Scott Wood
On Thu, Sep 06, 2007 at 06:55:35PM +0200, Gabriel Paubert wrote: > On Fri, Sep 07, 2007 at 12:41:38AM +1000, Paul Mackerras wrote: > > This changes PowerPC to use the generic time infrastructure for > > gettimeofday et al. We register a clocksource which uses the timebase > > register, or the RTC

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-06 Thread Gabriel Paubert
On Fri, Sep 07, 2007 at 12:41:38AM +1000, Paul Mackerras wrote: > This changes PowerPC to use the generic time infrastructure for > gettimeofday et al. We register a clocksource which uses the timebase > register, or the RTC on the 601. > > It also gets rid of the RTC update stuff. IIRC we discu