aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2023-02-02 16:54:27 +0100
committerAlexandre Belloni <[email protected]>2023-02-09 23:17:56 +0100
commitc88db0eff9722fc2b6c4d172a50471d20e08ecc6 (patch)
tree7817d005cd5b3c3284bf91cf7e7dc27ae302c535 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent6a22a5dbc69473c2c46d1a13fe6cbc7bdaacb2a6 (diff)
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: [email protected] # 3.1 Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: David Collins <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions