[PATCH v2 0/3] x86/xen: pvclock vdso support
From: Joao Martins
Date: Fri Sep 22 2017 - 12:26:11 EST
Sorry for the huge delay in following up this series.
This take 2 for vdso for Xen. PVCLOCK_TSC_STABLE_BIT can be set starting Xen
4.8 which is required for vdso time related calls. In order to have it on, you
need to have the hypervisor clocksource be TSC e.g. with the following boot
params "clocksource=tsc tsc=stable:socket".
Series is structured as following:
Patch 1 streamlines pvti page get/set in pvclock for both of its users
Patch 2 registers the pvti page on Xen and sets it in pvclock accordingly
Patch 3 adds a file to KVM/Xen maintainers for tracking pvclock ABI changes.
Changelog since v1 is included in individual patches.
Any comments/suggestions are welcome.
Joao Martins (3):
x86/pvclock: add setter for pvclock_pvti_cpu0_va
x86/xen/time: setup vcpu 0 time info page
MAINTAINERS: xen, kvm: track pvclock-abi.h changes
MAINTAINERS | 2 +
arch/x86/include/asm/pvclock.h | 19 ++++----
arch/x86/kernel/kvmclock.c | 7 +--
arch/x86/kernel/pvclock.c | 14 ++++++
arch/x86/xen/suspend.c | 4 ++
arch/x86/xen/time.c | 100 +++++++++++++++++++++++++++++++++++++++++
arch/x86/xen/xen-ops.h | 2 +
include/xen/interface/vcpu.h | 28 ++++++++++++
8 files changed, 161 insertions(+), 15 deletions(-)