Re: update timer frequencies

2017-08-04 Thread Peter Zijlstra
On Fri, Aug 04, 2017 at 12:28:43PM +0530, Vineet Gupta wrote: > The hardware is being changed and I had a couple of questions to help do it > right: Awesome ;-) > 2. I'm not sure if the timer generating interrupts (periodic or oneshot) > needs to be fed invariant fixed clk or dynamic core clk.

Re: update timer frequencies

2017-08-04 Thread Vineet Gupta
Hi Thomas, On 03/10/2017 03:58 PM, Thomas Gleixner wrote: Vlad, On Fri, 10 Mar 2017, Vlad Zakharov wrote: I am trying to implement a cpufreq driver for ARC CPUs. The point is that ARC timers (including those are used for timekeeping) are driven by the same clock as ARC CPU core(s). To be h

Re: update timer frequencies

2017-03-10 Thread Thomas Gleixner
Vlad, On Fri, 10 Mar 2017, Vlad Zakharov wrote: > > I am trying to implement a cpufreq driver for ARC CPUs. The point is > that ARC timers (including those are used for timekeeping) are driven by > the same clock as ARC CPU core(s). To be honest: That's broken by design and you really should go

update timer frequencies

2017-03-10 Thread Vlad Zakharov
Hello, I am trying to implement a cpufreq driver for ARC CPUs.  The point is that ARC timers (including those are used for timekeeping) are driven by the same clock as ARC CPU core(s). So if cpufreq driver changes CPU frequency timers frequency also updates.  I added notification handler to ARC