Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-07 Thread Olof Johansson
On Fri, Sep 07, 2007 at 09:26:28PM +0200, Johannes Berg wrote: > On Fri, 2007-09-07 at 14:16 -0500, Olof Johansson wrote: > > On Fri, Sep 07, 2007 at 04:04:51PM +0200, Johannes Berg wrote: > > > On Fri, 2007-09-07 at 00:44 +1000, Paul Mackerras wrote: > > > > This creates a clockevent for the Power

Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-07 Thread Johannes Berg
On Fri, 2007-09-07 at 14:16 -0500, Olof Johansson wrote: > On Fri, Sep 07, 2007 at 04:04:51PM +0200, Johannes Berg wrote: > > On Fri, 2007-09-07 at 00:44 +1000, Paul Mackerras wrote: > > > This creates a clockevent for the PowerPC decrementer and registers it > > > with the generic clock/timer syst

Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-07 Thread Olof Johansson
On Fri, Sep 07, 2007 at 04:04:51PM +0200, Johannes Berg wrote: > On Fri, 2007-09-07 at 00:44 +1000, Paul Mackerras wrote: > > This creates a clockevent for the PowerPC decrementer and registers it > > with the generic clock/timer system, and implements the dynamic ticks > > (no idle HZ) option for

Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-07 Thread Johannes Berg
On Fri, 2007-09-07 at 00:44 +1000, Paul Mackerras wrote: > This creates a clockevent for the PowerPC decrementer and registers it > with the generic clock/timer system, and implements the dynamic ticks > (no idle HZ) option for PowerPC. I tried both patches applied and with/without CONFIG_NOHZ but

Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-06 Thread Olof Johansson
Hi again, On Thu, Sep 06, 2007 at 02:15:16PM -0500, Olof Johansson wrote: > I don't think that set_dec() is needed any more. I get a very long > delay during "Calibrating delay loop..." with it there. > > Looks like decrementer_set_next_event() already sets a reasonable > decementer value, it's

Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-06 Thread Olof Johansson
Hi, Nice! I've been looking forward to these patches. Should help keep power consumption down on machines with powersavings support for idle. On Fri, Sep 07, 2007 at 12:44:46AM +1000, Paul Mackerras wrote: > @@ -749,6 +805,8 @@ void __init clocksource_init(void) > printk(KERN_INFO "clockso

[RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-06 Thread Paul Mackerras
This creates a clockevent for the PowerPC decrementer and registers it with the generic clock/timer system, and implements the dynamic ticks (no idle HZ) option for PowerPC. This is based largely on an earlier patch by Tony Breeds. It could still use more cleanup. This and the previous patch see