[v2,0/2] PM / devfreq: Add delayed timer for polling
mbox series

Message ID 20200709054504.656-1-cw00.choi@samsung.com
Headers show
Series
  • PM / devfreq: Add delayed timer for polling
Related show

Message

Chanwoo Choi July 9, 2020, 5:45 a.m. UTC
Add the delayed timer to devfreq framework in order to support
the periodical polling mode without stop caused by CPU idle state.
Some Non-CPU device must need to monitor the device status like
utilization regardless of CPU state.

- patch1 explains the detailed reason why the delayed timer is required.
- patch2 initializes that exynos5422-dmc device use delayed timer as default
instead of deferrable timer.

Changes from v2:
- Add reviewed-by tag
- Fix typo on patch description
- Remove 'RFC' work from patch title
- Check whether 'df->governor' is NULL or not on timer_store()

Chanwoo Choi (2):
  PM / devfreq: Add support delayed timer for polling mode
  memory: samsung: exynos5422-dmc: Use delayed timer as default

 Documentation/ABI/testing/sysfs-class-devfreq | 12 +++
 drivers/devfreq/devfreq.c                     | 86 ++++++++++++++++++-
 drivers/memory/samsung/exynos5422-dmc.c       |  1 +
 include/linux/devfreq.h                       |  9 ++
 4 files changed, 107 insertions(+), 1 deletion(-)

Comments

Chanwoo Choi July 13, 2020, 7:24 a.m. UTC | #1
Dear all,

On 7/9/20 2:45 PM, Chanwoo Choi wrote:
> Add the delayed timer to devfreq framework in order to support
> the periodical polling mode without stop caused by CPU idle state.
> Some Non-CPU device must need to monitor the device status like
> utilization regardless of CPU state.
> 
> - patch1 explains the detailed reason why the delayed timer is required.
> - patch2 initializes that exynos5422-dmc device use delayed timer as default
> instead of deferrable timer.
> 
> Changes from v2:
> - Add reviewed-by tag
> - Fix typo on patch description
> - Remove 'RFC' work from patch title
> - Check whether 'df->governor' is NULL or not on timer_store()
> 
> Chanwoo Choi (2):
>   PM / devfreq: Add support delayed timer for polling mode
>   memory: samsung: exynos5422-dmc: Use delayed timer as default
> 
>  Documentation/ABI/testing/sysfs-class-devfreq | 12 +++
>  drivers/devfreq/devfreq.c                     | 86 ++++++++++++++++++-
>  drivers/memory/samsung/exynos5422-dmc.c       |  1 +
>  include/linux/devfreq.h                       |  9 ++
>  4 files changed, 107 insertions(+), 1 deletion(-)
> 

Applied them. Thanks.