Home
last modified time | relevance | path

Searched refs:pfn_changed (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
H A Dtdp_mmu.c205 bool pfn_changed = spte_to_pfn(old_spte) != spte_to_pfn(new_spte); in handle_changed_spte_acc_track() local
211 (!is_accessed_spte(new_spte) || pfn_changed)) in handle_changed_spte_acc_track()
218 bool pfn_changed; in handle_changed_spte_dirty_log() local
224 pfn_changed = spte_to_pfn(old_spte) != spte_to_pfn(new_spte); in handle_changed_spte_dirty_log()
226 if ((!is_writable_pte(old_spte) || pfn_changed) && in handle_changed_spte_dirty_log()
252 bool pfn_changed = spte_to_pfn(old_spte) != spte_to_pfn(new_spte); in __handle_changed_spte() local
271 if (was_leaf && is_leaf && pfn_changed) { in __handle_changed_spte()
311 (!is_dirty_spte(new_spte) || pfn_changed)) in __handle_changed_spte()
318 if (was_present && !was_leaf && (pfn_changed || !is_present)) { in __handle_changed_spte()
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/
H A Dtdp_mmu.c427 bool pfn_changed = spte_to_pfn(old_spte) != spte_to_pfn(new_spte); in handle_changed_spte() local
442 if (was_leaf && is_leaf && pfn_changed) { in handle_changed_spte()
493 (!is_present || !is_dirty_spte(new_spte) || pfn_changed)) in handle_changed_spte()
503 (is_leaf || !is_present || WARN_ON_ONCE(pfn_changed))) in handle_changed_spte()
507 (!is_present || !is_accessed_spte(new_spte) || pfn_changed)) in handle_changed_spte()
1261 * shadow page. See the WARN on pfn_changed in handle_changed_spte(). in kvm_tdp_mmu_set_spte_gfn()

Completed in 6 milliseconds