Skip to content

RFC KVM: arm64: Host/Guest trace syncronization

Nicolas Saenz Julienne kvmarm linux-arm-kernel linux-trace-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64/tracing: add cntvct based trace clockarch/arm64/include/asm/trace_clock.h arch/arm64/kernel/Makefile arch/arm64/kernel/trace_clock.c+25 -15 replies
2/2KVM: arm64: export cntvoff in debugfsarch/arm64/include/asm/kvm_host.h arch/arm64/kvm/Makefile arch/arm64/kvm/arch_timer.c +2 more+31 -27 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] KVM: arm64: Host/Guest trace syncronization

This small series introduces the necessary infrastructure to be able to syncronize host and guest traces. The approach I'm following is a bit biased since I tried to replicate the methods I've been using in the past with x86.

This was tested on an Ampere Mt. Jade based machine.

---

Nicolas Saenz Julienne (2):
arm64/tracing: add cntvct based trace clock
KVM: arm64: export cntvoff in debugfs

 arch/arm64/include/asm/kvm_host.h    |  1 +
 arch/arm64/include/asm/trace_clock.h | 12 ++++++++++++
 arch/arm64/kernel/Makefile           |  2 +-
 arch/arm64/kernel/trace_clock.c      | 12 ++++++++++++
 arch/arm64/kvm/Makefile              |  2 +-
 arch/arm64/kvm/arch_timer.c          |  2 +-
 arch/arm64/kvm/debugfs.c             | 25 +++++++++++++++++++++++++
 include/kvm/arm_arch_timer.h         |  3 +++
 8 files changed, 56 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm64/include/asm/trace_clock.h
 create mode 100644 arch/arm64/kernel/trace_clock.c
 create mode 100644 arch/arm64/kvm/debugfs.c
Signature · 1 line
2.33.1