]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: qcom-cpufreq-hw: Clear dcvs interrupts
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Thu, 7 Apr 2022 20:09:19 +0000 (23:09 +0300)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 26 Apr 2022 06:38:31 +0000 (12:08 +0530)
commit66874b7f8a5f823147bcddf671759faff33cb994
tree6c2c7e250568143ae5cffdf8abf9666a9d5961a9
parent911349df6a0cddadd01dc047755e79e7ca4a9ae2
cpufreq: qcom-cpufreq-hw: Clear dcvs interrupts

It's noted that dcvs interrupts are not self-clearing, thus an interrupt
handler runs constantly, which leads to a severe regression in runtime.
To fix the problem an explicit write to clear interrupt register is
required, note that on OSM platforms the register may not be present.

Fixes: 1269323de7d0 ("cpufreq: qcom-cpufreq-hw: Add dcvs interrupt support")
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/qcom-cpufreq-hw.c