mbox series

[GIT,PULL] OPP updates for 5.12

Message ID 20210208060027.kzqxscpceb7l6656@vireshk-i7 (mailing list archive)
State Mainlined, archived
Headers show
Series [GIT,PULL] OPP updates for 5.12 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git opp/linux-next

Message

Viresh Kumar Feb. 8, 2021, 6 a.m. UTC
Hi Rafael,

This pull request contains following changes:

- Generic cleanups across the OPP core (Dmitry Osipenko, Viresh
  Kumar).

- New OPP helpers dev_pm_opp_find_level_ceil(),
  dev_pm_opp_get_required_pstate(), dev_pm_opp_sync_regulators(),
  devm_pm_opp_register_set_opp_helper(),
  dev_pm_opp_of_add_table_noclk() and devm_pm_opp_attach_genpd()
  (Dmitry Osipenko, Viresh Kumar).

- Allow required OPPs to be used for devfreq devices and related
  changes to devfreq governor (Saravana Kannan).

- Significant code changes to allow a new OPP helper,
  dev_pm_opp_set_opp() (Viresh Kumar).

- Remove dev_pm_opp_set_bw() and update related drivers (Viresh
  Kumar).

- Allow lazy linking of required-OPPs (Viresh Kumar).
 
-------------------------8<-------------------------

The following changes since commit 1048ba83fb1c00cd24172e23e8263972f6b5d9ac:

  Linux 5.11-rc6 (2021-01-31 13:50:09 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git opp/linux-next

for you to fetch changes up to 86ad9a24f21ea7aac7deed06fe9556392568d88a:

  PM / devfreq: Add required OPPs support to passive governor (2021-02-04 16:48:16 +0530)

----------------------------------------------------------------
Dmitry Osipenko (11):
      opp: Fix adding OPP entries in a wrong order if rate is unavailable
      opp: Filter out OPPs based on availability of a required-OPP
      opp: Correct debug message in _opp_add_static_v2()
      opp: Add dev_pm_opp_find_level_ceil()
      opp: Add dev_pm_opp_get_required_pstate()
      opp: Add dev_pm_opp_sync_regulators()
      opp: Add devm_pm_opp_register_set_opp_helper
      opp: Add devm_pm_opp_attach_genpd
      opp: Handle missing OPP table in dev_pm_opp_xlate_performance_state()
      opp: Print OPP level in debug message of _opp_add_static_v2()
      opp: Make _set_opp_custom() work without regulators

Saravana Kannan (3):
      OPP: Add function to look up required OPP's for a given OPP
      PM / devfreq: Cache OPP table reference in devfreq
      PM / devfreq: Add required OPPs support to passive governor

Viresh Kumar (23):
      opp: Staticize _add_opp_table()
      opp: Create _of_add_table_indexed() to reduce code duplication
      opp: Defer acquiring the clk until OPPs are added
      opp: Add dev_pm_opp_of_add_table_noclk()
      opp: Prepare for ->set_opp() helper to work without regulators
      opp: Rename _opp_set_rate_zero()
      opp: No need to check clk for errors
      opp: Keep track of currently programmed OPP
      opp: Split _set_opp() out of dev_pm_opp_set_rate()
      opp: Allow _set_opp() to work for non-freq devices
      opp: Allow _generic_set_opp_regulator() to work for non-freq devices
      opp: Allow _generic_set_opp_clk_only() to work for non-freq devices
      opp: Update parameters of  _set_opp_custom()
      opp: Implement dev_pm_opp_set_opp()
      cpufreq: qcom: Migrate to dev_pm_opp_set_opp()
      drm: msm: Migrate to dev_pm_opp_set_opp()
      devfreq: tegra30: Migrate to dev_pm_opp_set_opp()
      opp: Remove dev_pm_opp_set_bw()
      opp: Allow lazy-linking of required-opps
      opp: Update bandwidth requirements based on scaling up/down
      opp: Don't ignore clk_get() errors other than -ENOENT
      opp: Fix "foo * bar" should be "foo *bar"
      opp: Replace ENOTSUPP with EOPNOTSUPP

 drivers/cpufreq/qcom-cpufreq-hw.c     |   2 +-
 drivers/devfreq/devfreq.c             |   7 +
 drivers/devfreq/governor_passive.c    |  44 +-
 drivers/devfreq/tegra30-devfreq.c     |   4 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c |   8 +-
 drivers/opp/core.c                    | 798 ++++++++++++++++++++++++----------
 drivers/opp/of.c                      | 230 +++++++---
 drivers/opp/opp.h                     |  17 +-
 include/linux/devfreq.h               |   2 +
 include/linux/pm_opp.h                | 112 +++--
 10 files changed, 885 insertions(+), 339 deletions(-)

Comments

Rafael J. Wysocki Feb. 8, 2021, 1:26 p.m. UTC | #1
On Mon, Feb 8, 2021 at 7:00 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> Hi Rafael,
>
> This pull request contains following changes:
>
> - Generic cleanups across the OPP core (Dmitry Osipenko, Viresh
>   Kumar).
>
> - New OPP helpers dev_pm_opp_find_level_ceil(),
>   dev_pm_opp_get_required_pstate(), dev_pm_opp_sync_regulators(),
>   devm_pm_opp_register_set_opp_helper(),
>   dev_pm_opp_of_add_table_noclk() and devm_pm_opp_attach_genpd()
>   (Dmitry Osipenko, Viresh Kumar).
>
> - Allow required OPPs to be used for devfreq devices and related
>   changes to devfreq governor (Saravana Kannan).
>
> - Significant code changes to allow a new OPP helper,
>   dev_pm_opp_set_opp() (Viresh Kumar).
>
> - Remove dev_pm_opp_set_bw() and update related drivers (Viresh
>   Kumar).
>
> - Allow lazy linking of required-OPPs (Viresh Kumar).
>
> -------------------------8<-------------------------
>
> The following changes since commit 1048ba83fb1c00cd24172e23e8263972f6b5d9ac:
>
>   Linux 5.11-rc6 (2021-01-31 13:50:09 -0800)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git opp/linux-next
>
> for you to fetch changes up to 86ad9a24f21ea7aac7deed06fe9556392568d88a:
>
>   PM / devfreq: Add required OPPs support to passive governor (2021-02-04 16:48:16 +0530)
>

Pulled, thanks!