[GIT PULL] devfreq next for v5.9

From: Chanwoo Choi
Date: Thu Jul 30 2020 - 04:42:10 EST


Dear Rafael,

This is devfreq-next pull request for v5.9-rc1. I add detailed description of
this pull request on the following tag. Please pull devfreq with following updates.
- tag name : devfreq-next-for-5.9

Best Regards,
Chanwoo Choi


The following changes since commit 92ed301919932f777713b9172e525674157e983d:

Linux 5.8-rc7 (2020-07-26 14:14:06 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git tags/devfreq-next-for-5.9

for you to fetch changes up to 27a69714450f5c9288cec2b20f1ae4f7ad34dacf:

PM / devfreq: Fix the wrong end with semicolon (2020-07-30 17:22:58 +0900)

----------------------------------------------------------------

Update devfreq for 5.9

Detailed description for this pull request:
1. Update devfreq core
- Add support delayed timer for polling mode. Until now, the devfreq supports
only deferrable timer for reducing the unneeded CPU wakeup.
But, it has a problem for Non-CPU device like DMC device with DMA operation.
These Non-CPU device need to monitor continuously regardless of CPU state.
Add support the delayed timer for polling mode to support the continuous
monitoring.
- Fix indentation of result of devfreq_summary debugfs node.
- Fix the wrong end of code with semicolon instead of comma
- Clean-up code to use the unified local variable name in sysfs-related
internal funcitons.
- Fix trivial spelling for devfreq-event.c.

2. Update devfreq driver
- Add the exception handling code to control when rockchip,pmu property is absent
for rk3399_dmc.c.
- Add missing 'rockchip,pmu' property to dt-binding document for rk3399_dmc.c.
- Change the kind of timer of exynos5422-dmc.c from deferrable to delayed
timer in order to monitor the DMC (Dynamic Memory Controller) status
regardless of CPU idle state. And adjust the polling interval and upthreshold
value in order to react faster and make better decisions when benchmarking
testing for the memory behavior.
- Add module parameter to either enable or disable the IRQ mode for DMC
behavior monitoring. The exynos5422-dmc.c can operate in both polling
and IRQ mode. The user can choose the monitoring mode by using module param.
The default monitoring mode is polling mode with delayed timer.

3. Add maintainer entry
- Add Dmitry Osipenko <digetx@xxxxxxxxx> as maintainer for memory frequency
scaling drivers for Nvidia Tegra. He have been developed and reviewed
the tegra*-devfreq.c.

----------------------------------------------------------------
Chanwoo Choi (5):
PM / devfreq: Add support delayed timer for polling mode
memory: samsung: exynos5422-dmc: Use delayed timer as default
PM / devfreq: Clean up the devfreq instance name in sysfs attr
PM / devfreq: Fix indentaion of devfreq_summary debugfs node
PM / devfreq: Fix the wrong end with semicolon

Dmitry Osipenko (1):
PM / devfreq: tegra: Add Dmitry as a maintainer

Enric Balletbo i Serra (1):
dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle

Kieran Bingham (1):
PM / devfreq: event: Fix trivial spelling

Lukasz Luba (2):
memory: samsung: exynos5422-dmc: Adjust polling interval and uptreshold
memory: samsung: exynos5422-dmc: Add module param to control IRQ mode

Marc Zyngier (1):
PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent

Documentation/ABI/testing/sysfs-class-devfreq | 12 ++
.../devicetree/bindings/devfreq/rk3399_dmc.txt | 2 +
MAINTAINERS | 9 +
drivers/devfreq/devfreq-event.c | 4 +-
drivers/devfreq/devfreq.c | 195 ++++++++++++++++-----
drivers/devfreq/rk3399_dmc.c | 42 +++--
drivers/memory/samsung/exynos5422-dmc.c | 14 +-
include/linux/devfreq.h | 9 +
8 files changed, 218 insertions(+), 69 deletions(-)