]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI: Split out ACPI PSS from ACPI Processor driver
authorAshwin Chaugule <ashwin.chaugule@linaro.org>
Wed, 5 Aug 2015 13:40:25 +0000 (09:40 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Aug 2015 01:25:47 +0000 (03:25 +0200)
commit239708a3af44064366f1af0eea02dc1e8991c11b
tree3660c0e42ac0c18b322239aadba3505b791cb772
parentd3c68f218f927bd4b14b586ea2dcecee54cf09ad
ACPI: Split out ACPI PSS from ACPI Processor driver

The ACPI processor driver is currently tied too closely
to the ACPI P-states (PSS) and other related constructs
for controlling CPU performance.

The newer ACPI specification (v5.1 onwards) introduces
alternative methods to PSS. These new mechanisms are
described within each ACPI Processor object and so they
need to be scanned whenever a new Processor object is detected.
This patch introduces a new Kconfig symbol to allow for
finer configurability among the two options for controlling
performance states. There is no change in functionality and
the option is auto-selected by the architectures which support it.

A future commit will introduce support for CPPC: A newer method of
controlling CPU performance. The OS is not expected to support
CPPC and PSS at the same time, so the Kconfig option lets us make
the two mutually exclusive at compile time.

Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig
drivers/acpi/Makefile
drivers/acpi/processor_driver.c
include/acpi/processor.h