linux/arch/x86/entry
Dmitry Safonov 64b302ab66 x86/vdso: Provide vdso_data offset on vvar_page
VDSO support for time namespaces needs to set up a page with the same
layout as VVAR. That timens page will be placed on position of VVAR page
inside namespace. That page has vdso_data->seq set to 1 to enforce
the slow path and vdso_data->clock_mode set to VCLOCK_TIMENS to enforce
the time namespace handling path.

To prepare the time namespace page the kernel needs to know the vdso_data
offset.  Provide arch_get_vdso_data() helper for locating vdso_data on VVAR
page.

Co-developed-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191112012724.250792-22-dima@arista.com
2020-01-14 12:20:57 +01:00
..
syscalls syscalls/x86: Use the correct function type for sys_ni_syscall 2019-10-11 12:49:18 +02:00
vdso x86/vdso: Provide vdso_data offset on vvar_page 2020-01-14 12:20:57 +01:00
vsyscall y2038: syscall implementation cleanups 2019-12-01 14:00:59 -08:00
calling.h context_tracking: Rename context_tracking_is_enabled() => context_tracking_enabled() 2019-10-29 10:01:12 +01:00
common.c x86/ioperm: Move TSS bitmap update to exit to user work 2019-11-16 11:24:03 +01:00
entry_32.S x86/entry/32: Remove unused 'restore_all_notrace' local label 2019-11-27 10:38:16 +01:00
entry_64_compat.S x86/asm: Change all ENTRY+ENDPROC to SYM_FUNC_* 2019-10-18 11:58:33 +02:00
entry_64.S x86/entry/64: Remove pointless jump in paranoid_exit 2019-11-16 12:55:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
syscall_32.c syscalls/x86: Use the correct function type for sys_ni_syscall 2019-10-11 12:49:18 +02:00
syscall_64.c syscalls/x86: Use the correct function type for sys_ni_syscall 2019-10-11 12:49:18 +02:00
thunk_32.S x86/asm/entry: Annotate THUNKs 2019-10-18 09:58:59 +02:00
thunk_64.S x86/asm/entry: Annotate THUNKs 2019-10-18 09:58:59 +02:00