Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/include/asm/
Dplpar_wrappers.h108 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove() argument
114 rc = plpar_hcall(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove()
124 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove_raw() argument
130 rc = plpar_hcall_raw(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove_raw()
203 unsigned long avpn) in plpar_pte_protect() argument
205 return plpar_hcall_norets(H_PROTECT, flags, ptex, avpn); in plpar_pte_protect()
Dkvm_ppc.h765 unsigned long pte_index, unsigned long avpn);
768 unsigned long pte_index, unsigned long avpn,
Dkvm_book3s.h254 unsigned long pte_index, unsigned long avpn,
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_64_mmu.c158 u64 avpn; in kvmppc_mmu_book3s_64_get_avpn() local
160 avpn = kvmppc_mmu_book3s_64_get_page(slbe, eaddr); in kvmppc_mmu_book3s_64_get_avpn()
161 avpn |= slbe->vsid << (kvmppc_slb_sid_shift(slbe) - p); in kvmppc_mmu_book3s_64_get_avpn()
164 avpn >>= ((80 - p) - 56) - 8; /* 16 - p */ in kvmppc_mmu_book3s_64_get_avpn()
166 avpn <<= p - 16; in kvmppc_mmu_book3s_64_get_avpn()
168 return avpn; in kvmppc_mmu_book3s_64_get_avpn()
198 u64 avpn = 0; in kvmppc_mmu_book3s_64_xlate() local
230 avpn = kvmppc_mmu_book3s_64_get_avpn(slbe, eaddr); in kvmppc_mmu_book3s_64_xlate()
231 v_val = avpn & HPTE_V_AVPN; in kvmppc_mmu_book3s_64_xlate()
325 eaddr, avpn, gpte->vpage, gpte->raddr); in kvmppc_mmu_book3s_64_xlate()
Dbook3s_pr_papr.c90 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_remove() local
105 ((flags & H_AVPN) && (pte[0] & ~0x7fUL) != avpn) || in kvmppc_h_pr_remove()
106 ((flags & H_ANDCOND) && (pte[0] & avpn) != 0)) in kvmppc_h_pr_remove()
218 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_protect() local
233 ((flags & H_AVPN) && (pte[0] & ~0x7fUL) != avpn)) in kvmppc_h_pr_protect()
Dbook3s_hv_rm_mmu.c489 unsigned long pte_index, unsigned long avpn, in kvmppc_do_h_remove() argument
511 ((flags & H_AVPN) && (pte & ~0x7fUL) != avpn) || in kvmppc_do_h_remove()
512 ((flags & H_ANDCOND) && (pte & avpn) != 0)) { in kvmppc_do_h_remove()
551 unsigned long pte_index, unsigned long avpn) in kvmppc_h_remove() argument
553 return kvmppc_do_h_remove(vcpu->kvm, flags, pte_index, avpn, in kvmppc_h_remove()
676 unsigned long pte_index, unsigned long avpn, in kvmppc_h_protect() argument
697 ((flags & H_AVPN) && (v & ~0x7fUL) != avpn)) { in kvmppc_h_protect()
1102 unsigned long avpn; in kvmppc_hv_find_lock_hpte() local
1125 avpn = slb_v & ~(somask >> 16); /* also includes B */ in kvmppc_hv_find_lock_hpte()
1126 avpn |= (eaddr & somask) >> 16; in kvmppc_hv_find_lock_hpte()
[all …]
Dbook3s_64_mmu_hv.c1240 unsigned long apsize, avpn, pteg, hash; in resize_hpt_rehash_hpte() local
1312 avpn = HPTE_V_AVPN_VAL(vpte) & ~(((1ul << pshift) - 1) >> 23); in resize_hpt_rehash_hpte()
1321 offset = (avpn & 0x1f) << 23; in resize_hpt_rehash_hpte()
1322 vsid = avpn >> 5; in resize_hpt_rehash_hpte()
1332 offset = (avpn & 0x1ffff) << 23; in resize_hpt_rehash_hpte()
1333 vsid = avpn >> 17; in resize_hpt_rehash_hpte()
/Linux-v5.10/arch/powerpc/mm/book3s64/
Dhash_native.c717 unsigned long avpn, pteg, vpi; in hpte_decode() local
740 avpn = (HPTE_V_AVPN_VAL(hpte_v) & ~mmu_psize_defs[size].avpnm); in hpte_decode()
748 seg_off = (avpn & 0x1f) << 23; in hpte_decode()
749 vsid = avpn >> 5; in hpte_decode()
759 seg_off = (avpn & 0x1ffff) << 23; in hpte_decode()
760 vsid = avpn >> 17; in hpte_decode()