mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-10 05:37:12 +00:00
Per include/linux/arm-smccc.h, the Function ID of PTP_KVM service is defined as ARM_SMCCC_VENDOR_HYP_KVM_PTP_FUNC_ID. Fix the typo in documentation to keep the git grep consistent. Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210417113804.1992-1-yuzenghui@huawei.com
26 lines
1.1 KiB
ReStructuredText
26 lines
1.1 KiB
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
PTP_KVM support for arm/arm64
|
|
=============================
|
|
|
|
PTP_KVM is used for high precision time sync between host and guests.
|
|
It relies on transferring the wall clock and counter value from the
|
|
host to the guest using a KVM-specific hypercall.
|
|
|
|
* ARM_SMCCC_VENDOR_HYP_KVM_PTP_FUNC_ID: 0x86000001
|
|
|
|
This hypercall uses the SMC32/HVC32 calling convention:
|
|
|
|
ARM_SMCCC_VENDOR_HYP_KVM_PTP_FUNC_ID
|
|
============== ======== =====================================
|
|
Function ID: (uint32) 0x86000001
|
|
Arguments: (uint32) KVM_PTP_VIRT_COUNTER(0)
|
|
KVM_PTP_PHYS_COUNTER(1)
|
|
Return Values: (int32) NOT_SUPPORTED(-1) on error, or
|
|
(uint32) Upper 32 bits of wall clock time (r0)
|
|
(uint32) Lower 32 bits of wall clock time (r1)
|
|
(uint32) Upper 32 bits of counter (r2)
|
|
(uint32) Lower 32 bits of counter (r3)
|
|
Endianness: No Restrictions.
|
|
============== ======== =====================================
|