arch/arm64/kvm/hyp/include/nvhe/clock.h
0 → 100644
+16
−0
arch/arm64/kvm/hyp/nvhe/clock.c
0 → 100644
+65
−0
Loading
In preparation for supporting tracing from the nVHE hyp, add support to generate timestamps with a clock fed by the CNTCVT counter. The clock can be kept in sync with the kernel's by updating the slope values. This will be done later. As current we do only create a trace clock, make the whole support dependent on the upcoming CONFIG_NVHE_EL2_TRACING. Signed-off-by:Vincent Donnefort <vdonnefort@google.com> Link: https://patch.msgid.link/20260309162516.2623589-21-vdonnefort@google.com Signed-off-by:
Marc Zyngier <maz@kernel.org>