lkml.org 
[lkml]   [2019]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/3] arm64: enable virtual kvm ptp for arm64
Date
kvm ptp targets to provide high precision time sync between guest
and host in virtualization environment. This patch enable kvm ptp
for arm64.

This patch set base on [1][2][3]

[1]https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/
commit/?h=kvm/hvc&id=125ea89e4a21e2fc5235410f966a996a1a7148bf
[2]https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/
commit/?h=kvm/hvc&id=464f5a1741e5959c3e4d2be1966ae0093b4dce06
[3]https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/
commit/?h=kvm/hvc&id=6597490e005d0eeca8ed8c1c1d7b4318ee014681

Jianyong Wu (3):
Export psci_ops.conduit symbol as modules will use it.
reorganize ptp_kvm modules to make it arch-independent.
Enable ptp_kvm for arm64

arch/arm64/include/asm/arch_timer.h | 3 +
arch/arm64/kvm/arch_ptp_kvm.c | 76 +++++++++++++++++++++++
arch/x86/kvm/arch_ptp_kvm.c | 92 ++++++++++++++++++++++++++++
drivers/clocksource/arm_arch_timer.c | 6 +-
drivers/firmware/psci/psci.c | 6 ++
drivers/ptp/Kconfig | 2 +-
drivers/ptp/Makefile | 1 +
drivers/ptp/{ptp_kvm.c => kvm_ptp.c} | 77 ++++++-----------------
include/asm-generic/ptp_kvm.h | 12 ++++
include/linux/arm-smccc.h | 16 ++++-
include/linux/psci.h | 1 +
virt/kvm/arm/psci.c | 17 +++++
12 files changed, 246 insertions(+), 63 deletions(-)
create mode 100644 arch/arm64/kvm/arch_ptp_kvm.c
create mode 100644 arch/x86/kvm/arch_ptp_kvm.c
rename drivers/ptp/{ptp_kvm.c => kvm_ptp.c} (63%)
create mode 100644 include/asm-generic/ptp_kvm.h

--
2.17.1

\
 
 \ /
  Last update: 2019-08-29 08:41    [W:0.127 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site