aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDoug Berger <[email protected]>2023-01-20 11:01:44 -0800
committerAlexandre Belloni <[email protected]>2023-01-24 00:07:21 +0100
commit516ae02c38ff3ae867f9b19fa050f78157e2bdae (patch)
treebea712527a9eecbcdf41728b6abdcf6c8a8a3bc0 /tools/perf/scripts/python/stackcollapse.py
parent2cd98b22c1443d1f2921a371baee658da184868e (diff)
rtc: brcmstb-waketimer: compensate for lack of wktmr disable
Since the WKTMR hardware block cannot be disabled it is necessary for the driver to accommodate for associated timing hazards. This commit targets the following possibilities: A possible race between clearing a wktmr event and the alarm expiring is made one-sided by setting the alarm to its maximum value before clearing the event. Programming alarm values close to the current time may not trigger events if the counter advances while the alarm is being programmed. After programming an alarm, a check is made to ensure that it is either in the future or an expiration event is pending. Signed-off-by: Doug Berger <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions