Skip to content

kvmtrace: add powerpc support for KVM_TRACE

[email protected] kvm kvm-ppc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5kvmtrace: Remove use of bit fields in kvm trace structure v3include/linux/kvm.h virt/kvm/kvm_trace.c+24 -120 replies
2/5kvmtrace: make cycle calculation architecture awarearch/powerpc/kvm/powerpc.c arch/x86/kvm/x86.c include/linux/kvm_host.h +1 more+33 -113 replies
3/5kvmppc: kvmtrace: enable KVM_TRACE building for powerpcarch/powerpc/kvm/Kconfig arch/powerpc/kvm/Makefile+15 -20 replies
4/5kvmppc: kvmtrace: adds trace points for ppc tlb activity v2arch/powerpc/kvm/44x_tlb.c arch/powerpc/kvm/emulate.c include/linux/kvm.h+21 -10 replies
5/5kvmppc: kvmtrace: trace powerpc instruction emulationarch/powerpc/kvm/emulate.c include/linux/kvm.h+5 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] kvmtrace: add powerpc support for KVM_TRACE

From: Christian Ehrhardt <[email protected]>

This series contains the revised patch set Jerone/Hollis posted last week as well as the extension to use the KVM_TRACE infrastructure to trace the embedded powerpc instruction emulation.

The series contains five patches (2 generic / 3 powerpc code):
Subject: [PATCH 1/5] kvmtrace: Remove use of bit fields in kvm trace structure v3
Introducing a endian save way to store the flags event,tcs, num_data
Subject: [PATCH 2/5] kvmtrace: make cycle calculation architecture aware
let each architecture implement how to fill the trace cycle 64 bit field
Subject: [PATCH 3/5] kvmppc: kvmtrace: enable KVM_TRACE building for powerpc
enable KVM_TRACE for powerpc in Kconfig/Makefile
Subject: [PATCH 4/5] kvmppc: kvmtrace: adds trace points for ppc tlb activity
use KVM_TRACE to track tlb/shadow tlb activity on embedded powerpc
Subject: [PATCH 5/5] kvmppc: kvmtrace: trace powerpc instruction emulation
use KVM_TRACE to track instruction emulation overhead

---

[diffstat]

 arch/powerpc/kvm/emulate.c   |    4 ++++
 b/arch/powerpc/kvm/44x_tlb.c |   15 ++++++++++++++-
 b/arch/powerpc/kvm/Kconfig   |   11 +++++++++++
 b/arch/powerpc/kvm/Makefile  |    6 ++++--
 b/arch/powerpc/kvm/emulate.c |    4 ++++
 b/arch/powerpc/kvm/powerpc.c |   25 +++++++++++++++++++++++++
 b/arch/x86/kvm/x86.c         |    5 +++++
 b/include/linux/kvm.h        |   17 ++++++++++++++---
 b/include/linux/kvm_host.h   |    2 ++
 b/virt/kvm/kvm_trace.c       |   19 ++++++++++---------
 include/linux/kvm.h          |    4 ++++
 virt/kvm/kvm_trace.c         |    2 +-
 12 files changed, 98 insertions(+), 16 deletions(-)