From: Ryan Underwood <nemesis@icequake.net>
To: Bruno Ducrot <ducrot@poupinou.org>
Cc: Cpufreq@lists.linux.org.uk, Ryan Underwood <nemesis@icequake.net>
Subject: Re: writing a cpufreq driver
Date: Mon, 25 Sep 2006 11:44:53 -0500 [thread overview]
Message-ID: <20060925164453.GA32312@dbz.icequake.net> (raw)
In-Reply-To: <20060923161311.GV4945@poupinou.org>
On Sat, Sep 23, 2006 at 06:13:11PM +0200, Bruno Ducrot wrote:
> On Sat, Sep 23, 2006 at 11:03:36AM -0500, Ryan Underwood wrote:
> >
> > On Sat, Sep 23, 2006 at 05:44:42PM +0200, Bruno Ducrot wrote:
> > > >
> > > > But if it were using STPCLK, TSC would be slowed too, right? TSC just
> > > > counts the clock cycles of CPU. I was thinking the method was to enter
> > > > SMM and run HLT instructions or similar. That way power is saved but
> > > > TSC is preserved. Unfortunately, that makes the power saving mode on
> > > > this particular machine useless, since Linux already runs HLT during
> > > > idle.
Hmm:
24319201.pdf Intel P3 system programmers guide, page 425.
"The counter is incremented on every processor clock cycle,
even when the processor is halted by the HLT instruction or
the external STPCLK# pin"
So maybe it is using STPCLK after all. Certainly seems like counter
intuitive behavior though.
--
Ryan Underwood, <nemesis@icequake.net>
next prev parent reply other threads:[~2006-09-25 16:44 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-21 18:48 writing a cpufreq driver Ryan Underwood
2006-09-21 19:31 ` Dave Jones
2006-09-21 19:38 ` Langsdorf, Mark
2006-09-21 19:47 ` Dave Jones
2006-09-22 15:44 ` Bruno Ducrot
2006-09-22 15:49 ` Dave Jones
2006-09-21 20:08 ` Ryan Underwood
2006-09-21 20:44 ` Dave Jones
2006-09-21 21:03 ` Ryan Underwood
2006-09-21 21:13 ` Dave Jones
2006-09-22 14:13 ` Ryan Underwood
2006-09-22 14:39 ` Ryan Underwood
2006-09-22 15:48 ` Bruno Ducrot
2006-09-22 16:01 ` Ryan Underwood
2006-09-22 15:51 ` Dave Jones
2006-09-22 15:39 ` Bruno Ducrot
2006-09-22 16:00 ` Ryan Underwood
2006-09-22 16:05 ` Bruno Ducrot
2006-09-22 16:11 ` Ryan Underwood
2006-09-23 15:07 ` Bruno Ducrot
2006-09-23 15:21 ` Ryan Underwood
2006-09-23 15:44 ` Bruno Ducrot
2006-09-23 16:03 ` Ryan Underwood
2006-09-23 16:13 ` Bruno Ducrot
2006-09-25 15:39 ` Ryan Underwood
2006-10-02 2:19 ` Dominik Brodowski
2006-09-25 16:44 ` Ryan Underwood [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-09-22 16:31 Erik Slagter
2006-09-23 15:31 ` Bruno Ducrot
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=20060925164453.GA32312@dbz.icequake.net \
--to=nemesis@icequake.net \
--cc=Cpufreq@lists.linux.org.uk \
--cc=ducrot@poupinou.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.