]> 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)
commit9768443b043289940647be5c558614d93144efd6
treeb2f880f70fd927e430b06c2a8e5c3b35ad672fe9
parentf22bbd370e21aa9e38381f401721e9bb996d8463
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