cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
* calling cpufreq_set
@ 2003-11-04 23:44 Stefan Buettcher
  2003-11-05 14:29 ` Dominik Brodowski
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Buettcher @ 2003-11-04 23:44 UTC (permalink / raw)
  To: cpufreq ML

Hi,

I am new to this list as well as cpufreq at all.

I have written a kernel module (2.4.19-something) on the
ipaq 5400. This module makes direct calls to cpufreq_set.
While the system does not break, the usb does. usbnet
suddenly stops working and will resist my efforts to work
afterwards.

When I do not do the calls from within the kernel but use
the proc file interface provided by cpufreq, the system is
stable and usb has no problems.

Has anyone experienced similar problems? Any idea why
this happens?

Stefan

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

* Re: calling cpufreq_set
  2003-11-04 23:44 calling cpufreq_set Stefan Buettcher
@ 2003-11-05 14:29 ` Dominik Brodowski
  0 siblings, 0 replies; 2+ messages in thread
From: Dominik Brodowski @ 2003-11-05 14:29 UTC (permalink / raw)
  To: Stefan Buettcher; +Cc: cpufreq ML

Hi Stefan,

On Wed, Nov 05, 2003 at 12:44:13AM +0100, Stefan Buettcher wrote:
> Hi,
> 
> I am new to this list as well as cpufreq at all.
> 
> I have written a kernel module (2.4.19-something) on the
> ipaq 5400. This module makes direct calls to cpufreq_set.
> While the system does not break, the usb does. usbnet
> suddenly stops working and will resist my efforts to work
> afterwards.
> 
> When I do not do the calls from within the kernel but use
> the proc file interface provided by cpufreq, the system is
> stable and usb has no problems.
> 
> Has anyone experienced similar problems? Any idea why
> this happens?

I'm not aware of the details of the ipaq cpufreq driver - it's neither in
the kernel sources, nor was it ever posted on this list... so it _might_ be
a driver- or platform-specific problem. Maybe some timing calculations are
wrong after calls to cpufreq_set, maybe there needs to be some delay between
subsequent calls to cpufreq_set, ...

Other than that, cpufreq_set() is deprecated in 2.6.

	Dominik

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

end of thread, other threads:[~2003-11-05 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-04 23:44 calling cpufreq_set Stefan Buettcher
2003-11-05 14:29 ` Dominik Brodowski

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