linux_old1/arch/arm64
Mark Rutland 1dac0dd71c 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>
2013-01-31 15:51:49 +00:00
..
boot arm64: Add dtbs target for building all the enabled dtb files 2012-12-03 17:17:21 -06:00
configs arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
include arm64: arm_generic: prevent reading stale time 2013-01-31 15:51:49 +00:00
kernel ARCH: drivers remove __dev* attributes. 2013-01-03 15:57:13 -08:00
lib arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
mm arm64: Convert empty flush_cache_{mm,page} functions to static inline 2012-11-23 18:15:32 +00:00
Kconfig arm64: Always select ARM_AMBA and GENERIC_GPIO 2013-01-04 13:20:09 +00:00
Kconfig.debug arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
Makefile arm64: Fix the dtbs target building 2012-12-10 20:24:57 -06:00