/openbmc/qemu/target/ppc/ |
H A D | trace-events | 14 kvm_failed_vpa_addr_get(const char *msg) "Unable to get VPA address from KVM: %s" 17 kvm_failed_vpa_addr_set(const char *msg) "Unable to set VPA address to KVM: %s" 20 kvm_failed_null_vpa_addr_set(const char *msg) "Unable to set VPA address to KVM: %s" 21 kvm_failed_put_vpa(void) "Warning: Unable to set VPA information to KVM" 22 kvm_failed_get_vpa(void) "Warning: Unable to get VPA information from KVM"
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A 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()
|
H A D | lppaca.h | 36 * Pre-v4.14 KVM hypervisors reject the VPA if its size field is smaller than
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A 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()
|
H A 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()
|
H A 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() 666 * VPA steal time counters are reported at TB frequency. Hence do a in pseries_paravirt_steal_clock() 683 * The spec says it "may be problematic" if CPU x registers the VPA of in vpa_init() 698 pr_err("WARNING: VPA registration for cpu %d (hw %d) of area " in vpa_init() 1993 /* debugfs file interface for vpa data */ [all …]
|
H A D | kexec.c | 51 pr_err("WARNING: VPA deregistration for cpu %d " in pseries_kexec_cpu_down()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_perf.c | 41 lp = vcpu->arch.vpa.pinned_addr; in switch_pmu_to_guest() 83 * Load guest. If the VPA said the PMCs are not in use but the guest in switch_pmu_to_guest() 124 lp = vcpu->arch.vpa.pinned_addr; in switch_pmu_to_host() 171 * This is used to grab the guest's VPA pmcregs_in_use value in switch_pmu_to_host() 172 * and reflect it into the host's VPA in the case of a nested in switch_pmu_to_host()
|
H A 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() 574 case H_VPA_REG_VPA: /* register VPA */ in do_h_register_vpa() 584 vpap = &tvcpu->arch.vpa; in do_h_register_vpa() [all …]
|
H A 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()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_hcall.c | 319 static target_ulong register_vpa(PowerPCCPU *cpu, target_ulong vpa) in register_vpa() argument 327 if (vpa == 0) { in register_vpa() 328 hcall_dprintf("Can't cope with registering a VPA at logical 0\n"); in register_vpa() 332 if (vpa % env->dcache_line_size) { in register_vpa() 337 size = lduw_be_phys(cs->as, vpa + 0x4); in register_vpa() 343 /* VPA is not allowed to cross a page boundary */ in register_vpa() 344 if ((vpa / 4096) != ((vpa + size - 1) / 4096)) { in register_vpa() 348 spapr_cpu->vpa_addr = vpa; in register_vpa() 357 static target_ulong deregister_vpa(PowerPCCPU *cpu, target_ulong vpa) in deregister_vpa() argument 452 target_ulong vpa = args[2]; in h_register_vpa() local [all …]
|
H A D | spapr_cpu_core.c | 130 .name = "spapr_cpu/vpa/slb_shadow", 149 .name = "spapr_cpu/vpa/dtl", 168 .name = "spapr_cpu/vpa",
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | mediatek,mt6332-regulator.yaml | 61 mt6332_vpa_reg: buck-vpa { 62 regulator-name = "vpa";
|
H A D | mediatek,mt6357-regulator.yaml | 107 mt6357_vpa_reg: buck-vpa { 108 regulator-name = "vpa";
|
H A D | mt6323-regulator.txt | 42 regulator-name = "vpa";
|
H A D | mt6358-regulator.txt | 48 regulator-name = "vpa";
|
H A D | mt6359-regulator.yaml | 153 regulator-name = "vpa";
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt6357.dtsi | 54 mt6357_vpa_reg: buck-vpa { 55 regulator-name = "vpa";
|
H A D | mt6359.dtsi | 67 regulator-name = "vpa";
|
/openbmc/linux/drivers/regulator/ |
H A D | mt6357-regulator.c | 350 MT6357_BUCK("buck-vpa", VPA, 500000, 3650000, 50000,
|
H A D | mt6332-regulator.c | 307 MT6332_BUCK("buck-vpa", VPA, 500000, 3400000, 50000, buck_pa_volt_range,
|
H A D | mt6358-regulator.c | 505 MT6358_BUCK("buck_vpa", VPA, 500000, 3650000, 50000, 583 MT6366_BUCK("buck_vpa", VPA, 500000, 3650000, 50000,
|
H A D | mt6359-regulator.c | 517 MT6359_BUCK("buck_vpa", VPA, 500000, 3650000, 50000, 753 MT6359_BUCK("buck_vpa", VPA, 500000, 3650000, 50000,
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt6323.dtsi | 46 regulator-name = "vpa";
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 433 OFFSET(VCPU_VPA, kvm_vcpu, arch.vpa.pinned_addr); in main() 434 OFFSET(VCPU_VPA_DIRTY, kvm_vcpu, arch.vpa.dirty); in main()
|