Bug 4233

Summary: Enable C-state even when only C1 is present
Product: ACPI Reporter: Venkatesh Pallipadi (venki)
Component: Config-ProcessorsAssignee: Venkatesh Pallipadi (venki)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla, prakash
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.11-rc Subsystem:
Regression: --- Bisected commit-id:
Attachments: Patch 1
Patch 2
incremental patch for ia64 from Venkatesh

Description Venkatesh Pallipadi 2005-02-20 16:16:29 UTC
Currently, /proc/acpi/processor/CPU*/power will not show C-state statistics 
when only C1 is supported. The patch will enable the /proc/ Cstate interfaces 
even when only C1 is supported. This should not add any performance overhead 
due to acpi_idle routine, as we don't have anything to do at the time of 
running idle routine.
Further, as Dominik pointed out, there can be a case where only C1 is enabled 
in AC power and other C-states get enabled when on battery. The patch here 
will help that case as well.
Comment 1 Venkatesh Pallipadi 2005-02-20 16:28:12 UTC
Created attachment 4578 [details]
Patch 1
Comment 2 Venkatesh Pallipadi 2005-03-25 16:00:56 UTC
Created attachment 4802 [details]
Patch 2
Comment 3 Venkatesh Pallipadi 2005-03-25 19:29:22 UTC
Patch 2 above obsoletes the Patch 1. Infact patch 1 was not complete. It was not
enabling acpi_idle in all the cases. 
Comment 4 Len Brown 2005-03-31 20:26:16 UTC
patch in comment #2 applied to acpi-test tree 
Comment 5 Venkatesh Pallipadi 2005-03-31 21:58:47 UTC
*** Bug 2635 has been marked as a duplicate of this bug. ***
Comment 6 Len Brown 2005-04-18 20:08:35 UTC
Created attachment 4954 [details]
incremental patch for ia64 from Venkatesh

applied to acpi-test tree
Comment 7 Len Brown 2005-07-27 18:54:07 UTC
shipped in 2.6.13-rc3 - closing.