All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Athlon 64 complains of frequency mismatch
@ 2004-06-22  6:02 paul.devriendt
  2004-06-22  7:30 ` Arjan van de Ven
  2004-06-22 15:16 ` Marc Singer
  0 siblings, 2 replies; 21+ messages in thread
From: paul.devriendt @ 2004-06-22  6:02 UTC (permalink / raw)
  To: elf, cpufreq

> > Partly. It shows the values received by the powernow-k8 driver are
> > _completely_ bogus. A standard questions: have you tried a 
> BIOS update?
> 
> I looked for one.  I downloaded a BIOS, though I'm not sure it is
> newer than the one installed.  The release notes make no mention of
> powernow or acpi.

> I did fetch it.  There are no entries for _PSS or even PSS.

The frequency/voltage values are different for different processor
models. The way that this is supposed to work is that the BIOS
provides a table of the frequency/voltage data that the driver 
uses, thus making the driver independent of the platform.

Obviously if the BIOS does not do this, then the driver has no
data. I do have a version of the driver that uses hardcoded
values for my own testing purposes, but the source has to be
edited to put in the correct values for your particular processor.

I did intend to make this data module parameters, but have not
had the time to do so yet. You can find the correct data values
for your processor from the "Power and Thermal" pdfs available 
on www.amd.com. Let me know if you want a copy of this hardcoded
driver (or it is easy to modify the driver ourself).

Paul.

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Athlon 64 complains of frequency mismatch
@ 2004-06-23  8:07 paul.devriendt
  0 siblings, 0 replies; 21+ messages in thread
From: paul.devriendt @ 2004-06-23  8:07 UTC (permalink / raw)
  To: elf; +Cc: cpufreq

> > > Or, maybe the driver should output a kernel message about BIOS
> > > settings.
> > 
> > Where is the FAQ ? I would like to read it :)
> > 
> > How about having the driver put out a message referring to go 
> > read the FAQ ?
> 
> Hmm.  It's hard to read your response.  If you are being sarcastic
> then perhaps I need to be more explicit.

No, I was not being sarcastic. Sorry for the confusion. I was 
suggesting that the driver should output a message referring to 
the FAQ rather than a message specifically about BIOS settings.

Paul.

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Athlon 64 complains of frequency mismatch
@ 2004-06-23  7:43 paul.devriendt
  2004-06-23  7:54 ` Marc Singer
  0 siblings, 1 reply; 21+ messages in thread
From: paul.devriendt @ 2004-06-23  7:43 UTC (permalink / raw)
  To: elf, cpufreq

> Perhaps this is an addition to the FAQ:
> 
>  Q609: AMD Cool&Quiet CPU won't load the powernow-k? driver.  Why?
> 
>  A609: The powernow driver gets it's information about processor
>        states from the BIOS's reported ACPI control data.  If the
>        powernow driver won't load it may be because Cool&Quiet hasn't
>        been enabled in the BIOS.  Make sure that BIOS settings for a
>        PowerNow or a Cool&Quiet option are enabled.
> 
> Or, maybe the driver should output a kernel message about BIOS
> settings.

Where is the FAQ ? I would like to read it :)

How about having the driver put out a message referring to go 
read the FAQ ?

Paul.

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Athlon 64 complains of frequency mismatch
@ 2004-06-23  7:43 paul.devriendt
  2004-06-23 17:52 ` Len Brown
  0 siblings, 1 reply; 21+ messages in thread
From: paul.devriendt @ 2004-06-23  7:43 UTC (permalink / raw)
  To: linux, elf; +Cc: cpufreq

I am of the opinion that this is a bug in the ACPI subsystem.
The BIOS developers find it easy to always have the space
allocated for their tables. They "hide" them by tricks
such as changing _PSS to XPSS.

Paul.

