2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/arch/arm64/kernel
Will Deacon f84a935db4 arm64: vdso: check sequence counter even for coarse realtime operations
When returning coarse realtime values from clock_gettime, we must still
check the sequence counter to ensure that the kernel does not update
the vdso datapage whilst we are loading the coarse timespec as this
could potentially result in time appearing to go backwards.

This patch delays the coarse realtime check until after we have loaded
successfully from the vdso datapage. This does mean that we always load
the wtm timespec, but conditionalising the load and adding an extra
sequence test is unlikely to buy us anything other than messy code,
particularly as the sequence test implies a read barrier.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2012-12-05 11:20:03 +00:00
..
vdso arm64: vdso: check sequence counter even for coarse realtime operations 2012-12-05 11:20:03 +00:00
.gitignore arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
arm64ksyms.c arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
asm-offsets.c
cputable.c arm64: CPU support 2012-09-17 13:41:59 +01:00
debug-monitors.c arm64: Debugging support 2012-09-17 13:42:14 +01:00
entry-fpsimd.S arm64: Floating point and SIMD 2012-09-17 13:42:13 +01:00
entry.S arm64: get rid of fork/vfork/clone wrappers 2012-10-22 18:14:17 -04:00
fpsimd.c arm64: Floating point and SIMD 2012-09-17 13:42:13 +01:00
head.S arm64: Kernel booting and initialisation 2012-09-17 10:24:45 +01:00
hw_breakpoint.c arm64: Debugging support 2012-09-17 13:42:14 +01:00
io.c arm64: Device specific operations 2012-09-17 13:42:04 +01:00
irq.c arm64: IRQ handling 2012-09-17 13:42:02 +01:00
kuser32.S arm64: 32-bit (compat) applications support 2012-09-17 13:42:12 +01:00
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
module.c arm64: Loadable modules 2012-09-17 13:42:19 +01:00
perf_event.c arm64: perf: use architected event for CPU cycle counter 2012-11-08 16:06:19 +00:00
process.c Merge commit '6ba1bc826d160fe4f32bcb188687dcca4bdfaf3d' into arch-arm64 2012-11-16 20:53:36 -05:00
ptrace.c arm64: ptrace: use HW_BREAKPOINT_EMPTY type for disabled breakpoints 2012-10-18 20:15:34 +01:00
setup.c arm64: Ignore memory blocks below PHYS_OFFSET 2012-10-18 20:14:00 +01:00
signal32.c arm64: signal: let the compiler inline compat_get_sigframe 2012-11-23 18:11:38 +00:00
signal.c arm64: signal: return struct rt_sigframe from get_sigframe 2012-11-23 18:11:37 +00:00
smp.c arm64: smp: add missing completion for secondary boot 2012-11-08 16:06:21 +00:00
stacktrace.c arm64: Exception handling 2012-09-17 10:24:46 +01:00
sys32.S arm64: get rid of fork/vfork/clone wrappers 2012-10-22 18:14:17 -04:00
sys_compat.c arm64: get rid of fork/vfork/clone wrappers 2012-10-22 18:14:17 -04:00
sys.c arm64: get rid of fork/vfork/clone wrappers 2012-10-22 18:14:17 -04:00
time.c arm64: Generic timers support 2012-09-17 13:42:20 +01:00
traps.c arm64: Exception handling 2012-09-17 10:24:46 +01:00
vdso.c arm64: Fix the update_vsyscall() prototype 2012-10-18 20:14:00 +01:00
vmlinux.lds.S arm64: Build infrastructure 2012-09-17 13:42:21 +01:00