aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2021-05-14 21:14:39 -0500
committerDaniel Lezcano <[email protected]>2021-06-16 17:33:04 +0200
commit8b33dfe0ba1c84c1aab2456590b38195837f1e6e (patch)
tree18ec7113c022b700fd66fea7c89438afb66edb67 /scripts/gdb/linux/timerlist.py
parentf94bc2667fb204d7c131ac39d9ea342bd16116dc (diff)
clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
Bad counter reads are experienced sometimes when bit 10 or greater rolls over. Originally, testing showed that at least 10 lower bits would be set to the same value during these bad reads. However, some users still reported time skips. Wider testing revealed that on some chips, occasionally only the lowest 9 bits would read as the anomalous value. During these reads (which still happen only when bit 10), bit 9 would read as the correct value. Reduce the mask by one bit to cover these cases as well. Cc: [email protected] Fixes: c950ca8c35ee ("clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability") Reported-by: Roman Stratiienko <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions