Re: [PATCH 3/4] ARM: sched_clock: Add support for >32 bit sched_clock

2013-04-22 Thread Stephen Boyd
On 04/22/13 03:48, Will Deacon wrote: > Hi Stephen, > > On Sat, Apr 20, 2013 at 01:29:05AM +0100, Stephen Boyd wrote: >> The arm architected system counter has at least 56 bits of >> useable bits. Add support to ARM's sched_clock implementation for >> counters with more than 32 bits so we can avoid

Re: [PATCH 3/4] ARM: sched_clock: Add support for >32 bit sched_clock

2013-04-22 Thread Will Deacon
Hi Stephen, On Sat, Apr 20, 2013 at 01:29:05AM +0100, Stephen Boyd wrote: > The arm architected system counter has at least 56 bits of > useable bits. Add support to ARM's sched_clock implementation for > counters with more than 32 bits so we can avoid the complexity of > dealing with wraparound o

[PATCH 3/4] ARM: sched_clock: Add support for >32 bit sched_clock

2013-04-19 Thread Stephen Boyd
The arm architected system counter has at least 56 bits of useable bits. Add support to ARM's sched_clock implementation for counters with more than 32 bits so we can avoid the complexity of dealing with wraparound on these devices while benefiting from the irqtime accounting and suspend/resume han