From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Lutomirski Subject: [PATCH v2 0/4] x86: KVM vdso and clock improvements Date: Sun, 20 Dec 2015 03:05:40 -0800 Message-ID: Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Alexander Graf , Andy Lutomirski To: x86@kernel.org, Marcelo Tosatti , Radim Krcmar , Paolo Bonzini Return-path: Received: from mail.kernel.org ([198.145.29.136]:38744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753647AbbLTLGD (ORCPT ); Sun, 20 Dec 2015 06:06:03 -0500 Sender: kvm-owner@vger.kernel.org List-ID: x86: KVM vdso and clock improvements NB: patch 1 doesn't really belong here, but it makes this a lot easier for me to test. Patch 1, if it's okay at all, should go though the kvm tree. The rest should probably go through tip:x86/vdso once they're reviewed. I'll do a followup to enable vdso pvclock on 32-bit guests. I'm not currently set up to test it. (The KVM people could also do it very easily on top of these patches.) Changes from v1: - Dropped patch 1 - Added Paolo's review and acks - Fixed a build issue on some configs Andy Lutomirski (4): x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap x86/vdso: Remove pvclock fixmap machinery x86/vdso: Enable vdso pvclock access on all vdso variants arch/x86/entry/vdso/vclock_gettime.c | 151 ++++++++++++++++------------------ arch/x86/entry/vdso/vdso-layout.lds.S | 3 +- arch/x86/entry/vdso/vdso2c.c | 3 + arch/x86/entry/vdso/vma.c | 14 ++++ arch/x86/include/asm/fixmap.h | 5 -- arch/x86/include/asm/pvclock.h | 14 ++-- arch/x86/include/asm/vdso.h | 1 + arch/x86/kernel/kvmclock.c | 11 ++- arch/x86/kernel/pvclock.c | 24 ------ 9 files changed, 107 insertions(+), 119 deletions(-) -- 2.5.0