linux_dsm_epyc7002/arch/x86/entry
Paolo Bonzini 108b249c45 KVM: x86: introduce get_kvmclock_ns
Introduce a function that reads the exact nanoseconds value that is
provided to the guest in kvmclock.  This crystallizes the notion of
kvmclock as a thin veneer over a stable TSC, that the guest will
(hopefully) convert with NTP.  In other words, kvmclock is *not* a
paravirtualized host-to-guest NTP.

Drop the get_kernel_ns() function, that was used both to get the base
value of the master clock and to get the current value of kvmclock.
The former use is replaced by ktime_get_boot_ns(), the latter is
the purpose of get_kernel_ns().

This also allows KVM to provide a Hyper-V time reference counter that
is synchronized with the time that is computed from the TSC page.

Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-09-20 09:26:15 +02:00
..
syscalls x86/syscalls/64: Add compat_sys_keyctl for 32-bit userspace 2016-08-01 11:31:24 +02:00
vdso KVM: x86: introduce get_kvmclock_ns 2016-09-20 09:26:15 +02:00
vsyscall Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2016-07-29 17:38:46 -07:00
calling.h
common.c Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-08-06 09:04:35 -04:00
entry_32.S x86/dumpstack: When OOPSing, rewind the stack before do_exit() 2016-07-15 10:26:28 +02:00
entry_64_compat.S
entry_64.S x86/entry: Clarify the RF saving/restoring situation with SYSCALL/SYSRET 2016-08-10 15:53:43 +02:00
Makefile x86/build: Reduce the W=1 warnings noise when compiling x86 syscall tables 2016-08-10 16:05:16 +02:00
syscall_32.c
syscall_64.c
thunk_32.S
thunk_64.S x86/asm/entry: Make thunk's restore a local label 2016-07-08 16:47:01 +02:00