summaryrefslogtreecommitdiffstats
path: root/include/clocksource
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2013-01-15 12:12:29 +0100
committerMark Rutland <mark.rutland@arm.com>2013-01-31 16:51:49 +0100
commit1dac0dd71cdda2bd7395dd47a6b617ed296d4901 (patch)
tree8c5853f5c948ff82f086434771605a0c93b79037 /include/clocksource
parentarm: arch_timer: move core to drivers/clocksource (diff)
downloadlinux-1dac0dd71cdda2bd7395dd47a6b617ed296d4901.tar.xz
linux-1dac0dd71cdda2bd7395dd47a6b617ed296d4901.zip
arm64: arm_generic: prevent reading stale time
Currently arch_counter_get_cnt{p,v}ct can be speculated, allowing for stale time values to be read. This could be problematic for the delay loop and other sensitive functions, as the time delta could jump around unexpectedly. This patch adds isbs to arch_counter_get_cnt{p,v}ct, preventing this possibility. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions