From: "Kevin D. Kissell" <kevink@mips.com>
To: "Ralf Baechle" <ralf@linux-mips.org>,
"Krishnakumar. R" <krishnakumar@naturesoft.net>
Cc: <linux-mips@linux-mips.org>
Subject: Re: Cpu frequency scaling
Date: Sun, 12 Jan 2003 20:01:02 +0100 [thread overview]
Message-ID: <003b01c2ba6c$f64ef840$10eca8c0@grendel> (raw)
In-Reply-To: 20030112180917.A18654@linux-mips.org
> > Can frequency scaling (through software)
> > be done on mips using linux ?
> >
> > Is such a feature feasible in mips ??
> >
> > I could not find any documentation nor patches
> > for frequency
> > scaling on mips at
> > http://www.brodo.de/cpufreq/
> > :-(
>
> None of the currently supported MIPS CPUs support such a feature in
> hardware as such our support is already complete and by definition
> bug free ;-)
Actually, that's not *quite* true. A number of MIPS CPUs and
cores that are otherwise supported by Linux (e.g. 4K, 5K) have
a "reduced power" mode which is modulated by the CP0 "RP"
bit. In general, this bit does nothing in the CPU itself, however.
It was intended that it be connected to system-level logic for
frequency scaling (1/n normal clock, or CPU=Bus). So on
most systems it does nothing, and on the ones where it does
do something, it's entirely system dependent. I don't have an
Alchemy AU1000 spec handy, but since they've integrated
a lot of other logic with their CPU, and since they designed
their component to go into low-power devices, it wouldn't
surprise me in the least if they do something well-defined
with the RP bit.
So, to get back to the original question, something highly
platform dependent *could* be done using MIPS/Linux,
via /proc/cpu or some kind of system call, but I don't believe
anyone has made such a hook generally available as yet.
Kevin K.
WARNING: multiple messages have this Message-ID (diff)
From: "Kevin D. Kissell" <kevink@mips.com>
To: Ralf Baechle <ralf@linux-mips.org>,
"Krishnakumar. R" <krishnakumar@naturesoft.net>
Cc: linux-mips@linux-mips.org
Subject: Re: Cpu frequency scaling
Date: Sun, 12 Jan 2003 20:01:02 +0100 [thread overview]
Message-ID: <003b01c2ba6c$f64ef840$10eca8c0@grendel> (raw)
Message-ID: <20030112190102.Z25riCe2GLXoGxZGS8DyLHRZVLocyb4VV1BNoJKyZLk@z> (raw)
In-Reply-To: 20030112180917.A18654@linux-mips.org
> > Can frequency scaling (through software)
> > be done on mips using linux ?
> >
> > Is such a feature feasible in mips ??
> >
> > I could not find any documentation nor patches
> > for frequency
> > scaling on mips at
> > http://www.brodo.de/cpufreq/
> > :-(
>
> None of the currently supported MIPS CPUs support such a feature in
> hardware as such our support is already complete and by definition
> bug free ;-)
Actually, that's not *quite* true. A number of MIPS CPUs and
cores that are otherwise supported by Linux (e.g. 4K, 5K) have
a "reduced power" mode which is modulated by the CP0 "RP"
bit. In general, this bit does nothing in the CPU itself, however.
It was intended that it be connected to system-level logic for
frequency scaling (1/n normal clock, or CPU=Bus). So on
most systems it does nothing, and on the ones where it does
do something, it's entirely system dependent. I don't have an
Alchemy AU1000 spec handy, but since they've integrated
a lot of other logic with their CPU, and since they designed
their component to go into low-power devices, it wouldn't
surprise me in the least if they do something well-defined
with the RP bit.
So, to get back to the original question, something highly
platform dependent *could* be done using MIPS/Linux,
via /proc/cpu or some kind of system call, but I don't believe
anyone has made such a hook generally available as yet.
Kevin K.
next prev parent reply other threads:[~2003-01-12 20:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200301101600.26246.krishnakumar@naturesoft.net>
2003-01-12 17:09 ` Cpu frequency scaling Ralf Baechle
2003-01-12 19:01 ` Kevin D. Kissell [this message]
2003-01-12 19:01 ` Kevin D. Kissell
2003-01-13 4:15 ` Pete Popov
2004-09-01 23:01 CPU Frequency Scaling ncrfgs
2004-09-02 9:48 ` Bruno Ducrot
2004-09-02 10:53 ` Mattia Dongili
2004-09-02 12:41 ` Bruno Ducrot
2004-09-02 13:36 ` Mattia Dongili
2004-09-03 8:34 ` ncrfgs
2004-09-03 9:17 ` Bruno Ducrot
2004-09-03 13:54 ` Carl Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003b01c2ba6c$f64ef840$10eca8c0@grendel' \
--to=kevink@mips.com \
--cc=krishnakumar@naturesoft.net \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.