mbox series

[v5,0/3] GENPD API improvements

Message ID 20210120211232.17299-1-digetx@gmail.com
Headers show
Series GENPD API improvements | expand

Message

Dmitry Osipenko Jan. 20, 2021, 9:12 p.m. UTC
Hi,

This series is a prerequisite for the power domain driver of NVIDIA Tegra
SoCs [1]. It extends the GENPD core with a better support of performance
states and eases linking of child/parent PDs for the PD drivers.

[1] https://patchwork.ozlabs.org/project/linux-tegra/list/?series=221130

Changelog:

v5: - Renamed genpd_xlate_performance_state() and its arguments like it
      was requested by Ulf Hansson and Viresh Kumar in a v4 review.

    - Added r-b from Ulf Hansson to "Make set_performance_state() callback
      optional" patch.

v4: - Updated the "Make set_performance_state() callback optional" patch.
      Now the case where one of intermediate domains doesn't implement
      the set_performance_state() callback is handled properly, thanks
      to Viresh and Ulf for catching this drawback and suggesting the fix.

    - Added more r-bs from Ulf Hansson and Viresh Kumar.

v3: - Added r-b from Ulf Hansson.

    - Added new patch "Make of_genpd_add_subdomain() to return -EPROBE_DEFER",
      which was suggested by Ulf Hansson.

    - Improved "Add "performance" column to debug summary" patch by
      correcting the formatting of debug output, which had a superfluous
      whitespace.


Dmitry Osipenko (3):
  PM: domains: Make set_performance_state() callback optional
  PM: domains: Make of_genpd_add_subdomain() to return -EPROBE_DEFER
  PM: domains: Add "performance" column to debug summary

 drivers/base/power/domain.c | 54 +++++++++++++++++++++++--------------
 1 file changed, 34 insertions(+), 20 deletions(-)

Comments

Rafael J. Wysocki Jan. 22, 2021, 4:14 p.m. UTC | #1
On Thu, Jan 21, 2021 at 12:45 AM Dmitry Osipenko <digetx@gmail.com> wrote:
>

> Hi,

>

> This series is a prerequisite for the power domain driver of NVIDIA Tegra

> SoCs [1]. It extends the GENPD core with a better support of performance

> states and eases linking of child/parent PDs for the PD drivers.

>

> [1] https://patchwork.ozlabs.org/project/linux-tegra/list/?series=221130

>

> Changelog:

>

> v5: - Renamed genpd_xlate_performance_state() and its arguments like it

>       was requested by Ulf Hansson and Viresh Kumar in a v4 review.

>

>     - Added r-b from Ulf Hansson to "Make set_performance_state() callback

>       optional" patch.

>

> v4: - Updated the "Make set_performance_state() callback optional" patch.

>       Now the case where one of intermediate domains doesn't implement

>       the set_performance_state() callback is handled properly, thanks

>       to Viresh and Ulf for catching this drawback and suggesting the fix.

>

>     - Added more r-bs from Ulf Hansson and Viresh Kumar.

>

> v3: - Added r-b from Ulf Hansson.

>

>     - Added new patch "Make of_genpd_add_subdomain() to return -EPROBE_DEFER",

>       which was suggested by Ulf Hansson.

>

>     - Improved "Add "performance" column to debug summary" patch by

>       correcting the formatting of debug output, which had a superfluous

>       whitespace.

>

>

> Dmitry Osipenko (3):

>   PM: domains: Make set_performance_state() callback optional

>   PM: domains: Make of_genpd_add_subdomain() to return -EPROBE_DEFER

>   PM: domains: Add "performance" column to debug summary

>

>  drivers/base/power/domain.c | 54 +++++++++++++++++++++++--------------

>  1 file changed, 34 insertions(+), 20 deletions(-)

>

> --


All patches applied as 5.12 material, thanks!