public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Timer interrupts after CPU speed change
Date: Wed, 26 Mar 2003 19:06:52 +0000	[thread overview]
Message-ID: <20030326190652.GA12645@srcf.ucam.org> (raw)

For reasons that (as yet) aren't entirely clear to me, suspending my
laptop to S3 when it's on battery results in it failing to resume
correctly (hard drive LED comes on and stays on - it's probably a DMA 
issue or something similarly entertaining, but I've got no console once 
it resumes so it's hard to tell). However, booting on battery, 
connecting it to AC and then suspending allows a resume to work. The 
problem is as follows:

When booting on battery, the CPU runs at 133MHz. As far as I've been 
able to tell, this machine doesn't support Speedstep (it's a mobile PIII 
500, and the Intel information I've found seems to suggest that 
Speedstep only appeared with the 600s) and from poking various registers 
it seems to accomplish this by using throttling (if I force those 
registers to the values that change when changing between AC and 
battery, the selected throttling value in /proc/acpi/ changes).

Attaching power results in the processor speeding up again (and, though 
I haven't checked, I /think/ that just starting ACPI when on battery 
actually results in it running at full speed). If I now suspend, carry 
my laptop around for a while, attach it to power and resume, the system 
timer starts firing at 4096Hz rather than 1024Hz with fairly predictable 
consequences. /proc/cpuinfo continues to say that the processor is 
133MHz, though it's now running happily at 500 (and was running at 500 
before being suspended as well).

Is there any obvious fix for this?

Thanks,
-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en

                 reply	other threads:[~2003-03-26 19:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030326190652.GA12645@srcf.ucam.org \
    --to=mjg59-1xo5oi07kqx4cg9nei1l7q@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox