Re: [RFC PATCH] PM / devfreq: Add policy notifier

2018-05-18 Thread Matthias Kaehlcke
On Fri, May 18, 2018 at 08:26:30AM +0900, Chanwoo Choi wrote: > Hi, > > On 2018년 05월 18일 08:07, Matthias Kaehlcke wrote: > > Hi, > > > > On Thu, May 17, 2018 at 11:01:34AM +0900, Chanwoo Choi wrote: > >> Hi, > >> > >> Could you give some use-case of DEVFREQ_POLICY_NOTIFIER > >> or send use-case

Re: [RFC PATCH] PM / devfreq: Add policy notifier

2018-05-18 Thread Matthias Kaehlcke
On Fri, May 18, 2018 at 08:26:30AM +0900, Chanwoo Choi wrote: > Hi, > > On 2018년 05월 18일 08:07, Matthias Kaehlcke wrote: > > Hi, > > > > On Thu, May 17, 2018 at 11:01:34AM +0900, Chanwoo Choi wrote: > >> Hi, > >> > >> Could you give some use-case of DEVFREQ_POLICY_NOTIFIER > >> or send use-case

Re: [RFC PATCH] PM / devfreq: Add policy notifier

2018-05-17 Thread Chanwoo Choi
Hi, On 2018년 05월 18일 08:07, Matthias Kaehlcke wrote: > Hi, > > On Thu, May 17, 2018 at 11:01:34AM +0900, Chanwoo Choi wrote: >> Hi, >> >> Could you give some use-case of DEVFREQ_POLICY_NOTIFIER >> or send use-case patch with this patch? > > This is a WIP patch that makes use of the

Re: [RFC PATCH] PM / devfreq: Add policy notifier

2018-05-17 Thread Chanwoo Choi
Hi, On 2018년 05월 18일 08:07, Matthias Kaehlcke wrote: > Hi, > > On Thu, May 17, 2018 at 11:01:34AM +0900, Chanwoo Choi wrote: >> Hi, >> >> Could you give some use-case of DEVFREQ_POLICY_NOTIFIER >> or send use-case patch with this patch? > > This is a WIP patch that makes use of the

Re: [RFC PATCH] PM / devfreq: Add policy notifier

2018-05-17 Thread Matthias Kaehlcke
Hi, On Thu, May 17, 2018 at 11:01:34AM +0900, Chanwoo Choi wrote: > Hi, > > Could you give some use-case of DEVFREQ_POLICY_NOTIFIER > or send use-case patch with this patch? This is a WIP patch that makes use of the DEVFREQ_POLICY_NOTIFIER:

Re: [RFC PATCH] PM / devfreq: Add policy notifier

2018-05-17 Thread Matthias Kaehlcke
Hi, On Thu, May 17, 2018 at 11:01:34AM +0900, Chanwoo Choi wrote: > Hi, > > Could you give some use-case of DEVFREQ_POLICY_NOTIFIER > or send use-case patch with this patch? This is a WIP patch that makes use of the DEVFREQ_POLICY_NOTIFIER:

Re: [RFC PATCH] PM / devfreq: Add policy notifier

2018-05-16 Thread Chanwoo Choi
Hi, Could you give some use-case of DEVFREQ_POLICY_NOTIFIER or send use-case patch with this patch? I already knew the CPUFREQ_POLICY_NOTIFIER. But, until now, there are no any requirements of DEVFREQ_POLICY_NOTIFIER. If there are no any use-case, it is not necessary codes. On 2018년 05월 16일

Re: [RFC PATCH] PM / devfreq: Add policy notifier

2018-05-16 Thread Chanwoo Choi
Hi, Could you give some use-case of DEVFREQ_POLICY_NOTIFIER or send use-case patch with this patch? I already knew the CPUFREQ_POLICY_NOTIFIER. But, until now, there are no any requirements of DEVFREQ_POLICY_NOTIFIER. If there are no any use-case, it is not necessary codes. On 2018년 05월 16일

[RFC PATCH] PM / devfreq: Add policy notifier

2018-05-15 Thread Matthias Kaehlcke
Policy notifiers are called before a frequency change and may adjust the frequency, similar to CPUFREQ_ADJUST. The purpose of policy notifiers is to support non-thermal throttling of devfreq devices. As of now notifiers may only select a lower frequency, but not increase it. The reason for this

[RFC PATCH] PM / devfreq: Add policy notifier

2018-05-15 Thread Matthias Kaehlcke
Policy notifiers are called before a frequency change and may adjust the frequency, similar to CPUFREQ_ADJUST. The purpose of policy notifiers is to support non-thermal throttling of devfreq devices. As of now notifiers may only select a lower frequency, but not increase it. The reason for this