linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Changing CPU Speed while running Linux
@ 2001-06-13 12:35 Sven Geggus
  2001-06-13 13:21 ` Arjan van de Ven
  2001-06-13 13:41 ` Magnus Sandberg
  0 siblings, 2 replies; 9+ messages in thread
From: Sven Geggus @ 2001-06-13 12:35 UTC (permalink / raw)
  To: linux-kernel

Hi there,

on my Elan410 based System it is very easy to change the CPU clock speed by
means od two outb commands.

I was wondering, if it does some harm to the Kernel if the CPU is
reprogrammed using a different CPU clock speed, while the system is up and
running.

If so, is there a possibility to tell the Kernel that the clock speed has
been changed by means of a particular Kernel call?

If not, where would I put some code to do this at system boot?

Is /usr/src/linux/arch/i386/boot/setup.S the right place for something like
this?

Thanks for hints

Sven

-- 
Sven Geggus @ Fraunhofer IITB, Karlsruhe (http://wsd.iitb.fhg.de/)
Phone: +49 721 6091-422, Fax: +49 721 6091-213
Linux powered DATA aquisition and evaluation, embedded systems,
combustion engine diagnosis

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Changing CPU Speed while running Linux
@ 2001-06-13 22:23 Dieter Nützel
  0 siblings, 0 replies; 9+ messages in thread
From: Dieter Nützel @ 2001-06-13 22:23 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: Linux Kernel List, Linux ACPI List

Arjan van de Ven wrote:
>
> Sven Geggus wrote:
> >
> > Hi there,
> >
> > on my Elan410 based System it is very easy to change the CPU clock
> > speed by means od two outb commands.
> >
> > I was wondering, if it does some harm to the Kernel if the CPU is
> > reprogrammed using a different CPU clock speed, while the system is up and
> > running.
>
> I have a module for the K6 PowerNow which allows you to do
>
> echo 450 > /proc/sys/cpu/0/frequency
>
> and does the right thing wrt udelay / bogomips etc..
> I can dig it out if you want.. sounds like this should be a more generic
> thing.

Yes, please.

After (all) Athlon 4/MT (Palomino)  and Duron mobile feature PowerNow! it 
should be usefull for more and more people.

Regards,
	Dieter

BTW	I think there are only a "few" K6-2+/K6-III+ out ;-)
	But PowerNow! is nice stuff. I had an eye on an 1 GHz Palomino
	at CeBIT '2001.
-- 
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
Cognitive Systems Group
Vogt-Kölln-Straße 30
D-22527 Hamburg, Germany

email: nuetzel@kogs.informatik.uni-hamburg.de
@home: Dieter.Nuetzel@hamburg.de

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

end of thread, other threads:[~2001-06-16 14:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-13 12:35 Changing CPU Speed while running Linux Sven Geggus
2001-06-13 13:21 ` Arjan van de Ven
2001-06-14 13:12   ` Pavel Machek
2001-06-16 10:46     ` arjan
2001-06-16 13:23     ` Alan Cox
2001-06-16 13:56       ` Ian Stirling
2001-06-13 13:41 ` Magnus Sandberg
2001-06-13 13:49   ` Dave Jones
2001-06-13 22:23 Dieter Nützel

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).