Bug 4233 - Enable C-state even when only C1 is present
Summary: Enable C-state even when only C1 is present
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Processors (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Venkatesh Pallipadi
URL:
Keywords:
: 2635 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-20 16:16 UTC by Venkatesh Pallipadi
Modified: 2005-07-27 18:54 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.11-rc
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Patch 1 (1.93 KB, patch)
2005-02-20 16:28 UTC, Venkatesh Pallipadi
Details | Diff
Patch 2 (1.91 KB, patch)
2005-03-25 16:00 UTC, Venkatesh Pallipadi
Details | Diff
incremental patch for ia64 from Venkatesh (1.36 KB, patch)
2005-04-18 20:08 UTC, Len Brown
Details | Diff

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.

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