Skip to content

cpupower: Add various feature control support for amd_pstate

Wyes Karny linux-pm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 12 repliesIn review
  2. v25 patches 7 repliesSuperseded
  3. v16 patches 15 repliesSuperseded

Changes in v3 from the cover letter

- Use common prefix to recognise amd-pstate-epp driver.
- Picked up review tag from Mario.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cpupower: Recognise amd-pstate active mode drivertools/power/cpupower/utils/helpers/misc.c+1 -13 replies
2/5cpupower: Add is_valid_path APItools/power/cpupower/lib/cpupower.c tools/power/cpupower/lib/cpupower_intern.h+8 -02 replies
3/5cpupower: Add EPP value change supporttools/power/cpupower/utils/cpupower-set.c tools/power/cpupower/utils/helpers/helpers.h tools/power/cpupower/utils/helpers/misc.c+46 -12 replies
4/5cpupower: Add support for amd_pstate mode changetools/power/cpupower/utils/cpupower-set.c tools/power/cpupower/utils/helpers/helpers.h tools/power/cpupower/utils/helpers/misc.c+43 -21 reply
5/5cpupower: Add turbo-boost support in cpupowertools/power/cpupower/utils/cpupower-set.c tools/power/cpupower/utils/helpers/helpers.h tools/power/cpupower/utils/helpers/misc.c+42 -12 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchGautham R. ShenoyMario LimoncielloHuang RuiPerry Yuan
1/5R-b R-b A-b T-b
2/5R-b A-b T-b
3/5R-b A-b T-b
4/5R-b R-b A-b T-b
5/5R-b R-b A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/5] cpupower: Add various feature control support for amd_pstate

In this series, three feature control support for amd_pstate has been added.

1. EPP: User can control Energy Performance Preference (EPP) value,
which conveys user's performance vs energy preference to platform. This feature is present on amd_pstate and intel_pstate active mode.

2. amd_pstate mode switch: amd_pstate has various working modes such as
'active', 'passive' and 'guided', which can be changed dynamically.

3. Turbo boost: Turbo boost feature is present in amd_pstate as well as
acpi-cpufreq. By default this is enabled, but user can control this feature dynamically.

These features can be controlled with cpupower set command. The options are respectively --epp, --amd-pstate-mode, --turbo-boost

Also, make cpupower recognise amd-pstate-epp driver.

Changelog:
v2->v3:
- Use common prefix to recognise amd-pstate-epp driver.
- Picked up review tag from Mario.

v1->v2:
- Drop patch 1, which was amd-pstate-epp driver rename change.
- Picked ACKs from Ray.

Wyes Karny (5):
cpupower: Recognise amd-pstate active mode driver
cpupower: Add is_valid_path API
cpupower: Add EPP value change support
cpupower: Add support for amd_pstate mode change
cpupower: Add turbo-boost support in cpupower

 tools/power/cpupower/lib/cpupower.c          |  7 +++
 tools/power/cpupower/lib/cpupower_intern.h   |  1 +
 tools/power/cpupower/utils/cpupower-set.c    | 65 +++++++++++++++++++-
 tools/power/cpupower/utils/helpers/helpers.h | 11 ++++
 tools/power/cpupower/utils/helpers/misc.c    | 57 ++++++++++++++++-
 5 files changed, 138 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1