Home
last modified time | relevance | path

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

/arch/powerpc/platforms/pseries/
Dplpar_wrappers.h51 unsigned long vpa) in vpa_call() argument
56 return plpar_hcall_norets(H_REGISTER_VPA, flags, cpu, vpa); in vpa_call()
64 static inline long register_vpa(unsigned long cpu, unsigned long vpa) in register_vpa() argument
66 return vpa_call(0x1, cpu, vpa); in register_vpa()
74 static inline long register_slb_shadow(unsigned long cpu, unsigned long vpa) in register_slb_shadow() argument
76 return vpa_call(0x3, cpu, vpa); in register_slb_shadow()
84 static inline long register_dtl(unsigned long cpu, unsigned long vpa) in register_dtl() argument
86 return vpa_call(0x2, cpu, vpa); in register_dtl()
89 static inline long plpar_page_set_loaned(unsigned long vpa) in plpar_page_set_loaned() argument
96 rc = plpar_hcall_norets(H_PAGE_INIT, H_PAGE_SET_LOANED, vpa + i, 0); in plpar_page_set_loaned()
[all …]
Ddtl.c81 struct lppaca *vpa = local_paca->lppaca_ptr; in consume_dtle() local
90 if (index + N_DISPATCH_LOG < vpa->dtl_idx) in consume_dtle()
/arch/powerpc/kvm/
Dbook3s_hv.c131 static void init_vpa(struct kvm_vcpu *vcpu, struct lppaca *vpa) in init_vpa() argument
133 vpa->shared_proc = 1; in init_vpa()
134 vpa->yield_count = 1; in init_vpa()
139 unsigned long vcpuid, unsigned long vpa) in do_h_register_vpa() argument
156 if (vpa & 0x7f) in do_h_register_vpa()
158 if (flags >= 2 && !tvcpu->arch.vpa) in do_h_register_vpa()
161 va = kvmppc_pin_guest_page(kvm, vpa, &nb); in do_h_register_vpa()
174 if (tvcpu->arch.vpa) in do_h_register_vpa()
175 kvmppc_unpin_guest_page(kvm, vcpu->arch.vpa); in do_h_register_vpa()
176 tvcpu->arch.vpa = va; in do_h_register_vpa()
[all …]
/arch/powerpc/kernel/
Dtime.c204 struct lppaca *vpa = local_paca->lppaca_ptr; in scan_dispatch_log() local
212 if (i == vpa->dtl_idx) in scan_dispatch_log()
214 while (i < vpa->dtl_idx) { in scan_dispatch_log()
221 if (i + N_DISPATCH_LOG < vpa->dtl_idx) { in scan_dispatch_log()
223 i = vpa->dtl_idx - N_DISPATCH_LOG; in scan_dispatch_log()
Dasm-offsets.c465 DEFINE(VCPU_VPA, offsetof(struct kvm_vcpu, arch.vpa)); in main()
/arch/ia64/kvm/
Dvtlb.c596 u64 *vpa; in fetch_code() local
620 vpa = (u64 *)__kvm_va(maddr); in fetch_code()
622 pbundle->i64[0] = *vpa++; in fetch_code()
623 pbundle->i64[1] = *vpa; in fetch_code()
/arch/powerpc/include/asm/
Dkvm_host.h456 struct lppaca *vpa; member