Skip to content

cpufreq: sysfs cleanup

Viresh Kumar linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 8 repliesIn review
  2. v15 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- Change log updated for the first patch
- One patch already applied and the last one is a new patch based on Saravana's comments.
- Reviewed-by tags from Saravana.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cpufreq: Use cpumask_copy instead of cpumask_or to copy a maskdrivers/cpufreq/cpufreq.c+1 -10 replies
2/5cpufreq: create cpu/cpufreq at boot timedrivers/cpufreq/cpufreq.c drivers/cpufreq/cpufreq_governor.c include/linux/cpufreq.h+7 -470 replies
3/5cpufreq: remove cpufreq_sysfs_{create|remove}_file()drivers/cpufreq/cpufreq.c include/linux/cpufreq.h+5 -190 replies
4/5cpufreq: create cpu/cpufreq/policyX directoriesdrivers/cpufreq/cpufreq.c include/linux/cpufreq.h+4 -315 replies
5/5cpufreq: postfix policy directory with the first CPU in related_cpusdrivers/cpufreq/cpufreq.c+10 -95 replies

Reviews trailers per patch

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

PatchSaravana KannanViresh Kumar
SeriesT-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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/5] cpufreq: sysfs cleanup

Rafael,

This is in response to the other thread where you and Saravana were discussing this. It doesn't allow updating policy for offline CPUs yet, but does cleanup the sysfs stuff.

This is untested by me as I didn't had access to the hardware to test this week. But this is tested by Fengguang's build bot for some time now.

Will be good if one of you can test this out.

V1->V2:
- Change log updated for the first patch
- One patch already applied and the last one is a new patch based on Saravana's comments.
- Reviewed-by tags from Saravana.

Viresh Kumar (5):
cpufreq: Use cpumask_copy instead of cpumask_or to copy a mask
cpufreq: create cpu/cpufreq at boot time
cpufreq: remove cpufreq_sysfs_{create|remove}_file()
cpufreq: create cpu/cpufreq/policyX directories
cpufreq: postfix policy directory with the first CPU in related_cpus

 drivers/cpufreq/cpufreq.c          | 103 +++++++------------------------------
 drivers/cpufreq/cpufreq_governor.c |  20 ++-----
 include/linux/cpufreq.h            |   5 --
 3 files changed, 24 insertions(+), 104 deletions(-)
Signature · 1 line
2.4.0