Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dplpar_wrappers.h58 unsigned long vpa) in vpa_call() argument
62 return plpar_hcall_norets(H_REGISTER_VPA, flags, cpu, vpa); in vpa_call()
70 static inline long register_vpa(unsigned long cpu, unsigned long vpa) in register_vpa() argument
72 return vpa_call(H_VPA_REG_VPA, cpu, vpa); in register_vpa()
80 static inline long register_slb_shadow(unsigned long cpu, unsigned long vpa) in register_slb_shadow() argument
82 return vpa_call(H_VPA_REG_SLB, cpu, vpa); in register_slb_shadow()
90 static inline long register_dtl(unsigned long cpu, unsigned long vpa) in register_dtl() argument
92 return vpa_call(H_VPA_REG_DTL, cpu, vpa); in register_dtl()
Dkvm_book3s.h258 extern void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa,
Dkvm_host.h810 struct kvmppc_vpa vpa; member
/arch/powerpc/platforms/pseries/
Ddtl.c69 struct lppaca *vpa = local_paca->lppaca_ptr; in consume_dtle() local
78 if (index + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) in consume_dtle()
380 struct lppaca *vpa = local_paca->lppaca_ptr; in scan_dispatch_log() local
388 if (i == be64_to_cpu(vpa->dtl_idx)) in scan_dispatch_log()
390 while (i < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
395 if (i + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
397 i = be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG; in scan_dispatch_log()
Dcmm.c92 const unsigned long vpa = page_to_phys(page); in plpar_page_set_loaned() local
101 rc = plpar_hcall_norets(H_PAGE_INIT, H_PAGE_SET_LOANED, vpa + i, 0); in plpar_page_set_loaned()
105 vpa + i - cmo_page_sz, 0); in plpar_page_set_loaned()
112 const unsigned long vpa = page_to_phys(page); in plpar_page_set_active() local
121 rc = plpar_hcall_norets(H_PAGE_INIT, H_PAGE_SET_ACTIVE, vpa + i, 0); in plpar_page_set_active()
125 vpa + i - cmo_page_sz, 0); in plpar_page_set_active()
Dlpar.c366 struct lppaca *vpa = local_paca->lppaca_ptr; in process_dtl_buffer() local
379 if (i == be64_to_cpu(vpa->dtl_idx)) in process_dtl_buffer()
382 while (i < be64_to_cpu(vpa->dtl_idx)) { in process_dtl_buffer()
385 if (i + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) { in process_dtl_buffer()
389 be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG - i); in process_dtl_buffer()
390 i = be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG; in process_dtl_buffer()
/arch/powerpc/kvm/
Dbook3s_hv.c490 static void init_vpa(struct kvm_vcpu *vcpu, struct lppaca *vpa) in init_vpa() argument
492 vpa->__old_status |= LPPACA_OLD_SHARED_PROC; in init_vpa()
493 vpa->yield_count = cpu_to_be32(1); in init_vpa()
530 unsigned long vcpuid, unsigned long vpa) in do_h_register_vpa() argument
548 if ((vpa & (L1_CACHE_BYTES - 1)) || !vpa) in do_h_register_vpa()
552 va = kvmppc_pin_guest_page(kvm, vpa, &nb); in do_h_register_vpa()
559 kvmppc_unpin_guest_page(kvm, va, vpa, false); in do_h_register_vpa()
565 vpa = 0; in do_h_register_vpa()
584 vpap = &tvcpu->arch.vpa; in do_h_register_vpa()
595 if (!vpa_is_registered(&tvcpu->arch.vpa)) in do_h_register_vpa()
[all …]
Dbook3s_hv_p9_perf.c41 lp = vcpu->arch.vpa.pinned_addr; in switch_pmu_to_guest()
124 lp = vcpu->arch.vpa.pinned_addr; in switch_pmu_to_host()
Dbook3s_64_mmu_hv.c1115 void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa, in kvmppc_harvest_vpa_dirty() argument
1121 if (!vpa->dirty || !vpa->pinned_addr) in kvmppc_harvest_vpa_dirty()
1123 gfn = vpa->gpa >> PAGE_SHIFT; in kvmppc_harvest_vpa_dirty()
1128 vpa->dirty = false; in kvmppc_harvest_vpa_dirty()
/arch/arm64/boot/dts/mediatek/
Dmt6357.dtsi49 mt6357_vpa_reg: buck-vpa {
50 regulator-name = "vpa";
Dmt6359.dtsi62 regulator-name = "vpa";
Dmt6358.dtsi44 regulator-name = "vpa";
/arch/arm/boot/dts/mediatek/
Dmt6323.dtsi46 regulator-name = "vpa";
/arch/powerpc/kernel/
Dasm-offsets.c431 OFFSET(VCPU_VPA, kvm_vcpu, arch.vpa.pinned_addr); in main()
432 OFFSET(VCPU_VPA_DIRTY, kvm_vcpu, arch.vpa.dirty); in main()