mbox series

[0/3] Support for autonomous selection in cppc_cpufreq

Message ID 20241114084816.1128647-1-zhenglifeng1@huawei.com (mailing list archive)
Headers show
Series Support for autonomous selection in cppc_cpufreq | expand

Message

Lifeng Zheng Nov. 14, 2024, 8:48 a.m. UTC
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

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                | 141 +++++++++++
 include/acpi/cppc_acpi.h                      |  20 ++
 4 files changed, 331 insertions(+), 119 deletions(-)