Home
last modified time | relevance | path

Searched hist:a038895e25b296ca1ef0254f92673ea64bc1a2ee (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dcpufreq.hdiff a038895e25b296ca1ef0254f92673ea64bc1a2ee Mon Apr 03 18:39:10 CDT 2023 Viresh Kumar <viresh.kumar@linaro.org> cpufreq: drivers with target_index() must set freq_table

Since the cpufreq core directly uses freq_table, for cpufreq drivers
that set their target_index() callback, make it mandatory for them to
set the same.

Since this is set per policy and normally from policy->init(), do this
from cpufreq_table_validate_and_sort() which gets called right after
->init().

Reported-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
/openbmc/linux/drivers/cpufreq/
H A Dcpufreq.cdiff a038895e25b296ca1ef0254f92673ea64bc1a2ee Mon Apr 03 18:39:10 CDT 2023 Viresh Kumar <viresh.kumar@linaro.org> cpufreq: drivers with target_index() must set freq_table

Since the cpufreq core directly uses freq_table, for cpufreq drivers
that set their target_index() callback, make it mandatory for them to
set the same.

Since this is set per policy and normally from policy->init(), do this
from cpufreq_table_validate_and_sort() which gets called right after
->init().

Reported-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>