KVM: x86/mmu: Drop redundant trace_kvm_mmu_set_spte() in the TDP MMU
authorSean Christopherson <seanjc@google.com>
Thu, 25 Feb 2021 20:47:33 +0000 (12:47 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:43:39 +0000 (04:43 -0400)
commit3849e0924ef14a245aa292ecaa9accdc4792012c
tree7f7802088f115c5a8fa71c0256a82bbde1b01020
parenta54aa15c6bda3ca7e2f9e040ba968a1da303e24f
KVM: x86/mmu: Drop redundant trace_kvm_mmu_set_spte() in the TDP MMU

Remove TDP MMU's call to trace_kvm_mmu_set_spte() that is done for both
shadow-present SPTEs and MMIO SPTEs.  It's fully redundant for the
former, and unnecessary for the latter.  This aligns TDP MMU tracing
behavior with that of the legacy MMU.

Fixes: 33dd3574f5fe ("kvm: x86/mmu: Add existing trace points to TDP MMU")
Cc: Ben Gardon <bgardon@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210225204749.1512652-9-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c