Re: [PATCH v19 6/7] KVM: arm64: Add support for the KVM PTP service

From: Zenghui Yu
Date: Sat Apr 17 2021 - 06:25:16 EST


On 2021/4/17 17:10, Marc Zyngier wrote:
On Sat, 17 Apr 2021 09:59:39 +0100,
Zenghui Yu <yuzenghui@xxxxxxxxxx> wrote:

On 2021/3/30 22:54, Marc Zyngier wrote:
+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_HYP_KVM_PTP_FUNC_ID: 0x86000001

Per include/linux/arm-smccc.h, this should be
ARM_SMCCC_VENDOR_HYP_KVM_PTP_FUNC_ID.

Well spotted. Care to send a patch on top of my kvm-arm64/ptp branch?

Okay. I'll have a patch for that.


Zenghui