mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Support for autonomous selection in cppc_cpufreq
@ 2024-11-22  6:20 Lifeng Zheng
  2024-11-22  6:20 ` [PATCH v2 1/3] ACPI: CPPC: Refactor register get and set ABIs Lifeng Zheng
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Lifeng Zheng @ 2024-11-22  6:20 UTC (permalink / raw)
  To: rafael, lenb, robert.moore, viresh.kumar
  Cc: acpica-devel, linux-acpi, linux-kernel, linux-pm, linuxarm,
	jonathan.cameron, zhanjie9, lihuisong, hepeng68, fanghao11,
	zhenglifeng1

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-12-12  8:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-22  6:20 [PATCH v2 0/3] Support for autonomous selection in cppc_cpufreq Lifeng Zheng
2024-11-22  6:20 ` [PATCH v2 1/3] ACPI: CPPC: Refactor register get and set ABIs Lifeng Zheng
2024-12-10 18:14   ` Rafael J. Wysocki
2024-12-12  8:43     ` zhenglifeng (A)
2024-11-22  6:20 ` [PATCH v2 2/3] ACPI: CPPC: Add autonomous selection ABIs Lifeng Zheng
2024-11-22  6:20 ` [PATCH v2 3/3] cpufreq: CPPC: Support for autonomous selection in cppc_cpufreq Lifeng Zheng
2024-12-04  6:07 ` [PATCH v2 0/3] " zhenglifeng (A)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®