Home
last modified time | relevance | path

Searched refs:HPTE_V_HVLOCK (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c221 pteh &= ~(HPTE_V_HVLOCK | HPTE_V_ABSENT | HPTE_V_VALID); in kvmppc_do_h_enter()
314 try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter()
329 while (!try_lock_hpte(hpte, HPTE_V_HVLOCK)) in kvmppc_do_h_enter()
343 if (!try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter()
348 while (!try_lock_hpte(hpte, HPTE_V_HVLOCK)) in kvmppc_do_h_enter()
502 while (!try_lock_hpte(hpte, HPTE_V_HVLOCK)) in kvmppc_do_h_remove()
518 v = pte & ~HPTE_V_HVLOCK; in kvmppc_do_h_remove()
595 if (!try_lock_hpte(hp, HPTE_V_HVLOCK)) { in kvmppc_h_bulk_remove()
598 while (!try_lock_hpte(hp, HPTE_V_HVLOCK)) in kvmppc_h_bulk_remove()
624 hp[0] &= ~cpu_to_be64(HPTE_V_HVLOCK); in kvmppc_h_bulk_remove()
[all …]
Dbook3s_64_mmu_hv.c366 v = orig_v = be64_to_cpu(hptep[0]) & ~HPTE_V_HVLOCK; in kvmppc_mmu_book3s_64_hv_xlate()
533 while (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) in kvmppc_book3s_hv_page_fault()
535 hpte[0] = be64_to_cpu(hptep[0]) & ~HPTE_V_HVLOCK; in kvmppc_book3s_hv_page_fault()
657 while (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) in kvmppc_book3s_hv_page_fault()
675 if ((hnow_v & ~HPTE_V_HVLOCK) != hpte[0] || hnow_r != hpte[1] || in kvmppc_book3s_hv_page_fault()
864 if (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) { in kvm_unmap_rmapp()
867 while (be64_to_cpu(hptep[0]) & HPTE_V_HVLOCK) in kvm_unmap_rmapp()
945 if (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) { in kvm_age_rmapp()
948 while (be64_to_cpu(hptep[0]) & HPTE_V_HVLOCK) in kvm_age_rmapp()
1077 if (!try_lock_hpte(hptep, HPTE_V_HVLOCK)) { in kvm_test_clear_dirty_npages()
[all …]
/Linux-v5.10/arch/powerpc/include/asm/
Dkvm_book3s_64.h164 #define HPTE_V_HVLOCK 0x40UL macro
186 be_lockbit = cpu_to_be64(HPTE_V_HVLOCK); in try_lock_hpte()
205 hpte_v &= ~HPTE_V_HVLOCK; in unlock_hpte()
213 hpte_v &= ~HPTE_V_HVLOCK; in __unlock_hpte()