Re: [GIT PULL] devfreq fixes for v5.5-rc2

From: Rafael J. Wysocki
Date: Mon Dec 09 2019 - 03:44:19 EST


On Mon, Dec 9, 2019 at 7:51 AM Chanwoo Choi <cw00.choi@xxxxxxxxxxx> wrote:
>
> Dear Rafael,
>
> This is devfreq-fixes pull request for v5.5-rc2. I add detailed description of
> this pull request on the following tag. Please pull devfreq with following updates.
> - tag name : devfreq-fixes-for-5.5-rc2

Pulled and pushed out (as 5.5 candidate material), thank you!

> The following changes since commit e42617b825f8073569da76dc4510bfa019b1c35a:
>
> Linux 5.5-rc1 (2019-12-08 14:57:55 -0800)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git tags/devfreq-fixes-for-5.5-rc2
>
> for you to fetch changes up to 27dbc542f651ed09de910f274b32634904103774:
>
> PM / devfreq: Use PM QoS for sysfs min/max_freq (2019-12-09 12:19:16 +0900)
>
> ----------------------------------------------------------------
>
> Update devfreq for 5.5-rc2
>
> Detailed description for this pull request:
> 1. Update devfreq core
> - Add PM QoS support for devfreq device with following QoS type. External user
> of devfreq device can request the minimum and maximum frequency according to
> their multiple requirements.
> : DEV_PM_QOS_MIN_FREQUENCY is used for requesting the minimum device frequency.
> : DEV_PM_QOS_MAX_FREQUENCY is used for requesting the maximum device frequency.
>
> - Use PM QoS interface when entering the min/max_freq via sysfs interface.
>
> - Add get_freq_range() helper function in order to get the final min/max
> frequency among the multiple requirements of min/max frequency.
>
> - Fix the issue such as fixing the return value and modify code
> for more correct exception handling if error happen.
>
> ----------------------------------------------------------------
>
> Leonard Crestez (6):
> PM / devfreq: Fix devfreq_notifier_call returning errno
> PM / devfreq: Set scaling_max_freq to max on OPP notifier error
> PM / devfreq: Introduce get_freq_range helper
> PM / devfreq: Don't fail devfreq_dev_release if not in list
> PM / devfreq: Add PM QoS support
> PM / devfreq: Use PM QoS for sysfs min/max_freq
>
> drivers/devfreq/devfreq.c | 273 ++++++++++++++++++++++++++++++++++------------
> include/linux/devfreq.h | 14 ++-
> 2 files changed, 212 insertions(+), 75 deletions(-)