All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: "Romain Liévin" <roms@lievin.net>
Cc: davej@codemonkey.org.uk, cpufreq@lists.linux.org.uk
Subject: RE: Frequency can't switch on a dual Turion 64
Date: Sun, 21 Jan 2007 12:46:37 +0100	[thread overview]
Message-ID: <1169379997.14625.29.camel@sublime.site> (raw)
In-Reply-To: <1052.10.10.10.3.1169375336.squirrel@www.lievin.net>

On Sun, 2007-01-21 at 11:28 +0100, Romain Liévin wrote:
> Hi,
> 
> > It looks like the powernow-k8 driver correctly constructs
> > a two entry frequency table and verifies it, and then
> > reverifies a second frequency table with only 1 entry in
> > it.
> 
> I feel very strange that frequency range can vary ("request for
> verification of policy") between 2 calls of cpufreq_driver->verify() on
> the same CPU (cpufreq.c: 1386 & 1400). First call returns
> 800000-1600000MHz while the second one returns 800000-800000. Moreover,
> both calls are done before calling set_policy() at line 1413.
> 
> I think there is either a bug, either a problem with my configuration.
> Anyways, I'm investigating this by taking a look at source code.
> 
> I decided to debug this but I can load the powernow-k8 module once. I
> can't unload it; I have to reboot which is very annoying. Why module is
> locked?

In older kernels powernow-k8 could be unloaded, not sure whether this
is still the case. Switch to performance (or userspace?) governor and
try to unload all related modules, e.g. freq_tables,
maybe it still works.

I expect the limitation comes from ACPI _PPC func, so you should add
ACPI_DEBUG to your debug kernel and a printk into:
drivers/acpi/processor_perflib.c:acpi_processor_ppc_notifier()
to be sure.

Can you open a bugzilla.kernel.org bug and attach acpidump and add me
to CC, pls.

This sounds related to:
https://bugzilla.novell.com/show_bug.cgi?id=231107

You should also make sure your kernel includes this one, recently
posted here by Bruno Ducrot:
http://marc.theaimsgroup.com/?l=linux-acpi&m=116412804022222&w=2

     Thomas

  reply	other threads:[~2007-01-21 11:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 11:56 Frequency can't switch on a dual Turion 64 Romain Liévin
2007-01-12 15:06 ` Langsdorf, Mark
2007-01-13 20:21   ` Thomas Renninger
2007-01-13 21:55     ` Romain Liévin
2007-01-21 10:28   ` Romain Liévin
2007-01-21 11:46     ` Thomas Renninger [this message]
2007-01-21 15:45       ` Romain Liévin

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=1169379997.14625.29.camel@sublime.site \
    --to=trenn@suse.de \
    --cc=cpufreq@lists.linux.org.uk \
    --cc=davej@codemonkey.org.uk \
    --cc=roms@lievin.net \
    /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.