Re: [PATCH V2 2/2] tick/cpuidle: Initialize hrtimer mode of broadcast

2014-02-04 Thread Thomas Gleixner
On Tue, 4 Feb 2014, Preeti U Murthy wrote: > Do you want me to send out the next version with the above corrections > including the patch added to this thread where we handle archs setting > the CPUIDLE_FLAG_TIMER_STOP flag? Yes please. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH V2 2/2] tick/cpuidle: Initialize hrtimer mode of broadcast

2014-02-04 Thread Preeti U Murthy
Hi Thomas, On 02/04/2014 03:48 PM, Thomas Gleixner wrote: >> +++ b/kernel/time/tick-broadcast-hrtimer.c >> +/* >> + * This is called from the guts of the broadcast code when the cpu >> + * which is about to enter idle has the earliest broadcast timer event. >> + */ >> +static int bc_set_next(ktime

Re: [PATCH V2 2/2] tick/cpuidle: Initialize hrtimer mode of broadcast

2014-02-04 Thread Thomas Gleixner
> +++ b/kernel/time/tick-broadcast-hrtimer.c > +/* > + * This is called from the guts of the broadcast code when the cpu > + * which is about to enter idle has the earliest broadcast timer event. > + */ > +static int bc_set_next(ktime_t expires, struct clock_event_device *bc) > +{ > + ktime_t n

[PATCH V2 2/2] tick/cpuidle: Initialize hrtimer mode of broadcast

2014-01-23 Thread Preeti U Murthy
From: Thomas Gleixner On some architectures, in certain CPU deep idle states the local timers stop. An external clock device is used to wakeup these CPUs. The kernel support for the wakeup of these CPUs is provided by the tick broadcast framework by using the external clock device as the wakeup