> -----Original Message-----
> From: cpufreq-bounces@www.linux.org.uk 
> [mailto:cpufreq-bounces@www.linux.org.uk] On Behalf Of 
> Dominik Brodowski
> Sent: Tuesday, June 22, 2004 12:11 PM
> To: Marc Singer
> Cc: cpufreq@www.linux.org.uk
> Subject: Re: Athlon 64 complains of frequency mismatch
> 
> On Mon, Jun 21, 2004 at 02:42:36PM -0700, Marc Singer wrote:
> > I did fetch it.  There are no entries for _PSS or even PSS.
> 
> But an entry XPSS which contains these bogus entries...
> 
> 
>             Name (XPSS, Package (0x03)
>             {
>                 Package (0x06)
>                 {
>                     0x09999999,
>                     0x00099999,
>                     0x00999999,
>                     0x00999999,
>                     0x99999999,
>                     0x99999999
>                 },
> 
>                 Package (0x06)
>                 {
>                     0x09999999,
>                     0x00099999,
>                     0x00999999,
>                     0x00999999,
>                     0x99999999,
>                     0x99999999
>                 },
> 
>                 Package (0x06)
>                 {
>                     0x09999999,
>                     0x00099999,
>                     0x00999999,
>                     0x00999999,
>                     0x99999999,
>                     0x99999999
>                 }
>             })
> 
> 
> I'm surprised a) that the BIOS-provided tables contain such 
> obviously bogus
> data, and b) that XPSS is used by the ACPI subsystem instead 
> of reporting
> there is no _PSS.
> 
> Also, are there any entries in the BIOS you can toggle which might be
> related to "Cool&Quiet", "PnP-capable OS", ...?
> 
> 	Dominik
> 
> _______________________________________________
> Cpufreq mailing list
> Cpufreq@www.linux.org.uk
> http://www.linux.org.uk/mailman/listinfo/cpufreq
> 
> 
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Athlon 64 complains of frequency mismatch
@ 2004-06-22 15:28 paul.devriendt
  0 siblings, 0 replies; 21+ messages in thread
From: paul.devriendt @ 2004-06-22 15:28 UTC (permalink / raw)
  To: ak, arjanv; +Cc: cpufreq

 
> I thought some laptops had limited thermal design and required
> more restrictions? e.g. it may not be safe to bypass the BIOS 
> completely.
> Or at least not automatically when you don't know what you're doing.
> 
> -Andi

Yes, so any sort of do it yourself / override capability is at your
own risk. 

Paul.

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Athlon 64 complains of frequency mismatch
@ 2004-06-22 15:26 paul.devriendt
  2004-06-22 16:07 ` Marc Singer
  0 siblings, 1 reply; 21+ messages in thread
From: paul.devriendt @ 2004-06-22 15:26 UTC (permalink / raw)
  To: elf; +Cc: cpufreq

> Perhaps I'm missing something.  If AMD advertizes Cool&Quiet as does
> this vendor, MSI, then there has to be someplace where this data is
> given to Windows.  Are we talking about the vendor providing a Windows
> driver without including the necessary information in the BIOS?

The Windows XP driver gets the information from the same place as
the Linux driver ... the ACPI _PSS object.

If Windows is able to find the data but Linux can not, then we have
some sort of bug or spec compliance issue.

Windows 2000 gets the information from the BIOS PSB table, and the
Linux driver is also capable of using this data (if CONFIG_ACPI_PROCESSOR
is not set, or if ACPI _PSS data can not be found).

Paul.

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Athlon 64 complains of frequency mismatch
@ 2004-06-18 18:51 Marc Singer
  2004-06-19 10:44 ` Dominik Brodowski
  0 siblings, 1 reply; 21+ messages in thread
From: Marc Singer @ 2004-06-18 18:51 UTC (permalink / raw)
  To: cpufreq

Below is the dmesg output from the powernow driver. I'd be glad to
patch the driver to fix&test if you can give me some indication as to
where to look for the trouble.

Cheers.

powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09b)
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid freq entries 3300000 kHz vs. 2147483048 kHz
powernow-k8: invalid powernow_table

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

end of thread, other threads:[~2004-06-23 17:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-22  6:02 Athlon 64 complains of frequency mismatch paul.devriendt
2004-06-22  7:30 ` Arjan van de Ven
2004-06-22 10:28   ` Andi Kleen
2004-06-22 15:16 ` Marc Singer
  -- strict thread matches above, loose matches on Subject: below --
2004-06-23  8:07 paul.devriendt
2004-06-23  7:43 paul.devriendt
2004-06-23  7:54 ` Marc Singer
2004-06-23  7:43 paul.devriendt
2004-06-23 17:52 ` Len Brown
2004-06-22 15:28 paul.devriendt
2004-06-22 15:26 paul.devriendt
2004-06-22 16:07 ` Marc Singer
2004-06-22 17:07   ` Dominik Brodowski
2004-06-18 18:51 Marc Singer
2004-06-19 10:44 ` Dominik Brodowski
2004-06-19 15:55   ` Marc Singer
2004-06-19 16:36   ` Marc Singer
2004-06-21 20:26     ` Dominik Brodowski
2004-06-21 21:42       ` Marc Singer
2004-06-22 17:11         ` Dominik Brodowski
2004-06-22 17:59           ` Marc Singer

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.