]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ACPI: processor: Introduce acpi_processor_evaluate_cst()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 13 Dec 2019 08:55:24 +0000 (09:55 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 16 Dec 2019 11:06:18 +0000 (12:06 +0100)
commit987c785319b99e32602f7f86cfae3cf9b81e402b
treeebe2efdc00589174f58a20d4c1dcb3bd21e041ec
parentbc94638886ab21f8247d3f7f39573d3feb7d8284
ACPI: processor: Introduce acpi_processor_evaluate_cst()

In order to separate the ACPI _CST evaluation from checks
specific to the ACPI processor driver, move the majority of
the acpi_processor_get_power_info_cst() function body to a new
function, acpi_processor_evaluate_cst(), that will extract
the C-states information from _CST output, and redefine
acpi_processor_get_power_info_cst() as a wrapper around it.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c