All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: ACPI / cpufreq on Presario R3120
@ 2004-06-03 21:42 paul.devriendt
  2004-06-03 21:58 ` Ken Hughes
  2004-06-04  9:59 ` Bruno Ducrot
  0 siblings, 2 replies; 16+ messages in thread
From: paul.devriendt @ 2004-06-03 21:42 UTC (permalink / raw)
  To: davej, ducrot; +Cc: Cpufreq


> We could kludge around this by doing a compare of the tables before we
> abort, and if they are the same, just ignore one of them.
> If it differs, we do what we do now.
> 
> Ideally, this should be fixed in a BIOS update though, or 
> alternatively
> an ACPI fallback.
> 
> Paul ?
> 
> 	Dave

I'm willing to put it in the driver. It is easy to ignore certain
table entries (thanks Dominik!), and I already have to do so for
the case where BIOSs are filling out unused entries with -1 instead
of accurately reporting how many entries actually exist.

Paul.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: ACPI / cpufreq on Presario R3120
@ 2004-06-04 18:01 paul.devriendt
  2004-06-05 13:52 ` Dominik Brodowski
  0 siblings, 1 reply; 16+ messages in thread
From: paul.devriendt @ 2004-06-04 18:01 UTC (permalink / raw)
  To: linux, ducrot; +Cc: davej, Cpufreq

This patch looks good, thanks Dominik. So, ignoring the AMD specific
case where there can only be 1 low freq entry, what happens in the
generic case where BIOS provides 2 (or more) identical pstates ?
Does the helper code just accept this happily, or should I also
add a check in powernow-k8 for this ? Paul.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: ACPI / cpufreq on Presario R3120
@ 2004-06-03 17:39 paul.devriendt
  0 siblings, 0 replies; 16+ messages in thread
From: paul.devriendt @ 2004-06-03 17:39 UTC (permalink / raw)
  To: khughes, Cpufreq

 
> powernow-k8: Found 1 AMD Athlon 64 / Opteron processors 
> (version 1.20.08b - March 20, 2004)
> powernow-k8: Too many lo freq table entries

BIOS produces tables of frequencies/voltages that are
valid for this processor. With a K8, the lists of valid
frequencies are split up into 2 tables - the low frequency
table (<1.6GHz) and the high frequency table (>= 1.6GHz).

The hardware is unable to transition between two low
frequencies. It can only transition low-high high-low or
high-high. (See chapter 9 of the BIOS and Kernel Developers
Guide, available from www.amd.com)

The driver does not have support for the only way to go
from low to low, which is low-high-low. This is because 
BIOSs are not supposed to provide >1 entry from the low
frequency table. And this, in turn, is because AMD
processor data sheets only describe a single low frequency
state as being valid for a given part.

Therefore, you have a broken BIOS. You should report this 
to the machine manufacturer.

I suggest, as a workaround, that you set CONFIG_ACPI_PROCESSOR
in the kernel config. This will then use the ACPI objects
which hopefully are constructed correctly. (I do not think
you are currently using them, but I'm not sure, you could
check your current config).

Paul.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* ACPI / cpufreq on Presario R3120
@ 2004-06-03 14:32 Ken Hughes
  2004-06-03 17:25 ` Bruno Ducrot
  0 siblings, 1 reply; 16+ messages in thread
From: Ken Hughes @ 2004-06-03 14:32 UTC (permalink / raw)
  To: Cpufreq

I've got a Presario with an AMD XP-M 3000+ CPU (a 32-bit K8).
I can't get the acpi or powernow-k8 modules to load on the
2.6.6 kernel;  loading acpi gives this message:

  > acpi_processor_perf-0301 [1219] acpi_cpufreq_cpu_init : Unsupported 
address space [127, 127]

and powernow-k8 (with and without Pavel's patches) gives this:

  > powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 
1.20.08b - March 20, 2004)
  > powernow-k8: Too many lo freq table entries
  > powernow-k8: BIOS error - no PSB

I dumped the DSDT but it doesn't seem to have much info on the CPU.

The applicable section in my .config file is:

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_PROC_INTF is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
# CONFIG_CPU_FREQ_24_API is not set
CONFIG_CPU_FREQ_TABLE=m
 

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
CONFIG_X86_POWERNOW_K8=m
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

Any suggestions where I should look?  I'm not sure if it's a
APCI or cpufreq issue  -- Ken

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

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

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-03 21:42 ACPI / cpufreq on Presario R3120 paul.devriendt
2004-06-03 21:58 ` Ken Hughes
2004-06-04  9:59 ` Bruno Ducrot
2004-06-04 15:25   ` Dominik Brodowski
2004-06-04 16:07     ` Bruno Ducrot
2004-06-05 13:46       ` Dominik Brodowski
2004-06-04 16:55     ` Ken Hughes
2004-06-05 13:47       ` [PATCH] " Dominik Brodowski
  -- strict thread matches above, loose matches on Subject: below --
2004-06-04 18:01 paul.devriendt
2004-06-05 13:52 ` Dominik Brodowski
2004-06-03 17:39 paul.devriendt
2004-06-03 14:32 Ken Hughes
2004-06-03 17:25 ` Bruno Ducrot
2004-06-03 18:02   ` Ken Hughes
2004-06-03 18:20     ` Bruno Ducrot
2004-06-03 20:34       ` Dave Jones

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.