Skip to content

x86_energy_perf_policy cleanups

Len Brown linux-pm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 of 16 patches 4 repliesIn review
  2. v118 patches 24 repliesSuperseded

6 of 16 patches are in this archive. The cover letter announces 16.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16x86_energy_perf_policy: Rewrite Linux/Android MSR path discoverytools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c+47 -261 reply
3/16x86_energy_perf_policy: Harden with strtol()tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c+39 -321 reply
7/16x86_energy_perf_policy: Bound package iterationtools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c+4 -40 replies
8/16x86_energy_perf_policy: Cleanup: Define HWP_WINDOW_MAX_USECtools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c+8 -50 replies
9/16x86_energy_perf_policy: Cleanup: Define BCLK_MHZtools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c+5 -11 reply
15/16x86_energy_perf_policy: Simplify write_sysfs() return typetools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c+5 -71 reply

Reviews trailers per patch

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

PatchAndy Shevchenko
1/16R-b
3/16R-b
7/16R-b
8/16R-b
9/16R-b
15/16R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/16] x86_energy_perf_policy cleanups

These patches have changed since v1:

[PATCH 01/16] x86_energy_perf_policy: Rewrite Linux/Android MSR path
This combines the old patch 1 and patch 2, which didn't really stand on their own.

Andy, I took your reviewed-by off of #1
because it wasn't on the old #2.

[PATCH 03/16] x86_energy_perf_policy: Harden with strtol()
Updated to address human and AI comments.

[PATCH 07/16] x86_energy_perf_policy: Bound package iteration [PATCH 08/16] x86_energy_perf_policy: Cleanup: Define
Andy, These had RB, but resending b/c AI review asked for some tweaks.

[PATCH 09/16] x86_energy_perf_policy: Cleanup: Define BCLK_MHZ
Updated per Andy comments.

[PATCH 13/16] <I combined the previous trivial #14 & #15 Constify patches>

[PATCH 15/16] x86_energy_perf_policy: Simplify write_sysfs() return
Re-written due to review comments