linux/arch/arm64/kernel
Nathan Lynch 878854a374 arm64: VDSO: fix coarse clock monotonicity regression
Since 906c55579a ("timekeeping: Copy the shadow-timekeeper over the
real timekeeper last") it has become possible on arm64 to:

- Obtain a CLOCK_MONOTONIC_COARSE or CLOCK_REALTIME_COARSE timestamp
  via syscall.
- Subsequently obtain a timestamp for the same clock ID via VDSO which
  predates the first timestamp (by one jiffy).

This is because arm64's update_vsyscall is deriving the coarse time
using the __current_kernel_time interface, when it should really be
using the timekeeper object provided to it by the timekeeping core.
It happened to work before only because __current_kernel_time would
access the same timekeeper object which had been passed to
update_vsyscall.  This is no longer the case.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2015-08-10 15:37:45 +01:00
..
vdso arm64: vdso: work-around broken ELF toolchains in Makefile 2015-06-19 14:54:10 +01:00
.gitignore
acpi.c arm64: psci: remove ACPI coupling 2015-05-27 13:22:24 +01:00
alternative.c arm64: alternative: Allow immediate branch as alternative instruction 2015-06-05 10:38:53 +01:00
arm64ksyms.c
armv8_deprecated.c
asm-offsets.c arm64: KVM: Switch vgic save/restore to alternative_insn 2015-06-12 15:12:08 +01:00
cacheinfo.c
cpu_errata.c
cpu_ops.c ARM64: kernel: unify ACPI and DT cpus initialization 2015-05-19 16:09:29 +01:00
cpufeature.c arm64: alternative: Introduce feature for GICv3 CPU interface 2015-06-12 15:11:50 +01:00
cpuidle.c arm64: cpuidle: add __init section marker to arm_cpuidle_init 2015-07-02 17:44:27 +01:00
cpuinfo.c
debug-monitors.c
efi-entry.S
efi-stub.c
efi.c arm64/efi: map the entire UEFI vendor string before reading it 2015-07-27 18:00:05 +01:00
entry32.S arm64: entry32: remove pointless register assignment 2015-07-10 16:47:13 +01:00
entry-fpsimd.S
entry-ftrace.S
entry.S arm64: switch_to: calculate cpu context pointer using separate register 2015-07-22 10:56:41 +01:00
fpsimd.c arm64: fix bug for reloading FPSIMD state after CPU hotplug. 2015-06-11 17:08:11 +01:00
ftrace.c
head.S arm64: reduce ID map to a single page 2015-06-02 17:44:51 +01:00
hw_breakpoint.c arm64/hw_breakpoint.c: remove unnecessary header 2015-06-26 17:32:13 +01:00
hyp-stub.S
image.h
insn.c arm64: insn: Add aarch64_{get,set}_branch_offset 2015-06-03 15:43:24 +01:00
io.c
irq.c ARM64/irq: Use access helper irq_data_get_affinity_mask() 2015-07-22 10:57:09 +01:00
jump_label.c
kgdb.c
kuser32.S
Makefile
module.c
pci.c
perf_event.c arm64: perf: fix unassigned cpu_pmu->plat_device when probing PMU PPIs 2015-06-30 18:13:05 +01:00
perf_regs.c
process.c arm64: kernel thread don't need to save fpsimd context. 2015-06-11 15:35:23 +01:00
psci-call.S
psci.c arm64: kernel: rename __cpu_suspend to keep it aligned with arm 2015-06-19 14:46:39 +01:00
ptrace.c
return_address.c
setup.c xen: features and cleanups for 4.2-rc0 2015-07-01 11:53:46 -07:00
signal32.c signal: fix information leak in copy_siginfo_to_user 2015-08-07 04:39:40 +03:00
signal.c
sleep.S arm64: drop sleep_idmap_phys and clean up cpu_resume() 2015-06-02 17:45:07 +01:00
smp_spin_table.c ARM64: kernel: make cpu_ops hooks DT agnostic 2015-05-19 16:09:29 +01:00
smp.c ACPI / ARM64 : use the new BAD_MADT_GICC_ENTRY macro 2015-07-07 14:55:04 +01:00
stacktrace.c
suspend.c arm64: kernel: rename __cpu_suspend to keep it aligned with arm 2015-06-19 14:46:39 +01:00
sys32.c
sys_compat.c
sys.c
time.c
topology.c
trace-events-emulation.h
traps.c arm64: Fix show_unhandled_signal_ratelimited usage 2015-07-03 17:03:06 +01:00
vdso.c arm64: VDSO: fix coarse clock monotonicity regression 2015-08-10 15:37:45 +01:00
vmlinux.lds.S arm64: reduce ID map to a single page 2015-06-02 17:44:51 +01:00