Home
last modified time | relevance | path

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

/linux-6.12.1/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()
324 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.c486 unsigned long pte_index, unsigned long avpn, in kvmppc_do_h_remove() argument
508 ((flags & H_AVPN) && (pte & ~0x7fUL) != avpn) || in kvmppc_do_h_remove()
509 ((flags & H_ANDCOND) && (pte & avpn) != 0)) { in kvmppc_do_h_remove()
548 unsigned long pte_index, unsigned long avpn) in kvmppc_h_remove() argument
550 return kvmppc_do_h_remove(vcpu->kvm, flags, pte_index, avpn, in kvmppc_h_remove()
675 unsigned long pte_index, unsigned long avpn) in kvmppc_h_protect() argument
695 ((flags & H_AVPN) && (v & ~0x7fUL) != avpn)) { in kvmppc_h_protect()
1104 unsigned long avpn; in kvmppc_hv_find_lock_hpte() local
1127 avpn = slb_v & ~(somask >> 16); /* also includes B */ in kvmppc_hv_find_lock_hpte()
1128 avpn |= (eaddr & somask) >> 16; in kvmppc_hv_find_lock_hpte()
[all …]
Dbook3s_64_mmu_hv.c1226 unsigned long apsize, avpn, pteg, hash; in resize_hpt_rehash_hpte() local
1298 avpn = HPTE_V_AVPN_VAL(vpte) & ~(((1ul << pshift) - 1) >> 23); in resize_hpt_rehash_hpte()
1307 offset = (avpn & 0x1f) << 23; in resize_hpt_rehash_hpte()
1308 vsid = avpn >> 5; in resize_hpt_rehash_hpte()
1318 offset = (avpn & 0x1ffff) << 23; in resize_hpt_rehash_hpte()
1319 vsid = avpn >> 17; in resize_hpt_rehash_hpte()
/linux-6.12.1/arch/powerpc/include/asm/
Dplpar_wrappers.h85 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove() argument
91 rc = plpar_hcall(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove()
101 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove_raw() argument
107 rc = plpar_hcall_raw(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove_raw()
180 unsigned long avpn) in plpar_pte_protect() argument
182 return plpar_hcall_norets(H_PROTECT, flags, ptex, avpn); in plpar_pte_protect()
Dkvm_ppc.h832 unsigned long pte_index, unsigned long avpn);
835 unsigned long pte_index, unsigned long avpn);
Dkvm_book3s.h255 unsigned long pte_index, unsigned long avpn,
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhash_native.c667 unsigned long avpn, pteg, vpi; in hpte_decode() local
690 avpn = (HPTE_V_AVPN_VAL(hpte_v) & ~mmu_psize_defs[size].avpnm); in hpte_decode()
698 seg_off = (avpn & 0x1f) << 23; in hpte_decode()
699 vsid = avpn >> 5; in hpte_decode()
709 seg_off = (avpn & 0x1ffff) << 23; in hpte_decode()
710 vsid = avpn >> 17; in hpte_decode()