Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/kvm/
Dbook3s_64_mmu.c54 if (!vcpu->arch.slb[i].valid) in kvmppc_mmu_book3s_64_find_slbe()
57 if (vcpu->arch.slb[i].tb) in kvmppc_mmu_book3s_64_find_slbe()
60 if (vcpu->arch.slb[i].esid == cmp_esid) in kvmppc_mmu_book3s_64_find_slbe()
61 return &vcpu->arch.slb[i]; in kvmppc_mmu_book3s_64_find_slbe()
67 if (vcpu->arch.slb[i].vsid) in kvmppc_mmu_book3s_64_find_slbe()
69 vcpu->arch.slb[i].valid ? 'v' : ' ', in kvmppc_mmu_book3s_64_find_slbe()
70 vcpu->arch.slb[i].large ? 'l' : ' ', in kvmppc_mmu_book3s_64_find_slbe()
71 vcpu->arch.slb[i].tb ? 't' : ' ', in kvmppc_mmu_book3s_64_find_slbe()
72 vcpu->arch.slb[i].esid, in kvmppc_mmu_book3s_64_find_slbe()
73 vcpu->arch.slb[i].vsid); in kvmppc_mmu_book3s_64_find_slbe()
[all …]
Dbook3s_64_mmu_host.c227 if (!(svcpu->slb[i].esid & SLB_ESID_V)) in kvmppc_mmu_next_segment()
229 else if ((svcpu->slb[i].esid & ESID_MASK) == esid) { in kvmppc_mmu_next_segment()
273 svcpu->slb[slb_index].esid = 0; in kvmppc_mmu_map_segment()
288 svcpu->slb[slb_index].esid = slb_esid; in kvmppc_mmu_map_segment()
289 svcpu->slb[slb_index].vsid = slb_vsid; in kvmppc_mmu_map_segment()
302 svcpu->slb[0].esid = 0; in kvmppc_mmu_flush_segments()
Dbook3s_pr.c63 memcpy(svcpu->slb, to_book3s(vcpu)->slb_shadow, sizeof(svcpu->slb)); in kvmppc_core_vcpu_load()
79 memcpy(to_book3s(vcpu)->slb_shadow, svcpu->slb, sizeof(svcpu->slb)); in kvmppc_core_vcpu_put()
825 sregs->u.s.ppc64.slb[i].slbe = vcpu->arch.slb[i].orige | i; in kvm_arch_vcpu_ioctl_get_sregs()
826 sregs->u.s.ppc64.slb[i].slbv = vcpu->arch.slb[i].origv; in kvm_arch_vcpu_ioctl_get_sregs()
852 vcpu->arch.mmu.slbmte(vcpu, sregs->u.s.ppc64.slb[i].slbv, in kvm_arch_vcpu_ioctl_set_sregs()
853 sregs->u.s.ppc64.slb[i].slbe); in kvm_arch_vcpu_ioctl_set_sregs()
Dbook3s_hv.c109 vcpu->arch.slb[r].orige, vcpu->arch.slb[r].origv); in kvmppc_dump_regs()
374 sregs->u.s.ppc64.slb[i].slbe = vcpu->arch.slb[i].orige; in kvm_arch_vcpu_ioctl_get_sregs()
375 sregs->u.s.ppc64.slb[i].slbv = vcpu->arch.slb[i].origv; in kvm_arch_vcpu_ioctl_get_sregs()
390 if (sregs->u.s.ppc64.slb[i].slbe & SLB_ESID_V) { in kvm_arch_vcpu_ioctl_set_sregs()
391 vcpu->arch.slb[j].orige = sregs->u.s.ppc64.slb[i].slbe; in kvm_arch_vcpu_ioctl_set_sregs()
392 vcpu->arch.slb[j].origv = sregs->u.s.ppc64.slb[i].slbv; in kvm_arch_vcpu_ioctl_set_sregs()
Dbook3s_64_mmu_hv.c350 if (!(vcpu->arch.slb[i].orige & SLB_ESID_V)) in kvmppc_mmu_book3s_hv_find_slbe()
353 if (vcpu->arch.slb[i].origv & SLB_VSID_B_1T) in kvmppc_mmu_book3s_hv_find_slbe()
358 if (((vcpu->arch.slb[i].orige ^ eaddr) & mask) == 0) in kvmppc_mmu_book3s_hv_find_slbe()
359 return &vcpu->arch.slb[i]; in kvmppc_mmu_book3s_hv_find_slbe()
/linux-3.4.99/arch/powerpc/platforms/cell/
Dspu_base.c152 static inline void spu_load_slb(struct spu *spu, int slbe, struct spu_slb *slb) in spu_load_slb() argument
157 __func__, slbe, slb->vsid, slb->esid); in spu_load_slb()
163 out_be64(&priv2->slb_vsid_RW, slb->vsid); in spu_load_slb()
165 out_be64(&priv2->slb_esid_RW, slb->esid); in spu_load_slb()
171 struct spu_slb slb; in __spu_trap_data_seg() local
176 slb.esid = (ea & ESID_MASK) | SLB_ESID_V; in __spu_trap_data_seg()
185 slb.vsid = (get_vsid(mm->context.id, ea, MMU_SEGSIZE_256M) in __spu_trap_data_seg()
193 slb.vsid = (get_kernel_vsid(ea, MMU_SEGSIZE_256M) in __spu_trap_data_seg()
198 slb.vsid = (get_kernel_vsid(ea, MMU_SEGSIZE_256M) in __spu_trap_data_seg()
208 slb.vsid |= mmu_psize_defs[psize].sllp; in __spu_trap_data_seg()
[all …]
/linux-3.4.99/arch/x86/kvm/
Dtrace.h696 TP_PROTO(__u64 rip, __u32 slb),
697 TP_ARGS(rip, slb),
701 __field( __u32, slb )
706 __entry->slb = slb;
710 __entry->rip, __entry->slb)
/linux-3.4.99/arch/powerpc/include/asm/
Dkvm_book3s_asm.h119 } slb[64]; /* guest SLB */ member
Dkvm.h169 } slb[64]; member
Dkvm_host.h322 struct kvmppc_slb slb[64]; member
/linux-3.4.99/arch/powerpc/mm/
DMakefile18 slb_low.o slb.o stab.o \
/linux-3.4.99/arch/powerpc/kernel/
Dasm-offsets.c468 DEFINE(VCPU_SLB, offsetof(struct kvm_vcpu, arch.slb)); in main()
526 SVCPU_FIELD(SVCPU_SLB, slb); in main()