cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Pytasz" <mpytasz@pai.net.pl>
To: cpufreq@lists.linux.org.uk
Subject: Re: [PATCH] dual-core powernow-k8
Date: Mon, 2 May 2005 23:16:34 +0200	[thread overview]
Message-ID: <200505022316.34851.mpytasz@pai.net.pl> (raw)
In-Reply-To: <84EA05E2CA77634C82730353CBE3A84301CFBFB4@SAUSEXMB1.amd.com>

Hi,

On Monday 02 of May 2005 21:23, Langsdorf, Mark wrote:
> With the release of the dual-core AMD Opterons last week,
> it's high time that cpufreq supported them.  The attached
> patch applies cleanly to 2.6.12-rc3 and updates powernow-k8
> to support the latest Athlon 64 and Opteron processors.
>
> Update the driver to version 1.40.0 and provide support
> for dual-core processors.
>
> Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
>
> -Mark Langsdorf
> AMD, Inc.

I just tried applying patch against 2.6.11.8, well it builds fine, however 
when I try to use it (Athlon64 3200+ s939) I get:

powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.40.0)
powernow-k8:    0 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)
powernow-k8:    1 : fid 0xa (1800 MHz), vid 0x8 (1350 mV)
powernow-k8:    2 : fid 0xc (2000 MHz), vid 0x6 (1400 mV)
Losing some ticks... checking if CPU frequency changed.
cpu_init done, current fid 0xc, vid 0x6

which looks quite fine, but after ondemand govenor is started:

powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
powernow-k8: ignoring illegal change in lo freq table-2 to 0x2
powernow-k8: transition frequency failed

and so on.

Here is my cpuinfo (when I see above):

# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 31
model name      : AMD Athlon(tm) 64 Processor 3200+
stepping        : 0
cpu MHz         : 2000.108
cache size      : 512 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext fxsr_opt lm 
3dnowext 3dnow
bogomips        : 3915.77
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

built with gcc:
# gcc --version
gcc (GCC) 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2, 
ssp-3.4.3.20050110-0, pie-8.7.7)

system is running in native x86_64 mode.

Michal

  parent reply	other threads:[~2005-05-02 21:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-02 19:23 [PATCH] dual-core powernow-k8 Langsdorf, Mark
2005-05-02 21:14 ` Michał Pytasz
2005-05-02 21:16 ` Michał Pytasz [this message]
2005-05-02 21:48   ` Michał Pytasz
2005-05-04 16:51 ` Dominik Brodowski
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02 22:02 Langsdorf, Mark
     [not found] <84EA05E2CA77634C82730353CBE3A84301CFBFBC@SAUSEXMB1.amd.com>
2005-05-03  7:48 ` Michał Pytasz
2005-05-04 16:53 Langsdorf, Mark
2005-05-04 16:55 ` Dominik Brodowski
2005-05-04 23:27   ` Dave Jones

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=200505022316.34851.mpytasz@pai.net.pl \
    --to=mpytasz@pai.net.pl \
    --cc=cpufreq@lists.linux.org.uk \
    /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