Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753293AbdI0Nrm (ORCPT ); Wed, 27 Sep 2017 09:47:42 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:42645 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752581AbdI0Nrl (ORCPT ); Wed, 27 Sep 2017 09:47:41 -0400 From: Joao Martins To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: Joao Martins , Boris Ostrovsky , Juergen Gross , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Andy Lutomirski Subject: [PATCH v4 0/3] x86/xen: pvclock vdso support Date: Wed, 27 Sep 2017 14:46:20 +0100 Message-Id: <20170927134623.3147-1-joao.m.martins@oracle.com> X-Mailer: git-send-email 2.11.0 X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1268 Lines: 36 Hey, This is take 4 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 is included in individual patches. (only patch 2 changed in this version) Thanks, Joao 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 | 42 +++++++++++++++++ 8 files changed, 175 insertions(+), 15 deletions(-) -- 2.11.0