summaryrefslogtreecommitdiff
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2013-01-11 14:32:33 (GMT)
committerMark Rutland <mark.rutland@arm.com>2013-01-31 15:51:23 (GMT)
commit45801042225c66a66fb2cb50fae6ff71883a99d6 (patch)
tree569367ff83dfc2b5e6c29bdeb1d32facffbb778e /arch/arm/kernel
parentec944c93a293bee6b4cc6b6f1c9560526c7ed635 (diff)
downloadlinux-fsl-qoriq-45801042225c66a66fb2cb50fae6ff71883a99d6.tar.xz
arm: arch_timer: add isbs to register accessors
Without the isbs in arch_timer_get_cnt{p,v}ct the cpu may speculate reads and return stale values. This could be bad for code sensitive to changes in expected deltas between calls (e.g. the delay loop). Without isbs in arch_timer_reg_write the processor may reorder instructions around enabling/disabling of the timer or writing the compare value, which we probably don't want. This patch adds isbs to prevent those issues. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions