cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH ] Add documentation on AMD powernow drivers
@ 2004-06-10 17:24 paul.devriendt
  2004-06-10 19:15 ` Dave Jones
  0 siblings, 1 reply; 4+ messages in thread
From: paul.devriendt @ 2004-06-10 17:24 UTC (permalink / raw)
  To: cpufreq

Dave,

Please add a little piece of explanatory doc, as suggested by Dominik. Thanks.

Paul

diff -r -u --new-file linux-2.6.6/Documentation/cpu-freq/amd-powernow.txt linux-2.6.6.paul/Documentation/cpu-freq/amd-powernow.txt
--- linux-2.6.6/Documentation/cpu-freq/amd-powernow.txt	1969-12-31 18:00:00.000000000 -0600
+++ linux-2.6.6.paul/Documentation/cpu-freq/amd-powernow.txt	2004-06-10 10:55:31.000000000 -0500
@@ -0,0 +1,37 @@
+
+PowerNow! and Cool'n'Quiet are AMD names for frequency
+management capabilities in AMD processors. As the hardware
+implementation changes in new generations of the processors,
+there is a different cpu-freq driver for each generation.
+
+Note that the driver's will not load on the "wrong" hardware,
+so it is safe to try each driver in turn when in doubt as to
+which is the correct driver.
+
+Note that the functionality to change frequency (and voltage)
+is not available in all processors. The drivers will refuse
+to load on processors without this capability. The capability
+is detected with the cpuid instruction.
+
+The drivers use BIOS supplied tables to obtain frequency and
+voltage information appropriate for a particular platform.
+Frequency transitions will be unavailable if the BIOS does
+not supply these tables.
+
+6th Generation: powernow-k6
+
+7th Generation: powernow-k7: Athlon, Duron, Geode.
+
+8th Generation: powernow-k8: Athlon, Athlon 64, Opteron, Sempron.
+Documentation on this functionality in 8th generation processors
+is available in the "BIOS and Kernel Developer's Guide", publication
+26094, in chapter 9, available for download from www.amd.com <www.amd.com> . 
+
+BIOS supplied data, for powernow-k7 and for powernow-k8, may be
+from either the PSB table or from ACPI objects. The ACPI support
+is only available if the kernel config sets CONFIG_ACPI_PROCESSOR.
+The powernow-k8 driver will attempt to use ACPI if so configured,
+and fall back to PST if that fails.
+The powernow-k7 driver will try to use the PSB support first, and
+fall back to ACPI if the PSB support fails.
+

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: [PATCH ] Add documentation on AMD powernow drivers
@ 2004-06-10 19:50 paul.devriendt
  0 siblings, 0 replies; 4+ messages in thread
From: paul.devriendt @ 2004-06-10 19:50 UTC (permalink / raw)
  To: davej; +Cc: cpufreq

 
> The fact that 'Athlon' appears in both may be confusing to 
> some readers.
> Can this be further qualified ?   Athlon (family 15) or the 
> like maybe?
> Is the marketing name for those 32bit k8's just going to be athlon,
> and not athlon-something? 
> 
> 	Dave

I am afraid not ... the -something is not sufficient to tell. 
You need to go to the cpuid values, or look up the product number.
You need code to get the cpuid value, and the product number is
under the heat sink.

If you do not know, you have to try both drivers, and rely on the
cpuid checking in the driver.

Paul.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-10 19:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 17:24 [PATCH ] Add documentation on AMD powernow drivers paul.devriendt
2004-06-10 19:15 ` Dave Jones
2004-06-10 19:33   ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2004-06-10 19:50 paul.devriendt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox