/arch/powerpc/include/asm/ |
D | plpar_wrappers.h | 58 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()
|
D | kvm_book3s.h | 258 extern void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa,
|
D | kvm_host.h | 810 struct kvmppc_vpa vpa; member
|
/arch/powerpc/platforms/pseries/ |
D | dtl.c | 69 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()
|
D | cmm.c | 92 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()
|
D | lpar.c | 366 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/ |
D | book3s_hv.c | 490 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 …]
|
D | book3s_hv_p9_perf.c | 41 lp = vcpu->arch.vpa.pinned_addr; in switch_pmu_to_guest() 124 lp = vcpu->arch.vpa.pinned_addr; in switch_pmu_to_host()
|
D | book3s_64_mmu_hv.c | 1115 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/ |
D | mt6357.dtsi | 49 mt6357_vpa_reg: buck-vpa { 50 regulator-name = "vpa";
|
D | mt6359.dtsi | 62 regulator-name = "vpa";
|
D | mt6358.dtsi | 44 regulator-name = "vpa";
|
/arch/arm/boot/dts/mediatek/ |
D | mt6323.dtsi | 46 regulator-name = "vpa";
|
/arch/powerpc/kernel/ |
D | asm-offsets.c | 431 OFFSET(VCPU_VPA, kvm_vcpu, arch.vpa.pinned_addr); in main() 432 OFFSET(VCPU_VPA_DIRTY, kvm_vcpu, arch.vpa.dirty); in main()
|