Home
last modified time | relevance | path

Searched refs:slb_shadow (Results 1 – 11 of 11) sorted by relevance

/arch/powerpc/kernel/
Dpaca.c105 static struct slb_shadow *slb_shadow; variable
109 int size = PAGE_ALIGN(sizeof(struct slb_shadow) * nr_cpus); in allocate_slb_shadows()
110 slb_shadow = __va(memblock_alloc_base(size, PAGE_SIZE, limit)); in allocate_slb_shadows()
111 memset(slb_shadow, 0, size); in allocate_slb_shadows()
114 static struct slb_shadow * __init init_slb_shadow(int cpu) in init_slb_shadow()
116 struct slb_shadow *s = &slb_shadow[cpu]; in init_slb_shadow()
123 if (!slb_shadow) in init_slb_shadow()
Dmce_power.c83 struct slb_shadow *slb; in flush_and_reload_slb()
Dasm-offsets.c233 offsetof(struct slb_shadow, save_area[SLB_NUM_BOLTED - 1].vsid)); in main()
235 offsetof(struct slb_shadow, save_area[SLB_NUM_BOLTED - 1].esid)); in main()
236 DEFINE(SLBSHADOW_SAVEAREA, offsetof(struct slb_shadow, save_area)); in main()
/arch/powerpc/kvm/
Dbook3s_hv_ras.c36 struct slb_shadow *slb; in reload_slb()
43 slb = vcpu->arch.slb_shadow.pinned_addr; in reload_slb()
49 if ((void *) &slb->save_area[n] > vcpu->arch.slb_shadow.pinned_end) in reload_slb()
Dbook3s_hv.c442 vpap = &tvcpu->arch.slb_shadow; in do_h_register_vpa()
450 vpa_is_registered(&tvcpu->arch.slb_shadow)) in do_h_register_vpa()
463 vpap = &tvcpu->arch.slb_shadow; in do_h_register_vpa()
532 vcpu->arch.slb_shadow.update_pending || in kvmppc_update_vpas()
547 if (vcpu->arch.slb_shadow.update_pending) in kvmppc_update_vpas()
548 kvmppc_update_vpa(vcpu, &vcpu->arch.slb_shadow); in kvmppc_update_vpas()
1137 val->vpaval.addr = vcpu->arch.slb_shadow.next_gpa; in kvmppc_get_one_reg_hv()
1138 val->vpaval.length = vcpu->arch.slb_shadow.len; in kvmppc_get_one_reg_hv()
1331 if (!addr && (vcpu->arch.slb_shadow.next_gpa || in kvmppc_set_one_reg_hv()
1342 r = set_vpa(vcpu, &vcpu->arch.slb_shadow, addr, len); in kvmppc_set_one_reg_hv()
[all …]
Dbook3s_pr.c98 memcpy(svcpu->slb, to_book3s(vcpu)->slb_shadow, sizeof(svcpu->slb)); in kvmppc_core_vcpu_load_pr()
125 memcpy(to_book3s(vcpu)->slb_shadow, svcpu->slb, sizeof(svcpu->slb)); in kvmppc_core_vcpu_put_pr()
/arch/powerpc/include/asm/
Dlppaca.h125 struct slb_shadow { struct
Dpaca.h87 struct slb_shadow *slb_shadow_ptr;
Dkvm_host.h85 struct slb_shadow;
673 struct kvmppc_vpa slb_shadow; member
Dkvm_book3s.h77 } slb_shadow[64]; member
/arch/powerpc/mm/
Dslb.c65 struct slb_shadow *p = get_slb_shadow(); in slb_shadow_update()