Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/kvm/
Dbook3s_64_mmu.c54 if (!vcpu_book3s->slb[i].valid) in kvmppc_mmu_book3s_64_find_slbe()
57 if (vcpu_book3s->slb[i].tb) in kvmppc_mmu_book3s_64_find_slbe()
60 if (vcpu_book3s->slb[i].esid == cmp_esid) in kvmppc_mmu_book3s_64_find_slbe()
61 return &vcpu_book3s->slb[i]; in kvmppc_mmu_book3s_64_find_slbe()
67 if (vcpu_book3s->slb[i].vsid) in kvmppc_mmu_book3s_64_find_slbe()
69 vcpu_book3s->slb[i].valid ? 'v' : ' ', in kvmppc_mmu_book3s_64_find_slbe()
70 vcpu_book3s->slb[i].large ? 'l' : ' ', in kvmppc_mmu_book3s_64_find_slbe()
71 vcpu_book3s->slb[i].tb ? 't' : ' ', in kvmppc_mmu_book3s_64_find_slbe()
72 vcpu_book3s->slb[i].esid, in kvmppc_mmu_book3s_64_find_slbe()
73 vcpu_book3s->slb[i].vsid); in kvmppc_mmu_book3s_64_find_slbe()
[all …]
Dbook3s_64_mmu_host.c220 if (!(to_svcpu(vcpu)->slb[i].esid & SLB_ESID_V)) in kvmppc_mmu_next_segment()
222 else if ((to_svcpu(vcpu)->slb[i].esid & ESID_MASK) == esid) in kvmppc_mmu_next_segment()
258 to_svcpu(vcpu)->slb[slb_index].esid = 0; in kvmppc_mmu_map_segment()
272 to_svcpu(vcpu)->slb[slb_index].esid = slb_esid; in kvmppc_mmu_map_segment()
273 to_svcpu(vcpu)->slb[slb_index].vsid = slb_vsid; in kvmppc_mmu_map_segment()
283 to_svcpu(vcpu)->slb[0].esid = 0; in kvmppc_mmu_flush_segments()
Dbook3s.c83 memcpy(to_svcpu(vcpu)->slb, to_book3s(vcpu)->slb_shadow, sizeof(to_svcpu(vcpu)->slb)); in kvmppc_core_vcpu_load()
97 memcpy(to_book3s(vcpu)->slb_shadow, to_svcpu(vcpu)->slb, sizeof(to_svcpu(vcpu)->slb)); in kvmppc_core_vcpu_put()
1193 sregs->u.s.ppc64.slb[i].slbe = vcpu3s->slb[i].orige | i; in kvm_arch_vcpu_ioctl_get_sregs()
1194 sregs->u.s.ppc64.slb[i].slbv = vcpu3s->slb[i].origv; in kvm_arch_vcpu_ioctl_get_sregs()
1220 vcpu->arch.mmu.slbmte(vcpu, sregs->u.s.ppc64.slb[i].slbv, in kvm_arch_vcpu_ioctl_set_sregs()
1221 sregs->u.s.ppc64.slb[i].slbe); in kvm_arch_vcpu_ioctl_set_sregs()
/linux-2.6.39/arch/powerpc/platforms/cell/
Dspu_base.c151 static inline void spu_load_slb(struct spu *spu, int slbe, struct spu_slb *slb) in spu_load_slb() argument
156 __func__, slbe, slb->vsid, slb->esid); in spu_load_slb()
162 out_be64(&priv2->slb_vsid_RW, slb->vsid); in spu_load_slb()
164 out_be64(&priv2->slb_esid_RW, slb->esid); in spu_load_slb()
170 struct spu_slb slb; in __spu_trap_data_seg() local
175 slb.esid = (ea & ESID_MASK) | SLB_ESID_V; in __spu_trap_data_seg()
184 slb.vsid = (get_vsid(mm->context.id, ea, MMU_SEGSIZE_256M) in __spu_trap_data_seg()
192 slb.vsid = (get_kernel_vsid(ea, MMU_SEGSIZE_256M) in __spu_trap_data_seg()
197 slb.vsid = (get_kernel_vsid(ea, MMU_SEGSIZE_256M) in __spu_trap_data_seg()
207 slb.vsid |= mmu_psize_defs[psize].sllp; in __spu_trap_data_seg()
[all …]
/linux-2.6.39/arch/x86/kvm/
Dtrace.h598 TP_PROTO(__u64 rip, __u32 slb),
599 TP_ARGS(rip, slb),
603 __field( __u32, slb )
608 __entry->slb = slb;
612 __entry->rip, __entry->slb)
/linux-2.6.39/arch/powerpc/include/asm/
Dkvm.h57 } slb[64]; member
Dkvm_book3s_asm.h91 } slb[64]; /* guest SLB */ member
Dkvm_book3s.h74 struct kvmppc_slb slb[64]; member
/linux-2.6.39/arch/powerpc/mm/
DMakefile18 slb_low.o slb.o stab.o \
/linux-2.6.39/arch/powerpc/kernel/
Dasm-offsets.c202 DEFINE(SVCPU_SLB, offsetof(struct kvmppc_book3s_shadow_vcpu, slb)); in main()