Home
last modified time | relevance | path

Searched full:vpa (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.12.1/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()
379 struct lppaca *vpa = local_paca->lppaca_ptr; in scan_dispatch_log() local
387 if (i == be64_to_cpu(vpa->dtl_idx)) in scan_dispatch_log()
389 while (i < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
394 if (i + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
396 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()
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 …]
Dkexec.c51 pr_err("WARNING: VPA deregistration for cpu %d " in pseries_kexec_cpu_down()
/linux-6.12.1/arch/powerpc/include/asm/
Dplpar_wrappers.h31 unsigned long vpa) in vpa_call() argument
35 return plpar_hcall_norets(H_REGISTER_VPA, flags, cpu, vpa); in vpa_call()
43 static inline long register_vpa(unsigned long cpu, unsigned long vpa) in register_vpa() argument
45 return vpa_call(H_VPA_REG_VPA, cpu, vpa); in register_vpa()
53 static inline long register_slb_shadow(unsigned long cpu, unsigned long vpa) in register_slb_shadow() argument
55 return vpa_call(H_VPA_REG_SLB, cpu, vpa); in register_slb_shadow()
63 static inline long register_dtl(unsigned long cpu, unsigned long vpa) in register_dtl() argument
65 return vpa_call(H_VPA_REG_DTL, cpu, vpa); in register_dtl()
Dlppaca.h36 * Pre-v4.14 KVM hypervisors reject the VPA if its size field is smaller than
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_p9_perf.c41 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()
Dbook3s_hv.c521 static void init_vpa(struct kvm_vcpu *vcpu, struct lppaca *vpa) in init_vpa() argument
523 vpa->__old_status |= LPPACA_OLD_SHARED_PROC; in init_vpa()
524 vpa->yield_count = cpu_to_be32(1); in init_vpa()
561 unsigned long vcpuid, unsigned long vpa) in do_h_register_vpa() argument
579 if ((vpa & (L1_CACHE_BYTES - 1)) || !vpa) in do_h_register_vpa()
583 va = kvmppc_pin_guest_page(kvm, vpa, &nb); in do_h_register_vpa()
590 kvmppc_unpin_guest_page(kvm, va, vpa, false); in do_h_register_vpa()
596 vpa = 0; in do_h_register_vpa()
605 case H_VPA_REG_VPA: /* register VPA */ in do_h_register_vpa()
615 vpap = &tvcpu->arch.vpa; in do_h_register_vpa()
[all …]
Dbook3s_hv_nestedv2.c900 * kvmhv_nestedv2_set_vpa() - register L2 VPA with L0
902 * @vpa: L1 logical real address
904 int kvmhv_nestedv2_set_vpa(struct kvm_vcpu *vcpu, unsigned long vpa) in kvmhv_nestedv2_set_vpa() argument
914 rc = kvmppc_gse_put_u64(gsb, KVMPPC_GSID_VPA, vpa); in kvmhv_nestedv2_set_vpa()
920 pr_err("KVM-NESTEDv2: couldn't register the L2 VPA (rc=%d)\n", rc); in kvmhv_nestedv2_set_vpa()
Dbook3s_64_mmu_hv.c1103 void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa, in kvmppc_harvest_vpa_dirty() argument
1109 if (!vpa->dirty || !vpa->pinned_addr) in kvmppc_harvest_vpa_dirty()
1111 gfn = vpa->gpa >> PAGE_SHIFT; in kvmppc_harvest_vpa_dirty()
1116 vpa->dirty = false; in kvmppc_harvest_vpa_dirty()
/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Dmediatek,mt6332-regulator.yaml61 mt6332_vpa_reg: buck-vpa {
62 regulator-name = "vpa";
Dmediatek,mt6358-regulator.yaml39 vsys-vpa-supply:
40 description: Supply for buck regulator vpa
Dmediatek,mt6357-regulator.yaml107 mt6357_vpa_reg: buck-vpa {
108 regulator-name = "vpa";
Dmt6323-regulator.txt42 regulator-name = "vpa";
Dmt6359-regulator.yaml153 regulator-name = "vpa";
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt6357.dtsi54 mt6357_vpa_reg: buck-vpa {
55 regulator-name = "vpa";
Dmt6359.dtsi67 regulator-name = "vpa";
Dmt6358.dtsi47 regulator-name = "vpa";
/linux-6.12.1/drivers/regulator/
Dmt6357-regulator.c350 MT6357_BUCK("buck-vpa", VPA, 500000, 3650000, 50000,
Dmt6358-regulator.c509 MT6358_BUCK("buck_vpa", VPA, "vsys-vpa", 500000, 3650000, 50000,
581 MT6366_BUCK("vpa", VPA, 500000, 3650000, 50000,
Dmt6332-regulator.c307 MT6332_BUCK("buck-vpa", VPA, 500000, 3400000, 50000, buck_pa_volt_range,
Dmt6359-regulator.c517 MT6359_BUCK("buck_vpa", VPA, 500000, 3650000, 50000,
753 MT6359_BUCK("buck_vpa", VPA, 500000, 3650000, 50000,
Dmt6323-regulator.c274 MT6323_BUCK("buck_vpa", VPA, 500000, 3650000, 50000,
/linux-6.12.1/arch/arm/boot/dts/mediatek/
Dmt6323.dtsi46 regulator-name = "vpa";
/linux-6.12.1/arch/powerpc/kernel/
Dasm-offsets.c432 OFFSET(VCPU_VPA, kvm_vcpu, arch.vpa.pinned_addr); in main()
433 OFFSET(VCPU_VPA_DIRTY, kvm_vcpu, arch.vpa.dirty); in main()

12