On 17-11-22, 11:01, Manivannan Sadhasivam wrote:
The cpufreq_driver->get() callback is supposed to return the current frequency of the CPU and not the one requested by the CPUFreq core. Fix it by returning the frequency that gets supplied to the CPU after the DCVS operation of EPSS/OSM.
Cc: stable@vger.kernel.org # v5.15 Fixes: 2849dd8bc72b ("cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver") Reported-by: Sudeep Holla sudeep.holla@arm.com Signed-off-by: Manivannan Sadhasivam manivannan.sadhasivam@linaro.org
drivers/cpufreq/qcom-cpufreq-hw.c | 42 +++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 13 deletions(-)
A fix should always be the first patch in the series as it needs to be backported.
I can reorder this if it won't break anything for this time.