Home
last modified time | relevance | path

Searched refs:slbe (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_64_mmu.c63 static int kvmppc_slb_sid_shift(struct kvmppc_slb *slbe) in kvmppc_slb_sid_shift() argument
65 return slbe->tb ? SID_SHIFT_1T : SID_SHIFT; in kvmppc_slb_sid_shift()
68 static u64 kvmppc_slb_offset_mask(struct kvmppc_slb *slbe) in kvmppc_slb_offset_mask() argument
70 return (1ul << kvmppc_slb_sid_shift(slbe)) - 1; in kvmppc_slb_offset_mask()
104 static int kvmppc_mmu_book3s_64_get_pagesize(struct kvmppc_slb *slbe) in kvmppc_mmu_book3s_64_get_pagesize() argument
106 return mmu_pagesize(slbe->base_page_size); in kvmppc_mmu_book3s_64_get_pagesize()
109 static u32 kvmppc_mmu_book3s_64_get_page(struct kvmppc_slb *slbe, gva_t eaddr) in kvmppc_mmu_book3s_64_get_page() argument
111 int p = kvmppc_mmu_book3s_64_get_pagesize(slbe); in kvmppc_mmu_book3s_64_get_page()
113 return ((eaddr & kvmppc_slb_offset_mask(slbe)) >> p); in kvmppc_mmu_book3s_64_get_page()
117 struct kvmppc_slb *slbe, gva_t eaddr, in kvmppc_mmu_book3s_64_get_pteg() argument
[all …]
H A Dbook3s_64_mmu_hv.c345 struct kvmppc_slb *slbe; in kvmppc_mmu_book3s_64_hv_xlate() local
358 slbe = kvmppc_mmu_book3s_hv_find_slbe(vcpu, eaddr); in kvmppc_mmu_book3s_64_hv_xlate()
359 if (!slbe) in kvmppc_mmu_book3s_64_hv_xlate()
361 slb_v = slbe->origv; in kvmppc_mmu_book3s_64_hv_xlate()
H A Dbook3s_pr.c1473 sregs->u.s.ppc64.slb[i].slbe = vcpu->arch.slb[i].orige | i; in kvm_arch_vcpu_ioctl_get_sregs_pr()
1505 u64 rb = sregs->u.s.ppc64.slb[i].slbe; in kvm_arch_vcpu_ioctl_set_sregs_pr()
H A Dbook3s_hv.c2070 sregs->u.s.ppc64.slb[i].slbe = vcpu->arch.slb[i].orige; in kvm_arch_vcpu_ioctl_get_sregs_hv()
2088 if (sregs->u.s.ppc64.slb[i].slbe & SLB_ESID_V) { in kvm_arch_vcpu_ioctl_set_sregs_hv()
2089 vcpu->arch.slb[j].orige = sregs->u.s.ppc64.slb[i].slbe; in kvm_arch_vcpu_ioctl_set_sregs_hv()
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dspu_base.c134 static inline void spu_load_slb(struct spu *spu, int slbe, struct copro_slb *slb) in spu_load_slb() argument
139 __func__, slbe, slb->vsid, slb->esid); in spu_load_slb()
141 out_be64(&priv2->slb_index_W, slbe); in spu_load_slb()
/openbmc/qemu/target/ppc/
H A Dmmu-hash64.c89 uint64_t slbe, slbv; in dump_slb() local
95 slbe = env->slb[i].esid; in dump_slb()
97 if (slbe == 0 && slbv == 0) { in dump_slb()
101 i, slbe, slbv); in dump_slb()
H A Dkvm.c878 sregs.u.s.ppc64.slb[i].slbe = env->slb[i].esid; in kvmppc_put_books_sregs()
880 sregs.u.s.ppc64.slb[i].slbe |= i; in kvmppc_put_books_sregs()
1181 target_ulong rb = sregs.u.s.ppc64.slb[i].slbe; in kvmppc_get_books_sregs()
/openbmc/linux/arch/powerpc/include/uapi/asm/
H A Dkvm.h183 __u64 slbe; member
/openbmc/qemu/linux-headers/asm-powerpc/
H A Dkvm.h182 __u64 slbe; member
/openbmc/linux/tools/arch/powerpc/include/uapi/asm/
H A Dkvm.h183 __u64 slbe; member