summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-02-02 18:54:27 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2023-02-10 01:17:56 +0300
commitc88db0eff9722fc2b6c4d172a50471d20e08ecc6 (patch)
tree7817d005cd5b3c3284bf91cf7e7dc27ae302c535 /tools/perf/scripts/python/stackcollapse.py
parent6a22a5dbc69473c2c46d1a13fe6cbc7bdaacb2a6 (diff)
downloadlinux-c88db0eff9722fc2b6c4d172a50471d20e08ecc6.tar.xz
rtc: pm8xxx: fix set-alarm race
Make sure to disable the alarm before updating the four alarm time registers to avoid spurious alarms during the update. Note that the disable needs to be done outside of the ctrl_reg_lock section to prevent a racing alarm interrupt from disabling the newly set alarm when the lock is released. Fixes: 9a9a54ad7aa2 ("drivers/rtc: add support for Qualcomm PMIC8xxx RTC") Cc: stable@vger.kernel.org # 3.1 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: David Collins <quic_collinsd@quicinc.com> Link: https://lore.kernel.org/r/20230202155448.6715-2-johan+linaro@kernel.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions