]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 May 2022 07:14:37 +0000 (09:14 +0200)
commitebf8e484e369a95692bf804295e19dce08dcff0b
treecdadd70b2bdbe6518c77c7754eecbf20dd94feec
parent30a007f71a420e56fb24963e04389a1211a5136f
cpufreq: qcom-cpufreq-hw: Clear dcvs interrupts

[ Upstream commit 66874b7f8a5f823147bcddf671759faff33cb994 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/qcom-cpufreq-hw.c