Skip to content

amd-pstate cleanups

Mario Limonciello linux-pm lkml llvm oe-kbuild-all 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest19 patches 6 repliesIn review
  2. v419 patches 13 repliesSuperseded
  3. v318 patches 16 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v217 patches17 repliesSuperseded
v114 patches26 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19cpufreq/amd-pstate: Invalidate cppc_req_cached during suspenddrivers/cpufreq/amd-pstate.c+4 -10 replies
2/19cpufreq/amd-pstate: Show a warning when a CPU fails to setupdrivers/cpufreq/amd-pstate.c+2 -01 reply
3/19cpufreq/amd-pstate: Drop min and max cached frequenciesdrivers/cpufreq/amd-pstate-ut.c drivers/cpufreq/amd-pstate.c drivers/cpufreq/amd-pstate.h+20 -460 replies
4/19cpufreq/amd-pstate: Move perf values into a uniondrivers/cpufreq/amd-pstate-ut.c drivers/cpufreq/amd-pstate.c drivers/cpufreq/amd-pstate.h+158 -1162 replies
5/19cpufreq/amd-pstate: Overhaul lockingdrivers/cpufreq/amd-pstate.c+3 -100 replies
6/19cpufreq/amd-pstate: Drop `cppc_cap1_cached`drivers/cpufreq/amd-pstate.c drivers/cpufreq/amd-pstate.h+0 -70 replies
7/19cpufreq/amd-pstate-ut: Use _free macro to free put policydrivers/cpufreq/amd-pstate-ut.c+14 -190 replies
8/19cpufreq/amd-pstate-ut: Allow lowest nonlinear and lowest to be the samedrivers/cpufreq/amd-pstate-ut.c+2 -20 replies
9/19cpufreq/amd-pstate-ut: Drop SUCCESS and FAIL enumsdrivers/cpufreq/amd-pstate-ut.c+55 -880 replies
10/19cpufreq/amd-pstate-ut: Run on all of the correct CPUsdrivers/cpufreq/amd-pstate-ut.c+4 -40 replies
11/19cpufreq/amd-pstate-ut: Adjust variable scopedrivers/cpufreq/amd-pstate-ut.c+2 -20 replies
12/19cpufreq/amd-pstate: Replace all AMD_CPPC_* macros with masksarch/x86/include/asm/msr-index.h arch/x86/kernel/acpi/cppc.c drivers/cpufreq/amd-pstate-ut.c +1 more+25 -240 replies
13/19cpufreq/amd-pstate: Cache CPPC request in shared mem case toodrivers/cpufreq/amd-pstate.c+21 -10 replies
14/19cpufreq/amd-pstate: Move all EPP tracing into *_update_perf and *_set_epp functionsdrivers/cpufreq/amd-pstate-trace.h drivers/cpufreq/amd-pstate.c+80 -510 replies
15/19cpufreq/amd-pstate: Update cppc_req_cached for shared mem EPP writesdrivers/cpufreq/amd-pstate.c+6 -00 replies
16/19cpufreq/amd-pstate: Drop debug statements for policy settingdrivers/cpufreq/amd-pstate.c+0 -40 replies
17/19cpufreq/amd-pstate: Rework CPPC enablingdrivers/cpufreq/amd-pstate.c+35 -1442 replies
18/19cpufreq/amd-pstate: Stop caching EPPdrivers/cpufreq/amd-pstate.c drivers/cpufreq/amd-pstate.h+10 -100 replies
19/19cpufreq/amd-pstate: Drop actions in amd_pstate_epp_cpu_offline()drivers/cpufreq/amd-pstate.c+1 -81 reply

Reviews trailers per patch

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

PatchGautham R. ShenoyDhananjay Ugwekar
1/19R-b R-b
2/19R-b R-b
3/19R-b R-b
4/19R-b R-b
5/19R-b R-b
6/19R-b R-b
7/19R-b R-b
8/19R-b R-b
9/19R-b R-b
10/19R-b R-b
11/19R-b R-b
12/19R-b R-b
13/19R-b R-b
14/19R-b R-b
15/19R-b R-b
16/19R-b R-b
17/19R-b R-b
18/19R-b R-b
19/19R-b R-b

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

Read the v5 thread

Cover letter [PATCH v5 00/19] amd-pstate cleanups

From: Mario Limonciello <[email protected]>

This series overhauls locking and drops many unnecessarily cached variables.

Debugging messages are also dropped in favor of more ftracing.

This series is based off superm1/linux.git bleeding-edge branch.

Mario Limonciello (19):
cpufreq/amd-pstate: Invalidate cppc_req_cached during suspend cpufreq/amd-pstate: Show a warning when a CPU fails to setup cpufreq/amd-pstate: Drop min and max cached frequencies cpufreq/amd-pstate: Move perf values into a union cpufreq/amd-pstate: Overhaul locking
cpufreq/amd-pstate: Drop cppc_cap1_cached cpufreq/amd-pstate-ut: Use _free macro to free put policy cpufreq/amd-pstate-ut: Allow lowest nonlinear and lowest to be the
same
cpufreq/amd-pstate-ut: Drop SUCCESS and FAIL enums cpufreq/amd-pstate-ut: Run on all of the correct CPUs cpufreq/amd-pstate-ut: Adjust variable scope cpufreq/amd-pstate: Replace all AMD_CPPC_* macros with masks cpufreq/amd-pstate: Cache CPPC request in shared mem case too cpufreq/amd-pstate: Move all EPP tracing into *_update_perf and
*_set_epp functions
cpufreq/amd-pstate: Update cppc_req_cached for shared mem EPP writes cpufreq/amd-pstate: Drop debug statements for policy setting cpufreq/amd-pstate: Rework CPPC enabling cpufreq/amd-pstate: Stop caching EPP
cpufreq/amd-pstate: Drop actions in amd_pstate_epp_cpu_offline()

 arch/x86/include/asm/msr-index.h   |  20 +-
 arch/x86/kernel/acpi/cppc.c        |   4 +-
 drivers/cpufreq/amd-pstate-trace.h |  13 +-
 drivers/cpufreq/amd-pstate-ut.c    | 211 +++++------
 drivers/cpufreq/amd-pstate.c       | 574 +++++++++++++----------------
 drivers/cpufreq/amd-pstate.h       |  63 ++--
 6 files changed, 395 insertions(+), 490 deletions(-)
Signature · 1 line
2.43.0