Re: [patch 06/24] KVM: arm64: Use ktime_get_snapshot_id() to snapshot CLOCK_REALTIME
From: Marc Zyngier
Date: Wed May 27 2026 - 05:11:18 EST
On Tue, 26 May 2026 18:13:58 +0100,
Thomas Gleixner <tglx@xxxxxxxxxx> wrote:
>
> ktime_get_snapshot() is replaced by ktime_get_snapshot_id() which allows to
> request a particular CLOCK ID to be captured along with the clocksource
> counter.
>
> Convert the usage in kvm_get_ptp_time() over and use the new
> system_time_snapshot::sys field, which holds the system timestamp selected
> by the CLOCK ID argument.
>
> No functional change intended.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
> Cc: Marc Zyngier <maz@xxxxxxxxxx>
> Cc: Oliver Upton <oupton@xxxxxxxxxx>
> Cc: kvmarm@xxxxxxxxxxxxxxx
> ---
> arch/arm64/kvm/hypercalls.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Acked-by: Marc Zyngier <maz@xxxxxxxxxx>
M.
--
Without deviation from the norm, progress is not possible.