Re: [PATCH] cpufreq: exclude boost frequencies from valid count if not enabled

From: Thara Gopinath
Date: Thu Feb 18 2021 - 12:56:29 EST




On 2/18/21 3:48 AM, Viresh Kumar wrote:
On 17-02-21, 10:32, Thara Gopinath wrote:
First of all, I am still unable to find this setting in the sysfs space.

The driver needs to call cpufreq_enable_boost_support() for that.

Ok. that makes sense.


Irrespective the ideal behavior here will be to change the cpufreq cooling
dev max state when this happens.

Hmm.. recreating it every time boost frequency is enabled is like
inviting trouble and it will be tricky. Maybe it can be done, I don't
know.:)

Scheduling a notifier for max frequency change from the qos framework should do the work, right?



--
Warm Regards
Thara