Home
last modified time | relevance | path

Searched refs:avpn (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_pr_papr.c75 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_remove() local
83 ((flags & H_AVPN) && (pte[0] & ~0x7fUL) != avpn) || in kvmppc_h_pr_remove()
84 ((flags & H_ANDCOND) && (pte[0] & avpn) != 0)) { in kvmppc_h_pr_remove()
105 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_protect() local
113 ((flags & H_AVPN) && (pte[0] & ~0x7fUL) != avpn)) { in kvmppc_h_pr_protect()
Dbook3s_64_mmu.c146 u64 avpn; in kvmppc_mmu_book3s_64_get_avpn() local
148 avpn = kvmppc_mmu_book3s_64_get_page(slbe, eaddr); in kvmppc_mmu_book3s_64_get_avpn()
149 avpn |= slbe->vsid << (28 - p); in kvmppc_mmu_book3s_64_get_avpn()
152 avpn >>= ((80 - p) - 56) - 8; in kvmppc_mmu_book3s_64_get_avpn()
154 avpn <<= 8; in kvmppc_mmu_book3s_64_get_avpn()
156 return avpn; in kvmppc_mmu_book3s_64_get_avpn()
166 u64 avpn = 0; in kvmppc_mmu_book3s_64_xlate() local
198 avpn = kvmppc_mmu_book3s_64_get_avpn(slbe, eaddr); in kvmppc_mmu_book3s_64_xlate()
222 if (HPTE_V_AVPN_VAL(avpn) == HPTE_V_AVPN_VAL(v)) { in kvmppc_mmu_book3s_64_xlate()
258 eaddr, avpn, gpte->vpage, gpte->raddr); in kvmppc_mmu_book3s_64_xlate()
[all …]
Dbook3s_hv_rm_mmu.c347 unsigned long pte_index, unsigned long avpn, in kvmppc_h_remove() argument
361 ((flags & H_AVPN) && (hpte[0] & ~0x7fUL) != avpn) || in kvmppc_h_remove()
362 ((flags & H_ANDCOND) && (hpte[0] & avpn) != 0)) { in kvmppc_h_remove()
516 unsigned long pte_index, unsigned long avpn, in kvmppc_h_protect() argument
531 ((flags & H_AVPN) && (hpte[0] & ~0x7fUL) != avpn)) { in kvmppc_h_protect()
659 unsigned long avpn; in kvmppc_hv_find_lock_hpte() local
682 avpn = slb_v & ~(somask >> 16); /* also includes B */ in kvmppc_hv_find_lock_hpte()
683 avpn |= (eaddr & somask) >> 16; in kvmppc_hv_find_lock_hpte()
686 avpn &= ~((1UL << (pshift - 16)) - 1); in kvmppc_hv_find_lock_hpte()
688 avpn &= ~0x7fUL; in kvmppc_hv_find_lock_hpte()
[all …]
/arch/powerpc/platforms/pseries/
Dplpar_wrappers.h138 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove() argument
144 rc = plpar_hcall(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove()
154 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove_raw() argument
160 rc = plpar_hcall_raw(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove_raw()
216 unsigned long avpn) in plpar_pte_protect() argument
218 return plpar_hcall_norets(H_PROTECT, flags, ptex, avpn); in plpar_pte_protect()
/arch/powerpc/mm/
Dhash_native_64.c356 unsigned long avpn; in hpte_decode() local
384 avpn = (HPTE_V_AVPN_VAL(hpte_v) & ~mmu_psize_defs[size].avpnm) << 23; in hpte_decode()
394 vpi = ((avpn >> 28) ^ pteg) & htab_hash_mask; in hpte_decode()
397 vsid = avpn >> 40; in hpte_decode()
401 avpn = vpi = size = 0; in hpte_decode()
403 avpn |= (vpi << mmu_psize_defs[size].shift); in hpte_decode()
406 *va = avpn; in hpte_decode()