Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dplpar_wrappers.h60 unsigned long vpa) in vpa_call() argument
64 return plpar_hcall_norets(H_REGISTER_VPA, flags, cpu, vpa); in vpa_call()
72 static inline long register_vpa(unsigned long cpu, unsigned long vpa) in register_vpa() argument
74 return vpa_call(H_VPA_REG_VPA, cpu, vpa); in register_vpa()
82 static inline long register_slb_shadow(unsigned long cpu, unsigned long vpa) in register_slb_shadow() argument
84 return vpa_call(H_VPA_REG_SLB, cpu, vpa); in register_slb_shadow()
92 static inline long register_dtl(unsigned long cpu, unsigned long vpa) in register_dtl() argument
94 return vpa_call(H_VPA_REG_DTL, cpu, vpa); in register_dtl()
Dkvm_book3s.h236 extern void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa,
Dkvm_host.h761 struct kvmppc_vpa vpa; member
/arch/powerpc/platforms/pseries/
Dcmm.c114 static long plpar_page_set_loaned(unsigned long vpa) in plpar_page_set_loaned() argument
121 rc = plpar_hcall_norets(H_PAGE_INIT, H_PAGE_SET_LOANED, vpa + i, 0); in plpar_page_set_loaned()
125 vpa + i - cmo_page_sz, 0); in plpar_page_set_loaned()
130 static long plpar_page_set_active(unsigned long vpa) in plpar_page_set_active() argument
137 rc = plpar_hcall_norets(H_PAGE_INIT, H_PAGE_SET_ACTIVE, vpa + i, 0); in plpar_page_set_active()
141 vpa + i - cmo_page_sz, 0); in plpar_page_set_active()
Ddtl.c79 struct lppaca *vpa = local_paca->lppaca_ptr; in consume_dtle() local
88 if (index + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) in consume_dtle()
/arch/powerpc/kvm/
Dbook3s_hv.c398 static void init_vpa(struct kvm_vcpu *vcpu, struct lppaca *vpa) in init_vpa() argument
400 vpa->__old_status |= LPPACA_OLD_SHARED_PROC; in init_vpa()
401 vpa->yield_count = cpu_to_be32(1); in init_vpa()
438 unsigned long vcpuid, unsigned long vpa) in do_h_register_vpa() argument
456 if ((vpa & (L1_CACHE_BYTES - 1)) || !vpa) in do_h_register_vpa()
460 va = kvmppc_pin_guest_page(kvm, vpa, &nb); in do_h_register_vpa()
467 kvmppc_unpin_guest_page(kvm, va, vpa, false); in do_h_register_vpa()
473 vpa = 0; in do_h_register_vpa()
491 vpap = &tvcpu->arch.vpa; in do_h_register_vpa()
502 if (!vpa_is_registered(&tvcpu->arch.vpa)) in do_h_register_vpa()
[all …]
Dbook3s_64_mmu_hv.c1128 void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa, in kvmppc_harvest_vpa_dirty() argument
1134 if (!vpa->dirty || !vpa->pinned_addr) in kvmppc_harvest_vpa_dirty()
1136 gfn = vpa->gpa >> PAGE_SHIFT; in kvmppc_harvest_vpa_dirty()
1141 vpa->dirty = false; in kvmppc_harvest_vpa_dirty()
/arch/powerpc/kernel/
Dtime.c204 struct lppaca *vpa = local_paca->lppaca_ptr; in scan_dispatch_log() local
212 if (i == be64_to_cpu(vpa->dtl_idx)) in scan_dispatch_log()
214 while (i < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
219 if (i + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
221 i = be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG; in scan_dispatch_log()
Dasm-offsets.c495 OFFSET(VCPU_VPA, kvm_vcpu, arch.vpa.pinned_addr); in main()
496 OFFSET(VCPU_VPA_DIRTY, kvm_vcpu, arch.vpa.dirty); in main()
/arch/arm/boot/dts/
Dmt6323.dtsi45 regulator-name = "vpa";