Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dplpar_wrappers.h145 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove() argument
151 rc = plpar_hcall(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove()
161 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove_raw() argument
167 rc = plpar_hcall_raw(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove_raw()
223 unsigned long avpn) in plpar_pte_protect() argument
225 return plpar_hcall_norets(H_PROTECT, flags, ptex, avpn); in plpar_pte_protect()
Dkvm_book3s.h174 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
246 avpn = kvmppc_mmu_book3s_64_get_avpn(slbe, eaddr); in kvmppc_mmu_book3s_64_xlate()
247 v_val = avpn & HPTE_V_AVPN; in kvmppc_mmu_book3s_64_xlate()
339 eaddr, avpn, gpte->vpage, gpte->raddr); in kvmppc_mmu_book3s_64_xlate()
Dbook3s_hv_rm_mmu.c432 unsigned long pte_index, unsigned long avpn, in kvmppc_do_h_remove() argument
447 ((flags & H_AVPN) && (pte & ~0x7fUL) != avpn) || in kvmppc_do_h_remove()
448 ((flags & H_ANDCOND) && (pte & avpn) != 0)) { in kvmppc_do_h_remove()
484 unsigned long pte_index, unsigned long avpn) in kvmppc_h_remove() argument
486 return kvmppc_do_h_remove(vcpu->kvm, flags, pte_index, avpn, in kvmppc_h_remove()
601 unsigned long pte_index, unsigned long avpn, in kvmppc_h_protect() argument
618 ((flags & H_AVPN) && (pte & ~0x7fUL) != avpn)) { in kvmppc_h_protect()
844 unsigned long avpn; in kvmppc_hv_find_lock_hpte() local
867 avpn = slb_v & ~(somask >> 16); /* also includes B */ in kvmppc_hv_find_lock_hpte()
868 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()
/arch/powerpc/mm/
Dhash_native_64.c519 unsigned long avpn, pteg, vpi; in hpte_decode() local
546 avpn = (HPTE_V_AVPN_VAL(hpte_v) & ~mmu_psize_defs[size].avpnm); in hpte_decode()
554 seg_off = (avpn & 0x1f) << 23; in hpte_decode()
555 vsid = avpn >> 5; in hpte_decode()
565 seg_off = (avpn & 0x1ffff) << 23; in hpte_decode()
566 vsid = avpn >> 17; in hpte_decode()