cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] cpufreq_get()
@ 2004-01-22 19:06 Ducrot Bruno
  2004-01-22 20:56 ` Dominik Brodowski
  0 siblings, 1 reply; 4+ messages in thread
From: Ducrot Bruno @ 2004-01-22 19:06 UTC (permalink / raw)
  To: cpufreq

I'm planing to add the cpufreq_get() in struct cpufreq_driver,
but in a hardware fashion, eventually replacing the name by
something more appropriate.

Rational:
- almost all drivers that I know (powernow-k7, speedstep-*,
  longrun, and Im looking the PPC version) can implement it,
  the only one that I am aware for which it is not possible is
  the ACPI performance IO driver.

- by accessing driver->cpufreq_get() via a sysfs, we can verify if
  the 3 mains governors works.  Even for longrun, we
  can verify that the frequency is between min and max.

- we can compare /proc/cpuinfo with the result of cpufreq_get(),
  helping in debugging things.

- people may want to monitor the real frequency in their applet,
  so this help for having a more consistent API (google for 
  wmlongrun, for example).

- It is required for the ARM architecture anyway.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

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

end of thread, other threads:[~2004-01-24 20:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-22 19:06 [RFC] cpufreq_get() Ducrot Bruno
2004-01-22 20:56 ` Dominik Brodowski
2004-01-23 10:03   ` Ducrot Bruno
2004-01-24 20:34     ` Dominik Brodowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox