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)
commite4e6448638a01905faeda9bf96aa9df7c8ef463c
tree6c2c7e250568143ae5cffdf8abf9666a9d5961a9
parent1aa24a8f3b5133dae4bc1e57427e345445f3e902
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: 275157b367f4 ("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