Searched refs:hpte (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_hv_rm_mmu.c | 203 __be64 *hpte; in kvmppc_do_h_enter() local 311 hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); in kvmppc_do_h_enter() 313 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0 && in kvmppc_do_h_enter() 314 try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter() 317 hpte += 2; in kvmppc_do_h_enter() 326 hpte -= 16; in kvmppc_do_h_enter() 329 while (!try_lock_hpte(hpte, HPTE_V_HVLOCK)) in kvmppc_do_h_enter() 331 pte = be64_to_cpu(hpte[0]); in kvmppc_do_h_enter() 334 __unlock_hpte(hpte, pte); in kvmppc_do_h_enter() 335 hpte += 2; in kvmppc_do_h_enter() [all …]
|
D | book3s_pr_papr.c | 41 __be64 *hpte; in kvmppc_h_pr_enter() local 53 hpte = pteg; in kvmppc_h_pr_enter() 60 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0) in kvmppc_h_pr_enter() 62 hpte += 2; in kvmppc_h_pr_enter() 65 hpte += i * 2; in kvmppc_h_pr_enter() 66 if (*hpte & HPTE_V_VALID) in kvmppc_h_pr_enter() 70 hpte[0] = cpu_to_be64(kvmppc_get_gpr(vcpu, 6)); in kvmppc_h_pr_enter() 71 hpte[1] = cpu_to_be64(kvmppc_get_gpr(vcpu, 7)); in kvmppc_h_pr_enter() 74 if (copy_to_user((void __user *)pteg_addr, hpte, HPTE_SIZE)) in kvmppc_h_pr_enter()
|
D | book3s_64_mmu_hv.c | 486 unsigned long hpte[3], r; in kvmppc_book3s_hv_page_fault() local 535 hpte[0] = be64_to_cpu(hptep[0]) & ~HPTE_V_HVLOCK; in kvmppc_book3s_hv_page_fault() 536 hpte[1] = be64_to_cpu(hptep[1]); in kvmppc_book3s_hv_page_fault() 537 hpte[2] = r = rev->guest_rpte; in kvmppc_book3s_hv_page_fault() 538 unlock_hpte(hptep, hpte[0]); in kvmppc_book3s_hv_page_fault() 542 hpte[0] = hpte_new_to_old_v(hpte[0], hpte[1]); in kvmppc_book3s_hv_page_fault() 543 hpte[1] = hpte_new_to_old_r(hpte[1]); in kvmppc_book3s_hv_page_fault() 545 if (hpte[0] != vcpu->arch.pgfault_hpte[0] || in kvmppc_book3s_hv_page_fault() 546 hpte[1] != vcpu->arch.pgfault_hpte[1]) in kvmppc_book3s_hv_page_fault() 550 psize = kvmppc_actual_pgsz(hpte[0], r); in kvmppc_book3s_hv_page_fault() [all …]
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 176 static inline long try_lock_hpte(__be64 *hpte, unsigned long bits) in try_lock_hpte() argument 198 : "r" (hpte), "r" (be_bits), "r" (be_lockbit) in try_lock_hpte() 203 static inline void unlock_hpte(__be64 *hpte, unsigned long hpte_v) in unlock_hpte() argument 207 hpte[0] = cpu_to_be64(hpte_v); in unlock_hpte() 211 static inline void __unlock_hpte(__be64 *hpte, unsigned long hpte_v) in __unlock_hpte() argument 214 hpte[0] = cpu_to_be64(hpte_v); in __unlock_hpte()
|
/Linux-v5.10/arch/powerpc/mm/book3s64/ |
D | hash_native.c | 714 static void hpte_decode(struct hash_pte *hpte, unsigned long slot, in hpte_decode() argument 718 unsigned long hpte_v = be64_to_cpu(hpte->v); in hpte_decode() 719 unsigned long hpte_r = be64_to_cpu(hpte->r); in hpte_decode()
|
/Linux-v5.10/Documentation/admin-guide/ |
D | kernel-parameters.txt | 465 firmware feature for flushing multiple hpte entries
|