All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux-JhLEnvuH02M@public.gmane.org>
To: Al Cutter <alien-acpirep-xE0Zs7GtCLTd8Zgiw/MPxQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Quick, Quick, Slooow
Date: Tue, 5 Nov 2002 09:43:34 +0100	[thread overview]
Message-ID: <20021105094334.C1465@brodo.de> (raw)
In-Reply-To: <20021105001358.A54213-bxPqUFq66fhTnqHRgSL67VaTQe2KTcn/@public.gmane.org>; from alien-acpirep-xE0Zs7GtCLTd8Zgiw/MPxQ@public.gmane.org on Tue, Nov 05, 2002 at 12:13:59AM +0000

Hi Al,

On Tue, Nov 05, 2002 at 12:13:59AM +0000, Al Cutter wrote:
> 	I've just started playing around with this acpi business, but the
> 	processor performance (echo 1 > /proc/acpi/.../performance) didn't seem
> 	to work on my Sony SRX41P, it'd timeout in 
> 	acpi_processor_set_performance() ("Transition failed"). 
> 
> 	The cpufreq interface seems to work fine however, so I made a little 
> 	patch against acpi-20021101 on 2.5.45 which makes :
> 		* acpi_processor_set_performance() call cpufreq to change the 
> 			clock speed, and
> 		* acpi_processor_write_performance() call ..._set_performance()
> 
> 	Don't know if this makes sense, or it's just a kludge that gets around
> 	my particular problem, but it seems to work quite well with 
> 	autospeedstep (http://gpsdrive.kraftvoll.at/speedstep.shtml).
Actually, this would be the wrong way 'round:

There are several "techniques" to switch the performance states / the CPU
freuqency. One is ACPI, others are "legacy" interfaces for Intel SpeedStep,
AMD PowerNow, Cyrix Longhaul, Transmeta Crusoe, ... 

cpufreq offers an unified interface for all these drivers (and a bit
more...) - and so you shouldn't even recognize from reading this interface,
/proc/cpufreq, what cpufreq driver (ACPI, SpeedStep, etc.) is used. 

Your patch would actually remove the ACPI cpufreq driver. Additionally,
you shouldn't try to use the ACPI generic interface to access a general
CPUfreq driver; but use /proc/cpufreq [or /proc/sys/cpu/0/] directly.

	Dominik


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en

  parent reply	other threads:[~2002-11-05  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05  0:13 Quick, Quick, Slooow Al Cutter
     [not found] ` <20021105001358.A54213-bxPqUFq66fhTnqHRgSL67VaTQe2KTcn/@public.gmane.org>
2002-11-05  8:43   ` Dominik Brodowski [this message]
     [not found]     ` <20021105094334.C1465-JhLEnvuH02M@public.gmane.org>
2002-11-05  9:54       ` Al Cutter
2002-11-05 10:20       ` Alan Cox
     [not found]         ` <1036491637.4827.4.camel-MMxVpc8zpTQVh3rx8e9g/fyykp6/JSeS3vcXtXqGYxw@public.gmane.org>
2002-11-05 10:06           ` Al Cutter

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=20021105094334.C1465@brodo.de \
    --to=linux-jhlenvuh02m@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=alien-acpirep-xE0Zs7GtCLTd8Zgiw/MPxQ@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 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.