Bug 5737 - Software P-state coordination and ACPI 3.0 _PSD method in Linux kernel
Software P-state coordination and ACPI 3.0 _PSD method in Linux kernel
Status: CLOSED CODE_FIX
Product: ACPI
Classification: Unclassified
Component: Power-Processor
i386 Linux
: P2 normal
Assigned To: Venkatesh Pallipadi
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-13 10:01 UTC by Venkatesh Pallipadi
Modified: 2006-06-30 16:53 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.14
Tree: Mainline
Regression: ---


Attachments
patch 1/4 : P-state software coordination changes for acpi core (8.50 KB, patch)
2005-12-14 15:05 UTC, Venkatesh Pallipadi
Details | Diff
patch 2/4 : P-state software coordination changes for acpi-cpufreq driver (14.24 KB, patch)
2005-12-14 15:06 UTC, Venkatesh Pallipadi
Details | Diff
patch 3/4 : P-state software coordination changes for speedstep-centrino driver (11.37 KB, patch)
2005-12-14 15:07 UTC, Venkatesh Pallipadi
Details | Diff
patch 4/4 : P-state software coordination final changes to turn on in _PDC (1.54 KB, patch)
2005-12-14 15:08 UTC, Venkatesh Pallipadi
Details | Diff
patch 2/4 : P-state software coordination changes for acpi-cpufreq driver (rebased with 2.6.16-rc1-git6) (14.36 KB, patch)
2006-02-02 12:05 UTC, Venkatesh Pallipadi
Details | Diff
Patch to treat hardware coordinated CPUs as independent in cpufreq (3.76 KB, patch)
2006-04-15 16:56 UTC, Venkatesh Pallipadi
Details | Diff

Description Venkatesh Pallipadi 2005-12-13 10:01:40 UTC
Most recent kernel where this bug did not occur:
Distribution:
Hardware Environment:
Software Environment:
Problem Description:
Linux kernel should have support for software coordination of P-states and 
support for _PSD ACPI 3.0 method.

The original patch for this was sent on the mailing list here:
http://sourceforge.net/mailarchive/forum.php?
forum_id=6102&max_rows=100&style=threaded&viewmonth=200509&viewday=13

This patch will support software coordination of P-states across logical CPUs 
in cases where CPUs share a P-state and BIOS supports the _PSD method and lets 
OS know of this P-states getting shared across CPUs.
Comment 1 Venkatesh Pallipadi 2005-12-13 10:02:58 UTC
There has been some other changes in the code being touched by the above patch 
in last two months. Below is the rebased patchset to current base kernel 
(2.6.15-rc).
Comment 2 Venkatesh Pallipadi 2005-12-14 15:05:05 UTC
Created attachment 6826 [details]
patch 1/4 : P-state software coordination changes for acpi core
Comment 3 Venkatesh Pallipadi 2005-12-14 15:06:36 UTC
Created attachment 6827 [details]
patch 2/4 : P-state software coordination changes for acpi-cpufreq driver
Comment 4 Venkatesh Pallipadi 2005-12-14 15:07:47 UTC
Created attachment 6828 [details]
patch 3/4 : P-state software coordination changes for speedstep-centrino driver
Comment 5 Venkatesh Pallipadi 2005-12-14 15:08:44 UTC
Created attachment 6829 [details]
patch 4/4 : P-state software coordination final changes to turn on in _PDC
Comment 6 Venkatesh Pallipadi 2006-02-02 12:05:12 UTC
Created attachment 7219 [details]
patch 2/4 : P-state software coordination changes for acpi-cpufreq driver (rebased with 2.6.16-rc1-git6)

Updated patchset against 2.6.16-rc1-git6. Patch 1, 3 and 4 above applies
cleanly. But, patch 2had a conflict and Updating that one here.
Comment 7 Len Brown 2006-02-09 01:27:43 UTC
patches 1-4 applied to acpi-test tree
Comment 8 Venkatesh Pallipadi 2006-04-15 16:56:16 UTC
Created attachment 7878 [details]
Patch to treat hardware coordinated CPUs as independent in cpufreq

Addon patch that applies over all the original patches. This changes the
behavior with hardware coordination. Hardware coordination will be treated as
independent CPUs by cpufreq. That way we can do per cpu monitoring of P-states.
Comment 9 Len Brown 2006-06-25 21:32:04 UTC
patches 1-4 shipped in 2.6.17-git9 
patch in comment #8 added to acpi-test tree 
 
Comment 10 Len Brown 2006-06-30 16:53:24 UTC
patch in comment #8 shipped after 2.6.17-git17 
in time for 2.6.18-rc1.  closed. 
 

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