linux-hardened/arch/arm64/include
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
..
asm arm64: arm_generic: prevent reading stale time 2013-01-31 15:51:49 +00:00
uapi/asm arm64: ptrace: make structure padding explicit for debug registers 2012-10-18 20:15:31 +01:00