driver/core: cpu: initialize opp table
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest8 patches 8 repliesIn review
- v38 patches 10 repliesSuperseded
- v27 patches 13 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 posting 2/2 | 1 patch | 10 replies | Superseded | |
| v1 posting 1/2 | 5 patches | 1 reply | Superseded |
Changes in v4 from the cover letter
- Remove of_init_cpu_opp_table() and use of_init_opp_table() instead after adding more print messages to it.
- Drop a rather unrelated patch which was getting rid of dependency on thermal for cpufreq-cpu0. Will be sent separately.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | opp: of_init_opp_table(): return -ENOSYS when feature isn't implementedinclude/ | +1 | 1 reply | |
| 2/8 | opp: call of_node_{get|put}() from of_init_opp_table()drivers/ | +4 | 4 replies | |
| 3/8 | opp: Enhance debug messages in of_init_opp_table()drivers/ | +6 | 2 replies | |
| 4/8 | driver/core: cpu: initialize opp tabledrivers/ | +7 | 3 replies | |
| 5/8 | cpufreq: arm_big_little: don't initialize opp tabledrivers/ drivers/ | +7 | 0 replies | |
| 6/8 | cpufreq: imx6q: don't initialize opp tablearch/ drivers/ | +9 | 0 replies | |
| 7/8 | cpufreq: cpufreq-cpu0: don't initialize opp tabledrivers/ | +0 | 0 replies | |
| 8/8 | cpufreq: exynos5440: don't initialize opp tabledrivers/ | +0 | 0 replies |
Reviews trailers per patch
5 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Shawn Guo | Sudeep Holla | Nishanth Menon |
|---|---|---|---|
| 1/8 | Suggested-and-reviewed-by | A-b | |
| 2/8 | A-b | ||
| 3/8 | A-b | ||
| 4/8 | |||
| 5/8 | |||
| 6/8 | A-b | ||
| 7/8 | A-b | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH V4 0/8] driver/core: cpu: initialize opp table
Drivers expecting CPU's OPPs from device tree initialize OPP table themselves by calling of_init_opp_table() and there is nothing driver specific in that. They all do it in the same redundant way.
It would be better if we can get rid of redundancy by initializing CPU OPPs from CPU core code for all CPUs (that have a "operating-points" property defined in their node).
This patchset callsl of_init_opp_table() directly from register_cpu() right after CPU device is registered. Later patches updates existing cpufreq drivers which were calling of_init_opp_table() directly.
V3->V4:
- Remove of_init_cpu_opp_table() and use of_init_opp_table() instead after adding more print messages to it.
- Drop a rather unrelated patch which was getting rid of dependency on thermal for cpufreq-cpu0. Will be sent separately.
Viresh Kumar (8):
opp: of_init_opp_table(): return -ENOSYS when feature isn't
implemented
opp: call of_node_{get|put}() from of_init_opp_table()
opp: Enhance debug messages in of_init_opp_table() driver/core: cpu: initialize opp table
cpufreq: arm_big_little: don't initialize opp table
cpufreq: imx6q: don't initialize opp table
cpufreq: cpufreq-cpu0: don't initialize opp table
cpufreq: exynos5440: don't initialize opp table
arch/arm/mach-imx/mach-imx6q.c | 36 ++++++++---------------------------- drivers/base/cpu.c | 11 +++++++---- drivers/base/power/opp.c | 11 ++++++++++- drivers/cpufreq/arm_big_little.c | 12 +++++++----- drivers/cpufreq/arm_big_little_dt.c | 18 ------------------ drivers/cpufreq/cpufreq-cpu0.c | 6 ------ drivers/cpufreq/exynos5440-cpufreq.c | 6 ------ drivers/cpufreq/imx6q-cpufreq.c | 20 +------------------- include/linux/pm_opp.h | 2 +- 9 files changed, 34 insertions(+), 88 deletions(-)
Signature · 1 line
2.0.0.rc2