All of lore.kernel.org
 help / color / mirror / Atom feed
* update timer frequencies
@ 2017-03-10  9:17 ` Vlad Zakharov
  0 siblings, 0 replies; 12+ messages in thread
From: Vlad Zakharov @ 2017-03-10  9:17 UTC (permalink / raw)
  To: tglx, linux-kernel; +Cc: daniel.lezcano, john.stultz, linux-pm, linux-snps-arc

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 timer driver were I attempted to update clocksource frequency with
"__clocksource_update_freq_hz()" but I found that actually the frequency didn't update. 

During my further investigation I mentioned that timekeeping framework doesn't allow frequency changes for more than
11%. This is quiet frustratingly: ARC cores supports such adjustments themselves but current framework API doesn't give
us a chance to use this functionality and in fact it even forbids CPU frequency changes in runtime at all.

Maybe I am mistaken and there is some way to get this going? Or maybe we can add some minor changes to timekeeping
framework to resolve this issue (special flag that allows such changes or something like this?).

Thanks.

-- 
Best regards,
Vlad Zakharov <vzakhar@synopsys.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-08-04  9:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-10  9:17 update timer frequencies Vlad Zakharov
2017-03-10  9:17 ` Vlad Zakharov
2017-03-10  9:17 ` Vlad Zakharov
2017-03-10 10:28 ` Thomas Gleixner
2017-03-10 10:28   ` Thomas Gleixner
2017-03-10 10:28   ` Thomas Gleixner
2017-08-04  6:58   ` Vineet Gupta
2017-08-04  6:58     ` Vineet Gupta
2017-08-04  6:58     ` Vineet Gupta
2017-08-04  9:38     ` Peter Zijlstra
2017-08-04  9:38       ` Peter Zijlstra
2017-08-04  9:38       ` Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.