KVM: Move arm64's MMU notifier trace events to generic code
authorSean Christopherson <seanjc@google.com>
Fri, 26 Mar 2021 02:19:48 +0000 (19:19 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:30:56 +0000 (08:30 -0400)
commit501b918525efec2e701e806f04d474d7da350962
tree7d48c9b06faac8c9836b9cfe256362e717d5edc9
parent5f7c292b8975c9146063abbb91c0b9cdc1a5e9c5
KVM: Move arm64's MMU notifier trace events to generic code

Move arm64's MMU notifier trace events into common code in preparation
for doing the hva->gfn lookup in common code.  The alternative would be
to trace the gfn instead of hva, but that's not obviously better and
could also be done in common code.  Tracing the notifiers is also quite
handy for debug regardless of architecture.

Remove a completely redundant tracepoint from PPC e500.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210326021957.1424875-10-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/arm64/kvm/mmu.c
arch/arm64/kvm/trace_arm.h
arch/powerpc/kvm/e500_mmu_host.c
arch/powerpc/kvm/trace_booke.h
include/trace/events/kvm.h
virt/kvm/kvm_main.c