Merge branch 'kvm-tdp-fix-rcu' into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 2 Apr 2021 11:25:32 +0000 (07:25 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 2 Apr 2021 11:25:32 +0000 (07:25 -0400)
1  2 
arch/x86/kvm/mmu/mmu_internal.h
arch/x86/kvm/mmu/tdp_mmu.c

Simple merge
@@@ -190,13 -203,10 +190,8 @@@ static void handle_changed_spte(struct 
                                u64 old_spte, u64 new_spte, int level,
                                bool shared);
  
- static int kvm_mmu_page_as_id(struct kvm_mmu_page *sp)
- {
-       return sp->role.smm ? 1 : 0;
- }
  static void handle_changed_spte_acc_track(u64 old_spte, u64 new_spte, int level)
  {
 -      bool pfn_changed = spte_to_pfn(old_spte) != spte_to_pfn(new_spte);
 -
        if (!is_shadow_present_pte(old_spte) || !is_last_spte(old_spte, level))
                return;