Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dplpar_wrappers.h114 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove() argument
120 rc = plpar_hcall(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove()
130 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove_raw() argument
136 rc = plpar_hcall_raw(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove_raw()
209 unsigned long avpn) in plpar_pte_protect() argument
211 return plpar_hcall_norets(H_PROTECT, flags, ptex, avpn); in plpar_pte_protect()
Dkvm_book3s.h232 unsigned long pte_index, unsigned long avpn,
Dkvm_ppc.h625 unsigned long pte_index, unsigned long avpn);
628 unsigned long pte_index, unsigned long avpn,
/arch/powerpc/kvm/
Dbook3s_64_mmu.c175 u64 avpn; in kvmppc_mmu_book3s_64_get_avpn() local
177 avpn = kvmppc_mmu_book3s_64_get_page(slbe, eaddr); in kvmppc_mmu_book3s_64_get_avpn()
178 avpn |= slbe->vsid << (kvmppc_slb_sid_shift(slbe) - p); in kvmppc_mmu_book3s_64_get_avpn()
181 avpn >>= ((80 - p) - 56) - 8; /* 16 - p */ in kvmppc_mmu_book3s_64_get_avpn()
183 avpn <<= p - 16; in kvmppc_mmu_book3s_64_get_avpn()
185 return avpn; in kvmppc_mmu_book3s_64_get_avpn()
215 u64 avpn = 0; in kvmppc_mmu_book3s_64_xlate() local
247 avpn = kvmppc_mmu_book3s_64_get_avpn(slbe, eaddr); in kvmppc_mmu_book3s_64_xlate()
248 v_val = avpn & HPTE_V_AVPN; in kvmppc_mmu_book3s_64_xlate()
342 eaddr, avpn, gpte->vpage, gpte->raddr); in kvmppc_mmu_book3s_64_xlate()
Dbook3s_hv_rm_mmu.c498 unsigned long pte_index, unsigned long avpn, in kvmppc_do_h_remove() argument
520 ((flags & H_AVPN) && (pte & ~0x7fUL) != avpn) || in kvmppc_do_h_remove()
521 ((flags & H_ANDCOND) && (pte & avpn) != 0)) { in kvmppc_do_h_remove()
560 unsigned long pte_index, unsigned long avpn) in kvmppc_h_remove() argument
562 return kvmppc_do_h_remove(vcpu->kvm, flags, pte_index, avpn, in kvmppc_h_remove()
685 unsigned long pte_index, unsigned long avpn, in kvmppc_h_protect() argument
706 ((flags & H_AVPN) && (v & ~0x7fUL) != avpn)) { in kvmppc_h_protect()
987 unsigned long avpn; in kvmppc_hv_find_lock_hpte() local
1010 avpn = slb_v & ~(somask >> 16); /* also includes B */ in kvmppc_hv_find_lock_hpte()
1011 avpn |= (eaddr & somask) >> 16; in kvmppc_hv_find_lock_hpte()
[all …]
Dbook3s_pr_papr.c93 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_remove() local
108 ((flags & H_AVPN) && (pte[0] & ~0x7fUL) != avpn) || in kvmppc_h_pr_remove()
109 ((flags & H_ANDCOND) && (pte[0] & avpn) != 0)) in kvmppc_h_pr_remove()
221 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_protect() local
236 ((flags & H_AVPN) && (pte[0] & ~0x7fUL) != avpn)) in kvmppc_h_pr_protect()
Dbook3s_64_mmu_hv.c1261 unsigned long apsize, psize, avpn, pteg, hash; in resize_hpt_rehash_hpte() local
1322 avpn = HPTE_V_AVPN_VAL(vpte) & ~((psize - 1) >> 23); in resize_hpt_rehash_hpte()
1331 offset = (avpn & 0x1f) << 23; in resize_hpt_rehash_hpte()
1332 vsid = avpn >> 5; in resize_hpt_rehash_hpte()
1342 offset = (avpn & 0x1ffff) << 23; in resize_hpt_rehash_hpte()
1343 vsid = avpn >> 17; in resize_hpt_rehash_hpte()
/arch/powerpc/mm/
Dhash_native_64.c595 unsigned long avpn, pteg, vpi; in hpte_decode() local
618 avpn = (HPTE_V_AVPN_VAL(hpte_v) & ~mmu_psize_defs[size].avpnm); in hpte_decode()
626 seg_off = (avpn & 0x1f) << 23; in hpte_decode()
627 vsid = avpn >> 5; in hpte_decode()
637 seg_off = (avpn & 0x1ffff) << 23; in hpte_decode()
638 vsid = avpn >> 17; in hpte_decode()