Re: [PATCH] thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error

2021-02-17 Thread Thara Gopinath
On 2/17/21 12:48 AM, Viresh Kumar wrote: freq_qos_update_request() returns 1 if the effective constraint value has changed, 0 if the effective constraint value has not changed, or a negative error code on failures. The frequency constraints for CPUs can be set by different parts of the

Re: [PATCH] thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error

2021-02-17 Thread Rafael J. Wysocki
On Wed, Feb 17, 2021 at 6:50 AM Viresh Kumar wrote: > > freq_qos_update_request() returns 1 if the effective constraint value > has changed, 0 if the effective constraint value has not changed, or a > negative error code on failures. > > The frequency constraints for CPUs can be set by different

Re: [PATCH] thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error

2021-02-17 Thread Lukasz Luba
On 2/17/21 10:39 AM, Viresh Kumar wrote: On 17-02-21, 10:29, Lukasz Luba wrote: On 2/17/21 5:48 AM, Viresh Kumar wrote: freq_qos_update_request() returns 1 if the effective constraint value has changed, 0 if the effective constraint value has not changed, or a negative error code on

Re: [PATCH] thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error

2021-02-17 Thread Viresh Kumar
On 17-02-21, 10:29, Lukasz Luba wrote: > On 2/17/21 5:48 AM, Viresh Kumar wrote: > > freq_qos_update_request() returns 1 if the effective constraint value > > has changed, 0 if the effective constraint value has not changed, or a > > negative error code on failures. > > > > The frequency

Re: [PATCH] thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error

2021-02-17 Thread Lukasz Luba
Hi Viresh, On 2/17/21 5:48 AM, Viresh Kumar wrote: freq_qos_update_request() returns 1 if the effective constraint value has changed, 0 if the effective constraint value has not changed, or a negative error code on failures. The frequency constraints for CPUs can be set by different parts of

[PATCH] thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error

2021-02-16 Thread Viresh Kumar
freq_qos_update_request() returns 1 if the effective constraint value has changed, 0 if the effective constraint value has not changed, or a negative error code on failures. The frequency constraints for CPUs can be set by different parts of the kernel. If the maximum frequency constraint set by