From: Dominik Brodowski <linux@brodo.de>
To: Dave Jones <davej@redhat.com>
Cc: cpufreq@www.linux.org.uk
Subject: Re: [RFC] cpufreq_driver->resume
Date: Tue, 2 Sep 2003 15:41:37 +0200 [thread overview]
Message-ID: <20030902134137.GA7191@brodo.de> (raw)
In-Reply-To: <20030902110826.GA30038@redhat.com>
On Tue, Sep 02, 2003 at 12:08:26PM +0100, Dave Jones wrote:
>
> On Tue, Sep 02, 2003 at 10:32:27AM +0200, Dominik Brodowski wrote:
>
> > +cpufreq_driver.resume - A pointer to a per-CPU resume function
> > + which is called with interrupts disabled
> > + and _before_ the pre-suspend frequency
> > + and/or policy is restored by a call to
> > + ->target or ->setpolicy.
> > +
>
> What advantage is there to doing things this way over just
> setting the speed to the last known value before we suspended ?
> (though some drivers may need fixing, as they shortcut the
> 'trying to set to current speed' thing with a return so we
> don't actually poke anything.)
Check the speedstep_smi driver -- it needs to pass a value to the BIOS after
every resume sequence. It was done there using a pm_dev, the generic/new
->resume callback seems to be better suited for this.
Dominik
prev parent reply other threads:[~2003-09-02 13:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-02 8:32 [RFC] cpufreq_driver->resume Dominik Brodowski
2003-09-02 11:08 ` Dave Jones
2003-09-02 13:41 ` Dominik Brodowski [this message]
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=20030902134137.GA7191@brodo.de \
--to=linux@brodo.de \
--cc=cpufreq@www.linux.org.uk \
--cc=davej@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox