Add sysfs interfaces for CPPC autonomous selection in the cppc_cpufreq
driver.
The patch series is organized in two parts:
- patch 1 refactor out the general CPPC register get and set functions
in cppc_acpi.c
- patches 2-3 expose sysfs files for users to control CPPC autonomous
selection when supported
Change since v1:
- fix some incorrect placeholder
- change kstrtoul to kstrtobool in store_auto_select
Lifeng Zheng (3):
ACPI: CPPC: Refactor register get and set ABIs
ACPI: CPPC: Add autonomous selection ABIs
cpufreq: CPPC: Support for autonomous selection in cppc_cpufreq
.../ABI/testing/sysfs-devices-system-cpu | 54 ++++
drivers/acpi/cppc_acpi.c | 235 +++++++++---------
drivers/cpufreq/cppc_cpufreq.c | 138 ++++++++++
include/acpi/cppc_acpi.h | 20 ++
4 files changed, 328 insertions(+), 119 deletions(-)
--
2.33.0