[PATCH 0/5] KVM: some x86 MMU cleanup and new tracepoints

From: Paolo Bonzini
Date: Thu Jul 04 2019 - 05:33:02 EST


Given the attention to pgprintk, here are the patches I had locally
to add new tracepoints to __direct_map, FNAME(fetch) and mmu_set_spte().
These tracepoints actually come from a recent debugging session, so they
have proved their usefulness. :) And because I'm feeling both lazy *and*
generous, I'm including a couple free cleanups from the series that I was
debugging!

Paolo

Junaid Shahid (1):
kvm: x86: Do not release the page inside mmu_set_spte()

Paolo Bonzini (4):
KVM: x86: make FNAME(fetch) and __direct_map more similar
KVM: x86: remove now unneeded hugepage gfn adjustment
KVM: x86: change kvm_mmu_page_get_gfn BUG_ON to WARN_ON
KVM: x86: add tracepoints around __direct_map and FNAME(fetch)

arch/x86/kvm/mmu.c | 105 ++++++++++++++++++-------------------
arch/x86/kvm/mmutrace.h | 59 +++++++++++++++++++++
arch/x86/kvm/paging_tmpl.h | 42 +++++++--------
3 files changed, 129 insertions(+), 77 deletions(-)

--
2.21.0