]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Add support for the KVM PTP service
authorJianyong Wu <jianyong.wu@arm.com>
Wed, 9 Dec 2020 06:09:29 +0000 (14:09 +0800)
committerMarc Zyngier <maz@kernel.org>
Wed, 7 Apr 2021 15:33:20 +0000 (16:33 +0100)
commitb39409497093294abec627d96a8d2174fd25d1f5
treeb2f880f70fd927e430b06c2a8e5c3b35ad672fe9
parent2e0ba3418d93708837ddd4a015db8a6c14f8b275
KVM: arm64: Add support for the KVM PTP service

Implement the hypervisor side of the KVM PTP interface.

The service offers wall time and cycle count from host to guest.
The caller must specify whether they want the host's view of
either the virtual or physical counter.

Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201209060932.212364-7-jianyong.wu@arm.com
Documentation/virt/kvm/api.rst
Documentation/virt/kvm/arm/index.rst
Documentation/virt/kvm/arm/ptp_kvm.rst [new file with mode: 0644]
arch/arm64/kvm/arm.c
arch/arm64/kvm/hypercalls.c
include/linux/arm-smccc.h
include/uapi/linux/kvm.h