Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dpaca.c102 static struct slb_shadow * __initdata slb_shadow; variable
106 int size = PAGE_ALIGN(sizeof(struct slb_shadow) * nr_cpus); in allocate_slb_shadows()
111 slb_shadow = __va(memblock_alloc_base(size, PAGE_SIZE, limit)); in allocate_slb_shadows()
112 memset(slb_shadow, 0, size); in allocate_slb_shadows()
115 static struct slb_shadow * __init init_slb_shadow(int cpu) in init_slb_shadow()
117 struct slb_shadow *s; in init_slb_shadow()
122 s = &slb_shadow[cpu]; in init_slb_shadow()
129 if (!slb_shadow) in init_slb_shadow()
Dasm-offsets.c226 OFFSET(SLBSHADOW_STACKVSID, slb_shadow, save_area[SLB_NUM_BOLTED - 1].vsid); in main()
227 OFFSET(SLBSHADOW_STACKESID, slb_shadow, save_area[SLB_NUM_BOLTED - 1].esid); in main()
228 OFFSET(SLBSHADOW_SAVEAREA, slb_shadow, save_area); in main()
Dmce_power.c144 struct slb_shadow *slb; in flush_and_reload_slb()
/arch/powerpc/kvm/
Dbook3s_hv_ras.c40 struct slb_shadow *slb; in reload_slb()
47 slb = vcpu->arch.slb_shadow.pinned_addr; in reload_slb()
53 if ((void *) &slb->save_area[n] > vcpu->arch.slb_shadow.pinned_end) in reload_slb()
Dbook3s_hv.c515 vpap = &tvcpu->arch.slb_shadow; in do_h_register_vpa()
523 vpa_is_registered(&tvcpu->arch.slb_shadow)) in do_h_register_vpa()
536 vpap = &tvcpu->arch.slb_shadow; in do_h_register_vpa()
605 vcpu->arch.slb_shadow.update_pending || in kvmppc_update_vpas()
620 if (vcpu->arch.slb_shadow.update_pending) in kvmppc_update_vpas()
621 kvmppc_update_vpa(vcpu, &vcpu->arch.slb_shadow); in kvmppc_update_vpas()
1411 val->vpaval.addr = vcpu->arch.slb_shadow.next_gpa; in kvmppc_get_one_reg_hv()
1412 val->vpaval.length = vcpu->arch.slb_shadow.len; in kvmppc_get_one_reg_hv()
1618 if (!addr && (vcpu->arch.slb_shadow.next_gpa || in kvmppc_set_one_reg_hv()
1629 r = set_vpa(vcpu, &vcpu->arch.slb_shadow, addr, len); in kvmppc_set_one_reg_hv()
[all …]
Dbook3s_pr.c99 memcpy(svcpu->slb, to_book3s(vcpu)->slb_shadow, sizeof(svcpu->slb)); in kvmppc_core_vcpu_load_pr()
126 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.h95 struct slb_shadow *slb_shadow_ptr;
Dkvm_host.h86 struct slb_shadow;
766 struct kvmppc_vpa slb_shadow; member
Dkvm_book3s.h113 } slb_shadow[64]; member
/arch/powerpc/mm/
Dslb.c58 struct slb_shadow *p = get_slb_shadow(); in slb_shadow_update()