linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* RFC on cpufreq implementation
@ 2015-01-15 17:24 Mason
  2015-01-16  9:08 ` Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Mason @ 2015-01-15 17:24 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

This is a follow-up to my previous thread.
"How many frequencies would cpufreq optimally like to manage?"
http://thread.gmane.org/gmane.linux.ports.arm.kernel/373669

As I originally wrote, I'm running 3.14 on an ARM Cortex-A9
based SoC (namely Tango4 from Sigma Designs). I'd like to get
some feedback on the cpufreq driver I wrote for that platform.

I decided to expose only a small subset of frequencies (namely
{999,500,333,111} MHz) because, in my tests, the ondemand gov
chose mostly min and max, and the intermediate frequencies not
so much; so I figured "2 intermediate freqs" is good enough.
(I'm ready to hear otherwise.)

I tried to use as much generic framework as possible, but I've
read about the clk framework, and it looks to be an even greater
generalization. Are new platforms encouraged to use that, rather
than provide a cpufreq driver? Does it work when voltage scaling
comes in play? (This SoC doesn't have it, but the next will.)

I'm also wondering how cpufreq and cpuidle interact? Is one a
subset of the other? Are they orthogonal?

Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpufreq.c
Type: text/x-csrc
Size: 2317 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150115/f2c475b8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp.h
Type: text/x-chdr
Size: 466 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150115/f2c475b8/attachment-0001.bin>

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

end of thread, other threads:[~2015-02-04  4:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15 17:24 RFC on cpufreq implementation Mason
2015-01-16  9:08 ` Krzysztof Kozlowski
2015-01-16 11:10   ` Mason
2015-01-16 11:43     ` Krzysztof Kozlowski
2015-01-16 12:10     ` Javi Merino
2015-01-16 14:00     ` Mason
2015-01-19  7:52 ` Viresh Kumar
2015-01-19 22:03   ` Mason
2015-01-20  3:55     ` Viresh Kumar
2015-01-19  9:22 ` Amit Kucheria
2015-01-19 22:13   ` Mason
2015-01-29 16:43 ` Mason
2015-01-30  1:15   ` Viresh Kumar
2015-01-30 23:44     ` Mason
2015-02-02  3:58       ` Viresh Kumar
2015-02-04  0:07         ` Mason
2015-02-04  0:32           ` Måns Rullgård
2015-02-04  4:12           ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).