summaryrefslogtreecommitdiff
path: root/include/acpi/processor.h
AgeCommit message (Collapse)Author
2006-01-24[ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi ↵Len Brown
branches into release Signed-off-by: Len Brown <len.brown@intel.com>
2006-01-08[ACPI] make two processor functions staticAdrian Bunk
acpi_processor_write_throttling() acpi_processor_write_limit() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
2005-12-01[ACPI] Avoid BIOS inflicted crashes by evaluating _PDC only onceVenkatesh Pallipadi
Linux invokes the AML _PDC method (Processor Driver Capabilities) to tell the BIOS what features it can handle. While the ACPI spec says nothing about the OS invoking _PDC multiple times, doing so with changing bits seems to hopelessly confuse the BIOS on multiple platforms up to and including crashing the system. Factor out the _PDC invocation so Linux invokes it only once. http://bugzilla.kernel.org/show_bug.cgi?id=5483 Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
2005-08-05[ACPI] Lindent all ACPI filesLen Brown
Signed-off-by: Len Brown <len.brown@intel.com>
2005-07-12[ACPI] enable C2 and C3 idle power states on SMPVenkatesh Pallipadi
http://bugzilla.kernel.org/show_bug.cgi?id=4401 Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
2005-03-08[ACPI] limit scope of various globals to staticLen Brown
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Len Brown <len.brown@intel.com>
2005-01-20Merge intel.com:/home/lenb/src/26-stable-devLen Brown
into intel.com:/home/lenb/src/26-latest-dev
2005-01-20[ACPI] Make the bm_activity depend on "jiffies", instead of numbersLen Brown
of the check being called. This means bus mastering activity is assumed if bm_check isn't called; and multiple calls during one jiffy will be |='ed. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Len Brown <len.brown@intel.com>
2005-01-09[PATCH] Fix gcc 4 compilation in ACPIAndi Kleen
extern declaration of static Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-12-21[ACPI] Consolidate code in processor_idle().Len Brown
Only symbols "exported" are _init(), _exit() and _cst_has_changed() Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] Handle _CST change notificationsLen Brown
It is necessary to unload the processor idle handle for a short period of time to avoid for nasty races -- and we don't want to grab too many locks so that the idle handler continues to be speedy. http://bugzilla.kernel.org/show_bug.cgi?id=1958 Signed-off-by: Bruno Ducrot <ducrot@poupinou.org> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] Add _CST parsingLen Brown
http://bugzilla.kernel.org/show_bug.cgi?id=1958 Signed-off-by: Bruno Ducrot <ducrot@poupinou.org> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] make the c-state policy decisions of demotion and promotionLen Brown
independent of the assumption "one state per type." make the state a pointer inside struct acpi_processor_cx_policy. make max_cstate aware of c-state types instead of c-state number. http://bugzilla.kernel.org/show_bug.cgi?id=1958 Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] make power.state a pointerLen Brown
http://bugzilla.kernel.org/show_bug.cgi?id=1958 Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] Split up the extraction of information from the FADTLen Brown
and the pblk_address (acpi_processor_get_power_info_fadt()) and the validation whether the state is indeed available (acpi_processor_power_verify()). http://bugzilla.kernel.org/show_bug.cgi?id=1958 Signed-off-by: Bruno Ducrot <ducrot@poupinou.org> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] Differentiate between C-States and C-state type.Len Brown
http://bugzilla.kernel.org/show_bug.cgi?id=1958 Signed-off-by: Bruno Ducrot <ducrot@poupinou.org> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] Split the ACPI Processor passive cooling code into a different fileLen Brown
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] Split the ACPI Processor C-States handling into a different fileLen Brown
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] Split the ACPI Processor T-States handling into a different fileLen Brown
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-21[ACPI] Split the ACPI Processor P-States library into a different fileLen Brown
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
2004-12-01Merge intel.com:/home/lenb/src/26-stable-devLen Brown
into intel.com:/home/lenb/src/26-latest-dev
2004-12-01[ACPI] update C-state limiting patchLen Brown
Now "max_cstate=" instead of "acpi_cstate_limit=" Delete redundant static cstate flags .c2 and .c3 http://bugme.osdl.org/show_bug.cgi?id=3549 For static processor driver, boot cmdline: processor.max_cstate=2 For processor module, /etc/modprobe.conf: options processor max_cstate=2 or # modprobe processor max_cstate=2 From kernel or kernel module: #include <linux/acpi.h> acpi_set_cstate_limit(2); Suggested-by: Pavel Machek Signed-off-by: Len Brown <len.brown@intel.com>
2004-10-08[ACPI] Notify SMM of cpufreqLen Brown
http://marc.theaimsgroup.com/?l=acpi4linux&m=109428989121089&w=2 Signed-off-by: Dominik Brodowski <linux@brodo.de>
2004-01-30[ACPI] make # of performance states dynamicDominik Brodowski
from Dominik Brodowski
2004-01-30[ACPI] add _PDC supportDominik Brodowski
Add support for _PDC to the ACPI processor "Performance States library" (perflib). If this field is empty, a bogus entry is passed to the _PDC method so that the default (io) access is returned again. This patch is partly based on David Moore's patch to arch/i386/kernel/cpu/cpufreq/acpi.c, sent to the cpufreq mailing list on June 24th, 2003.
2004-01-30[ACPI] Abstract the registration method between low-level driversDominik Brodowski
and the ACPI Processor P-States driver. from Dominik Brodowski
2004-01-30[ACPI] Move the /proc/acpi/processor/./performance output toDominik Brodowski
drivers/acpi/processor.c -- it's the same for all lowlevel drivers. By doing so, the lowlevel drivers no longer need to have access to struct acpi_processor. from Dominik Brodowski
2004-01-28[ACPI] acpi-cpufreq fixups from Dominik BrodowskiDominik Brodowski
- remove unnecessary usage of flags.performance - remove double check of _PPC in acpi-cpufreq driver as it's handled in drivers/acpi/processor.c already - remove unneeded EXPORT_SYMBOL - allocation of memory only for probed CPUs - add unregistration function to the core - fix OOPS when PST has core_frequency values of zero - fix cpufreq_get() output - fix /proc/acpi/processor/*/performance write support [deprecated]
2004-01-28[ACPI] update _PPC handling -- from Dominik BrodowskiDominik Brodowski
updates the _PPC handling. It is handled as a CPUfreq policy notifier which adjusts the maximum CPU speed according to the current platform limit.
2004-01-15[ACPI] change hard-coded IO width to programmable widthLen Brown
http://bugzilla.kernel.org/show_bug.cgi?id=1349 from David Shaohua Li and Venatesh Pallipadi
2003-01-19CPUFREQ: Break out ACPI Perf code into its own module, under cpufreqAndy Grover
(Dominik Brodowski)