Skip to content

CPPC enhancements

Prashanth Prakash linux-acpi 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 4 repliesIn review
  2. v25 patches 8 repliesSuperseded
  3. v15 patches 6 repliesSuperseded

Changes in v3 from the cover letter

* Fixed the error path in send_pcc_cmd in CPPC batching patch
* Included a patch to consolidate all the global variables
* Included a patch to check for PCC error bit (Alexey)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ACPI/CPPC: restructure read/writes for efficient sys mapped reg opsdrivers/acpi/cppc_acpi.c include/acpi/cppc_acpi.h+72 -370 replies
2/7ACPI/CPPC: acquire pcc_lock only while accessing PCC subspacedrivers/acpi/cppc_acpi.c+16 -140 replies
3/7ACPI/CPPC: support for batching CPPC requestsdrivers/acpi/cppc_acpi.c include/acpi/cppc_acpi.h+166 -340 replies
4/7ACPI/CPPC: set a non-zero value for transition_latencydrivers/acpi/cppc_acpi.c drivers/cpufreq/cppc_cpufreq.c include/acpi/cppc_acpi.h+46 -20 replies
5/7ACPI/CPPC: add sysfs support to compute delivered performancedrivers/acpi/cppc_acpi.c include/acpi/cppc_acpi.h+120 -210 replies
6/7ACPI/CPPC: move all PCC related information into pcc_datadrivers/acpi/cppc_acpi.c+87 -800 replies
7/7ACPI/CPPC: check for error bit in PCC status fielddrivers/acpi/cppc_acpi.c include/acpi/cppc_acpi.h+34 -360 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchAlexey Klimov
1/7
2/7
3/7
4/7R-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/7] CPPC enhancements

Hi,

This series has patches related to cppc that either improves the performance or adds some features.

v3:
* Fixed the error path in send_pcc_cmd in CPPC batching patch
* Included a patch to consolidate all the global variables
* Included a patch to check for PCC error bit (Alexey)
v2:
* Sysfs entry for counter wraparound time(Alexey)
* Updated latency calculation to sum of Nominal and MRTT(Alexey)
* Moved refernce_perf from perf_caps to fb_ctrs
* Addressed review comments from Hoan and few minor cleanups
v1:
* Pulled in the CPPC batching path to this series
* Addressed POSTCHANGE issue(Alexey) and switch to RW semaphore(Hoan)

Thanks,
Prashanth
Ashwin Chaugule (2):
ACPI/CPPC: restructure read/writes for efficient sys mapped reg ops ACPI/CPPC: add sysfs support to compute delivered performance

Prashanth Prakash (5):
ACPI/CPPC: acquire pcc_lock only while accessing PCC subspace ACPI/CPPC: support for batching CPPC requests ACPI/CPPC: set a non-zero value for transition_latency ACPI/CPPC: move all PCC related information into pcc_data ACPI/CPPC: check for error bit in PCC status field

 drivers/acpi/cppc_acpi.c       | 600 +++++++++++++++++++++++++++++++----------
 drivers/cpufreq/cppc_cpufreq.c |   1 +
 include/acpi/cppc_acpi.h       |  14 +-
 3 files changed, 466 insertions(+), 149 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.