Searched refs:new_spte (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/arch/x86/kvm/mmu/ |
D | tdp_iter.h | 22 static inline u64 kvm_tdp_mmu_write_spte_atomic(tdp_ptep_t sptep, u64 new_spte) in kvm_tdp_mmu_write_spte_atomic() argument 24 KVM_MMU_WARN_ON(is_ept_ve_possible(new_spte)); in kvm_tdp_mmu_write_spte_atomic() 25 return xchg(rcu_dereference(sptep), new_spte); in kvm_tdp_mmu_write_spte_atomic() 28 static inline void __kvm_tdp_mmu_write_spte(tdp_ptep_t sptep, u64 new_spte) in __kvm_tdp_mmu_write_spte() argument 30 KVM_MMU_WARN_ON(is_ept_ve_possible(new_spte)); in __kvm_tdp_mmu_write_spte() 31 WRITE_ONCE(*rcu_dereference(sptep), new_spte); in __kvm_tdp_mmu_write_spte() 54 u64 new_spte, int level) in kvm_tdp_mmu_write_spte() argument 57 return kvm_tdp_mmu_write_spte_atomic(sptep, new_spte); in kvm_tdp_mmu_write_spte() 59 __kvm_tdp_mmu_write_spte(sptep, new_spte); in kvm_tdp_mmu_write_spte()
|
D | tdp_mmu.c | 291 u64 old_spte, u64 new_spte, int level, 442 u64 old_spte, u64 new_spte, int level, in handle_changed_spte() argument 446 bool is_present = is_shadow_present_pte(new_spte); in handle_changed_spte() 448 bool is_leaf = is_present && is_last_spte(new_spte, level); in handle_changed_spte() 449 bool pfn_changed = spte_to_pfn(old_spte) != spte_to_pfn(new_spte); in handle_changed_spte() 469 as_id, gfn, old_spte, new_spte, level); in handle_changed_spte() 478 if (old_spte == new_spte) in handle_changed_spte() 481 trace_kvm_tdp_mmu_spte_changed(as_id, gfn, level, old_spte, new_spte); in handle_changed_spte() 484 check_spte_writable_invariants(new_spte); in handle_changed_spte() 499 !is_mmio_spte(kvm, new_spte) && in handle_changed_spte() [all …]
|
D | mmutrace.h | 267 __field(u64, new_spte) 277 __entry->new_spte = *sptep; 285 __entry->old_spte, __entry->new_spte, 394 TP_PROTO(int as_id, gfn_t gfn, int level, u64 old_spte, u64 new_spte), 395 TP_ARGS(as_id, gfn, level, old_spte, new_spte), 400 __field(u64, new_spte) 410 __entry->new_spte = new_spte; 417 __entry->old_spte, __entry->new_spte
|
D | spte.c | 161 bool host_writable, u64 *new_spte) in make_spte() argument 267 *new_spte = spte; in make_spte()
|
D | mmu.c | 482 static void mmu_spte_set(u64 *sptep, u64 new_spte) in mmu_spte_set() argument 485 __set_spte(sptep, new_spte); in mmu_spte_set() 492 static u64 mmu_spte_update_no_track(u64 *sptep, u64 new_spte) in mmu_spte_update_no_track() argument 496 WARN_ON_ONCE(!is_shadow_present_pte(new_spte)); in mmu_spte_update_no_track() 497 check_spte_writable_invariants(new_spte); in mmu_spte_update_no_track() 500 mmu_spte_set(sptep, new_spte); in mmu_spte_update_no_track() 505 __update_clear_spte_fast(sptep, new_spte); in mmu_spte_update_no_track() 507 old_spte = __update_clear_spte_slow(sptep, new_spte); in mmu_spte_update_no_track() 509 WARN_ON_ONCE(spte_to_pfn(old_spte) != spte_to_pfn(new_spte)); in mmu_spte_update_no_track() 523 static bool mmu_spte_update(u64 *sptep, u64 new_spte) in mmu_spte_update() argument [all …]
|
D | spte.h | 503 bool host_writable, u64 *new_spte);
|