diff options
author | Jianyong Wu <jianyong.wu@arm.com> | 2020-12-09 09:09:29 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-07 18:33:20 +0300 |
commit | 3bf725699bf62494b3e179f1795f08c7d749f061 (patch) | |
tree | b2f880f70fd927e430b06c2a8e5c3b35ad672fe9 /include/uapi/linux/kvm.h | |
parent | 100148d0fc7dcf8672fe0ac83f44dc5749b4da5c (diff) | |
download | linux-3bf725699bf62494b3e179f1795f08c7d749f061.tar.xz |
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
Diffstat (limited to 'include/uapi/linux/kvm.h')
-rw-r--r-- | include/uapi/linux/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index f6afee209620..0e0f70c0d0dc 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -1078,6 +1078,7 @@ struct kvm_ppc_resize_hpt { #define KVM_CAP_DIRTY_LOG_RING 192 #define KVM_CAP_X86_BUS_LOCK_EXIT 193 #define KVM_CAP_PPC_DAWR1 194 +#define KVM_CAP_PTP_KVM 195 #ifdef KVM_CAP_IRQ_ROUTING |