Skip to content

additional sysfs entries for CPPC

Prashanth Prakash linux-acpi 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Removed caching of perf caps based on Rafael's inputs

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI / CPPC: Read lowest non linear perf in cppc_get_perf_capsdrivers/acpi/cppc_acpi.c include/acpi/cppc_acpi.h+12 -82 replies
2/2ACPI / CPPC: add sysfs entries for CPPC perf capabilitiesdrivers/acpi/cppc_acpi.c include/acpi/cppc_acpi.h+34 -290 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/2] additional sysfs entries for CPPC

This patch-set adds few additional sysfs entries to expose the performance capabilities of each CPU. The performance capabilities include highest perf, lowest perf, nominal perf and lowest non-linear perf. See 8.4.7.1 for ACPI 6.1 spec for details on these capabilities.

cppc_cpufreq driver operates in KHz scale whereas the delivered performance computed in userspace will be in abstract CPPC scale, so exposing perf capabilities should allow userspace to figure out the conversion factor from CPPC scale to KHz.

Changes in V2:
- Removed caching of perf caps based on Rafael's inputs

Prashanth Prakash (2):
ACPI / CPPC: Read lowest non linear perf in cppc_get_perf_caps ACPI / CPPC: add sysfs entries for CPPC perf capabilities

 drivers/acpi/cppc_acpi.c | 80 ++++++++++++++++++++++++++----------------------
 include/acpi/cppc_acpi.h |  3 +-
 2 files changed, 46 insertions(+), 37 deletions(-)
Signature · 3 lines
Qualcomm Datacenter Technologies on behalf of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.