diff options
author | Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> | 2021-11-11 18:48:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-27 13:03:15 +0300 |
commit | 9f670292c08033212f007ff1c8050b19c2a3b938 (patch) | |
tree | ff89d1c292312e19139cdaede6f9534364d44808 /arch/arm/boot/dts | |
parent | 929205dc3a0f18c1f9178db245ffb6bdbf235fbb (diff) | |
download | linux-9f670292c08033212f007ff1c8050b19c2a3b938.tar.xz |
cpufreq: qcom-hw: Fix probable nested interrupt handling
[ Upstream commit e0e27c3d4e20dab861566f1c348ae44e4b498630 ]
Re-enabling an interrupt from its own interrupt handler may cause
an interrupt storm, if there is a pending interrupt and because its
handling is disabled due to already done entrance into the handler
above in the stack.
Also, apparently it is improper to lock a mutex in an interrupt contex.
Fixes: 275157b367f4 ("cpufreq: qcom-cpufreq-hw: Add dcvs interrupt support")
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts')
0 files changed, 0 insertions, 0 deletions