ACPI: Decouple ACPI idle and ACPI processor drivers
authorAshwin Chaugule <ashwin.chaugule@linaro.org>
Wed, 5 Aug 2015 13:40:26 +0000 (09:40 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Aug 2015 01:25:47 +0000 (03:25 +0200)
commit5f05586c609dfc737e2e00c757a51c7dbb415e51
tree282d1717e70ad141d994d87589006d78d22c5006
parent239708a3af44064366f1af0eea02dc1e8991c11b
ACPI: Decouple ACPI idle and ACPI processor drivers

This patch introduces a new Kconfig symbol, ACPI_PROCESSOR_IDLE,
which is auto selected by architectures which support the ACPI
based C states for CPU Idle management.

The processor_idle driver in its present form contains declarations
specific to X86 and IA64. Since there are no reasonable defaults
for other architectures e.g. ARM64, the driver is selected only for
X86 or IA64.

This helps in decoupling the ACPI processor_driver from the ACPI
processor_idle driver which is useful for the upcoming alternative
patchwork for controlling CPU Performance (CPPC) and CPU Idle (LPI).

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