Bug 15115 - C3 state not available for Asus F5RL
Summary: C3 state not available for Asus F5RL
Status: REJECTED DOCUMENTED
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Processor (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-23 21:22 UTC by Kay-Uwe Giering
Modified: 2010-01-28 01:07 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.32.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
acpidump (gzipped) (42.06 KB, application/x-gzip)
2010-01-23 21:22 UTC, Kay-Uwe Giering
Details
ssdt (3.15 KB, application/octet-stream)
2010-01-26 17:26 UTC, Kay-Uwe Giering
Details
ssdt2 (3.15 KB, application/octet-stream)
2010-01-26 17:27 UTC, Kay-Uwe Giering
Details

Description Kay-Uwe Giering 2010-01-23 21:22:11 UTC
Created attachment 24690 [details]
acpidump (gzipped)

Distribution: Debian Lenny
Hardware Environment: Intel Core Duo T2370

ACPI C3 power state is not available on this Laptop. I have tested this with different distributions and kernel versions. There could be some similarity to bug 10807.




Bootmessage Kernel 2.6.32.5:
ACPI: SSDT 77fa7c30 00C99 (v01    AMI   CPU1PM 00000001 INTL 20060113)
Marking TSC unstable due to TSC halts in idle
ACPI: CPU0 (power states: C1[C1] C2[C2])
processor ACPI_CPU:00: registered as cooling_device0
ACPI: Processor [CPU1] (supports 8 throttling states)
ACPI: SSDT 77fa88d0 00C99 (v01    AMI   CPU2PM 00000001 INTL 20060113)
ACPI: CPU1 (power states: C1[C1] C2[C2])
processor ACPI_CPU:01: registered as cooling_device1


cat /proc/acpi/processor/*/power
active state:            C0
max_cstate:              C8
maximum allowed latency: 17414 usec
states:
    C1:                  type[C1] promotion[--] demotion[--] latency[001] usage[00000174] duration[00000000000000000000]
    C2:                  type[C2] promotion[--] demotion[--] latency[001] usage[01050351] duration[00000018441973421496]
active state:            C0
max_cstate:              C8
maximum allowed latency: 17414 usec
states:
    C1:                  type[C1] promotion[--] demotion[--] latency[001] usage[00000045] duration[00000000000000000000]
    C2:                  type[C2] promotion[--] demotion[--] latency[001] usage[01054958] duration[00000000008134518021]



 cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Pentium(R) Dual  CPU  T2370  @ 1.73GHz
stepping        : 13
cpu MHz         : 798.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips        : 3458.06
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Pentium(R) Dual  CPU  T2370  @ 1.73GHz
stepping        : 13
cpu MHz         : 798.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips        : 3458.36
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:



output of cpuid (attached program in bug 10807):
 ./cpuid

Mwait is supported

 MMait leaf:
eax is 40
ebx is 40
ecx is 3
edx is 1110
Comment 1 Zhang Rui 2010-01-26 08:19:51 UTC
please attach the files at /sys/firmware/acpi/tables/dynamic/
For example, to get SSDT2, you can run "cat /sys/firmware/acpi/tables/dynamic/SSDT2 > ssdt2.dat".
Comment 2 Kay-Uwe Giering 2010-01-26 17:26:36 UTC
Created attachment 24733 [details]
ssdt
Comment 3 Kay-Uwe Giering 2010-01-26 17:27:11 UTC
Created attachment 24734 [details]
ssdt2
Comment 4 Kay-Uwe Giering 2010-01-26 17:28:03 UTC
Thank you for your answer. I have attached the requested files above.
Comment 5 Zhang Rui 2010-01-27 05:45:33 UTC
please attach the output of "cat /proc/acpi/processor/*/power" after unplugging the AC adapter of your laptop.
Comment 6 Kay-Uwe Giering 2010-01-27 16:56:59 UTC
the output for "cat /proc/acpi/processor/*/power" is:

AC adapter unplugged:
active state:            C0
max_cstate:              C8
maximum allowed latency: 17414 usec
states:
    C1:                  type[C1] promotion[--] demotion[--] latency[001] usage[00000001] duration[00000000000000000000]
    C2:                  type[C2] promotion[--] demotion[--] latency[001] usage[00002609] duration[00000000000075986432]
active state:            C0
max_cstate:              C8
maximum allowed latency: 17414 usec
states:
    C1:                  type[C1] promotion[--] demotion[--] latency[001] usage[00000001] duration[00000000000000000000]
    C2:                  type[C2] promotion[--] demotion[--] latency[001] usage[00003081] duration[00000000000078352499]


and for AC adapter plugged in:

active state:            C0
max_cstate:              C8
maximum allowed latency: 17414 usec
states:
    C1:                  type[C1] promotion[--] demotion[--] latency[001] usage[00000001] duration[00000000000000000000]
    C2:                  type[C2] promotion[--] demotion[--] latency[001] usage[00002439] duration[00000000000083784861]
active state:            C0
max_cstate:              C8
maximum allowed latency: 17414 usec
states:
    C1:                  type[C1] promotion[--] demotion[--] latency[001] usage[00000001] duration[00000000000000000000]
    C2:                  type[C2] promotion[--] demotion[--] latency[001] usage[00002737] duration[00000000000084561981]
Comment 7 Zhang Rui 2010-01-28 01:07:29 UTC
Look at the AML code below:

Method (_CST, 0, NotSerialized)
{
   If (\_SB.PCI0.AC0._PSR)
   {
      Return (ACST) /* C1 and C2 */
   }
   Else
   {
      If (And (CFGD, 0x40))
      {
         Return (BCST) /* C1, C2 and C3*/
      }
      Else
      {
         Return (ACST) /* C1 and C2*/
      }
   }
}

C3 is supported only if
1. AC adapter is unplugged
2. bit 6 of CFGD is set.
But unfortunately it's not set in your BIOS,

Name (CFGD, 0x01000031)

This means that the CPU doesn't support C3 or BIOS doesn't want it to.
So please check your BIOS to see if there is any BIOS option related.

Close this bug report as it is not a Linux kernel problem.

Note You need to log in before you can comment on or make changes to this bug.