Home
last modified time | relevance | path

Searched refs:hpte_r (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/arch/powerpc/platforms/ps3/
A Dhtab.c39 u64 hpte_v, hpte_r; in ps3_hpte_insert() local
53 hpte_r = hpte_encode_r(ps3_mm_phys_to_lpar(pa), psize, apsize) | rflags; in ps3_hpte_insert()
59 hpte_v, hpte_r, in ps3_hpte_insert()
68 hpte_v, hpte_r); in ps3_hpte_insert()
/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A Dhash_native.c270 unsigned long hpte_v, hpte_r; in native_hpte_insert() local
300 hpte_r = hpte_encode_r(pa, psize, apsize) | rflags; in native_hpte_insert()
304 i, hpte_v, hpte_r); in native_hpte_insert()
308 hpte_r = hpte_old_to_new_r(hpte_v, hpte_r); in native_hpte_insert()
312 hptep->r = cpu_to_be64(hpte_r); in native_hpte_insert()
664 unsigned long hpte_r = be64_to_cpu(hpte->r); in hpte_decode() local
668 unsigned int lp = (hpte_r >> LP_SHIFT) & ((1 << LP_BITS) - 1); in hpte_decode()
671 hpte_v = hpte_new_to_old_v(hpte_v, hpte_r); in hpte_decode()
672 hpte_r = hpte_new_to_old_r(hpte_r); in hpte_decode()
/linux-6.3-rc2/arch/powerpc/kvm/
A Dtrace_hv.h302 __field(unsigned long, hpte_r)
313 __entry->hpte_r = hptep[1];
323 __entry->hpte_v, __entry->hpte_r, __entry->gpte_r,
336 __field(unsigned long, hpte_r)
343 __entry->hpte_r = hptep[1];
349 __entry->hpte_v, __entry->hpte_r, __entry->ret)
A Dbook3s_hv_rm_mmu.c149 unsigned long hpte_v, unsigned long hpte_r) in remove_revmap_chain() argument
158 rcbits = hpte_r & (HPTE_R_R | HPTE_R_C); in remove_revmap_chain()
180 kvmppc_actual_pgsz(hpte_v, hpte_r)); in remove_revmap_chain()
1213 r = cache_entry->hpte_r; in kvmppc_hpte_hv_fault()
1289 cache_entry->hpte_r = r; in kvmppc_hpte_hv_fault()
A Dbook3s_64_mmu_hv.c1867 __be64 hpte_r; in kvm_htab_write() local
1871 __get_user(hpte_r, lbuf + 1)) in kvm_htab_write()
1874 r = be64_to_cpu(hpte_r); in kvm_htab_write()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dplpar_wrappers.h98 unsigned long hpte_r, unsigned long *slot) in plpar_pte_enter() argument
103 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r); in plpar_pte_enter()
A Dkvm_book3s_64.h466 static inline int hpte_get_skey_perm(unsigned long hpte_r, unsigned long amr) in hpte_get_skey_perm() argument
470 skey = ((hpte_r & HPTE_R_KEY_HI) >> 57) | in hpte_get_skey_perm()
471 ((hpte_r & HPTE_R_KEY_LO) >> 9); in hpte_get_skey_perm()
A Dkvm_host.h470 unsigned long hpte_r; member
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dlpar.c765 unsigned long hpte_v, hpte_r; in pSeries_lpar_hpte_insert() local
773 hpte_r = hpte_encode_r(pa, psize, apsize) | rflags; in pSeries_lpar_hpte_insert()
776 pr_devel(" hpte_v=%016lx, hpte_r=%016lx\n", hpte_v, hpte_r); in pSeries_lpar_hpte_insert()
786 if (firmware_has_feature(FW_FEATURE_XCMO) && !(hpte_r & HPTE_R_N)) in pSeries_lpar_hpte_insert()
789 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()

Completed in 37 milliseconds