Skip to content

acpi: cppc optimization patches

Prashanth Prakash linux-acpi 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 3 repliesIn review
  2. v34 patches 11 repliesSuperseded
  3. v24 patches 10 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches4 repliesSuperseded

Changes in v4 from the cover letter

[1] Added another patch which decides if or when to send a request to the platform based on the Minimum Request Turnaround Time(MRTT) and Maximum Periodic Access Rate(MPAR) to make sure the implementation is compliant to ACPI spec
[2] Fixed the condition for pr_debug message in cppc_chan_tx_done()

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ACPI / CPPC: Optimize PCC Read Write operationsdrivers/acpi/cppc_acpi.c+72 -290 replies
2/5acpi: cppc: optimized cpc_read and cpc_writedrivers/acpi/cppc_acpi.c+64 -160 replies
3/5mailbox: pcc: optimized pcc_send_datadrivers/mailbox/pcc.c+104 -70 replies
4/5acpi: cppc: replace writeX/readX to PCC with relaxed versiondrivers/acpi/cppc_acpi.c+10 -100 replies
5/5acpi/cppc: use MRTT/MPAR to decide if/when a req can be sentdrivers/acpi/cppc_acpi.c+55 -11 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchAshwin Chaugule
1/5
2/5A-b
3/5A-b
4/5A-b
5/5A-b

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

Read the v4 thread

Cover letter [PATCH V4 0/5] acpi: cppc optimization patches

Changes in V4:
[1] Added another patch which decides if or when to send a request to the platform based on the Minimum Request Turnaround Time(MRTT) and Maximum Periodic Access Rate(MPAR) to make sure the implementation is compliant to ACPI spec
[2] Fixed the condition for pr_debug message in cppc_chan_tx_done()

Changes in V3: Addressed the review comments from Alexey, Ashwin and Timur

Changes in V2: Fixed compilation error on i386

This series introduces changes to reduce the time required to send a frequency transition requests to the platform while using the cppc-cpufreq driver.

With these changes we see significant improvement in the average time to send freq. transition request to the platform. Profiling on an ARM platform showed that the average transaction time per request reduced from 200us to under 20us.

Ashwin Chaugule (1):
ACPI / CPPC: Optimize PCC Read Write operations

Prashanth Prakash (4):
acpi: cppc: optimized cpc_read and cpc_write
mailbox: pcc: optimized pcc_send_data
acpi: cppc: replace writeX/readX to PCC with relaxed version acpi/cppc: use MRTT/MPAR to decide if/when a req can be sent

 drivers/acpi/cppc_acpi.c | 237 ++++++++++++++++++++++++++++++++++++++---------
 drivers/mailbox/pcc.c    | 111 ++++++++++++++++++++--
 2 files changed, 295 insertions(+), 53 deletions(-)
Signature · 3 lines
Qualcomm Technologies, Inc. on behalf
of the Qualcomm Innovation Center, Inc.  The Qualcomm Innovation Center, Inc. 
is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.