vpa 260 arch/powerpc/include/asm/kvm_book3s.h extern void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa, vpa 796 arch/powerpc/include/asm/kvm_host.h struct kvmppc_vpa vpa; vpa 54 arch/powerpc/include/asm/plpar_wrappers.h unsigned long vpa) vpa 58 arch/powerpc/include/asm/plpar_wrappers.h return plpar_hcall_norets(H_REGISTER_VPA, flags, cpu, vpa); vpa 66 arch/powerpc/include/asm/plpar_wrappers.h static inline long register_vpa(unsigned long cpu, unsigned long vpa) vpa 68 arch/powerpc/include/asm/plpar_wrappers.h return vpa_call(H_VPA_REG_VPA, cpu, vpa); vpa 76 arch/powerpc/include/asm/plpar_wrappers.h static inline long register_slb_shadow(unsigned long cpu, unsigned long vpa) vpa 78 arch/powerpc/include/asm/plpar_wrappers.h return vpa_call(H_VPA_REG_SLB, cpu, vpa); vpa 86 arch/powerpc/include/asm/plpar_wrappers.h static inline long register_dtl(unsigned long cpu, unsigned long vpa) vpa 88 arch/powerpc/include/asm/plpar_wrappers.h return vpa_call(H_VPA_REG_DTL, cpu, vpa); vpa 512 arch/powerpc/kernel/asm-offsets.c OFFSET(VCPU_VPA, kvm_vcpu, arch.vpa.pinned_addr); vpa 513 arch/powerpc/kernel/asm-offsets.c OFFSET(VCPU_VPA_DIRTY, kvm_vcpu, arch.vpa.dirty); vpa 195 arch/powerpc/kernel/time.c struct lppaca *vpa = local_paca->lppaca_ptr; vpa 203 arch/powerpc/kernel/time.c if (i == be64_to_cpu(vpa->dtl_idx)) vpa 205 arch/powerpc/kernel/time.c while (i < be64_to_cpu(vpa->dtl_idx)) { vpa 210 arch/powerpc/kernel/time.c if (i + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) { vpa 212 arch/powerpc/kernel/time.c i = be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG; vpa 1129 arch/powerpc/kvm/book3s_64_mmu_hv.c void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa, vpa 1135 arch/powerpc/kvm/book3s_64_mmu_hv.c if (!vpa->dirty || !vpa->pinned_addr) vpa 1137 arch/powerpc/kvm/book3s_64_mmu_hv.c gfn = vpa->gpa >> PAGE_SHIFT; vpa 1142 arch/powerpc/kvm/book3s_64_mmu_hv.c vpa->dirty = false; vpa 452 arch/powerpc/kvm/book3s_hv.c static void init_vpa(struct kvm_vcpu *vcpu, struct lppaca *vpa) vpa 454 arch/powerpc/kvm/book3s_hv.c vpa->__old_status |= LPPACA_OLD_SHARED_PROC; vpa 455 arch/powerpc/kvm/book3s_hv.c vpa->yield_count = cpu_to_be32(1); vpa 492 arch/powerpc/kvm/book3s_hv.c unsigned long vcpuid, unsigned long vpa) vpa 510 arch/powerpc/kvm/book3s_hv.c if ((vpa & (L1_CACHE_BYTES - 1)) || !vpa) vpa 514 arch/powerpc/kvm/book3s_hv.c va = kvmppc_pin_guest_page(kvm, vpa, &nb); vpa 521 arch/powerpc/kvm/book3s_hv.c kvmppc_unpin_guest_page(kvm, va, vpa, false); vpa 527 arch/powerpc/kvm/book3s_hv.c vpa = 0; vpa 546 arch/powerpc/kvm/book3s_hv.c vpap = &tvcpu->arch.vpa; vpa 557 arch/powerpc/kvm/book3s_hv.c if (!vpa_is_registered(&tvcpu->arch.vpa)) vpa 567 arch/powerpc/kvm/book3s_hv.c if (!vpa_is_registered(&tvcpu->arch.vpa)) vpa 581 arch/powerpc/kvm/book3s_hv.c vpap = &tvcpu->arch.vpa; vpa 597 arch/powerpc/kvm/book3s_hv.c vpap->next_gpa = vpa; vpa 659 arch/powerpc/kvm/book3s_hv.c if (!(vcpu->arch.vpa.update_pending || vpa 665 arch/powerpc/kvm/book3s_hv.c if (vcpu->arch.vpa.update_pending) { vpa 666 arch/powerpc/kvm/book3s_hv.c kvmppc_update_vpa(vcpu, &vcpu->arch.vpa); vpa 667 arch/powerpc/kvm/book3s_hv.c if (vcpu->arch.vpa.pinned_addr) vpa 668 arch/powerpc/kvm/book3s_hv.c init_vpa(vcpu, vcpu->arch.vpa.pinned_addr); vpa 702 arch/powerpc/kvm/book3s_hv.c struct lppaca *vpa; vpa 709 arch/powerpc/kvm/book3s_hv.c vpa = vcpu->arch.vpa.pinned_addr; vpa 718 arch/powerpc/kvm/book3s_hv.c if (!dt || !vpa) vpa 733 arch/powerpc/kvm/book3s_hv.c vpa->dtl_idx = cpu_to_be64(++vcpu->arch.dtl_index); vpa 902 arch/powerpc/kvm/book3s_hv.c lppaca = (struct lppaca *)vcpu->arch.vpa.pinned_addr; vpa 1731 arch/powerpc/kvm/book3s_hv.c *val = get_reg_val(id, vcpu->arch.vpa.next_gpa); vpa 1952 arch/powerpc/kvm/book3s_hv.c r = set_vpa(vcpu, &vcpu->arch.vpa, addr, sizeof(struct lppaca)); vpa 1958 arch/powerpc/kvm/book3s_hv.c if (addr && !vcpu->arch.vpa.next_gpa) vpa 1967 arch/powerpc/kvm/book3s_hv.c !vcpu->arch.vpa.next_gpa)) vpa 2419 arch/powerpc/kvm/book3s_hv.c static void unpin_vpa(struct kvm *kvm, struct kvmppc_vpa *vpa) vpa 2421 arch/powerpc/kvm/book3s_hv.c if (vpa->pinned_addr) vpa 2422 arch/powerpc/kvm/book3s_hv.c kvmppc_unpin_guest_page(kvm, vpa->pinned_addr, vpa->gpa, vpa 2423 arch/powerpc/kvm/book3s_hv.c vpa->dirty); vpa 2431 arch/powerpc/kvm/book3s_hv.c unpin_vpa(vcpu->kvm, &vcpu->arch.vpa); vpa 2854 arch/powerpc/kvm/book3s_hv.c else if (vcpu->arch.vpa.update_pending || vpa 3548 arch/powerpc/kvm/book3s_hv.c if (vcpu->arch.vpa.pinned_addr) { vpa 3549 arch/powerpc/kvm/book3s_hv.c struct lppaca *lp = vcpu->arch.vpa.pinned_addr; vpa 3552 arch/powerpc/kvm/book3s_hv.c vcpu->arch.vpa.dirty = 1; vpa 3679 arch/powerpc/kvm/book3s_hv.c if (vcpu->arch.vpa.pinned_addr) { vpa 3680 arch/powerpc/kvm/book3s_hv.c struct lppaca *lp = vcpu->arch.vpa.pinned_addr; vpa 3683 arch/powerpc/kvm/book3s_hv.c vcpu->arch.vpa.dirty = 1; vpa 4443 arch/powerpc/kvm/book3s_hv.c kvmppc_harvest_vpa_dirty(&vcpu->arch.vpa, memslot, buf); vpa 100 arch/powerpc/platforms/pseries/cmm.c static long plpar_page_set_loaned(unsigned long vpa) vpa 107 arch/powerpc/platforms/pseries/cmm.c rc = plpar_hcall_norets(H_PAGE_INIT, H_PAGE_SET_LOANED, vpa + i, 0); vpa 111 arch/powerpc/platforms/pseries/cmm.c vpa + i - cmo_page_sz, 0); vpa 116 arch/powerpc/platforms/pseries/cmm.c static long plpar_page_set_active(unsigned long vpa) vpa 123 arch/powerpc/platforms/pseries/cmm.c rc = plpar_hcall_norets(H_PAGE_INIT, H_PAGE_SET_ACTIVE, vpa + i, 0); vpa 127 arch/powerpc/platforms/pseries/cmm.c vpa + i - cmo_page_sz, 0); vpa 59 arch/powerpc/platforms/pseries/dtl.c struct lppaca *vpa = local_paca->lppaca_ptr; vpa 68 arch/powerpc/platforms/pseries/dtl.c if (index + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) vpa 362 arch/powerpc/platforms/pseries/lpar.c struct lppaca *vpa = local_paca->lppaca_ptr; vpa 375 arch/powerpc/platforms/pseries/lpar.c if (i == be64_to_cpu(vpa->dtl_idx)) vpa 378 arch/powerpc/platforms/pseries/lpar.c while (i < be64_to_cpu(vpa->dtl_idx)) { vpa 381 arch/powerpc/platforms/pseries/lpar.c if (i + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) { vpa 385 arch/powerpc/platforms/pseries/lpar.c be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG - i); vpa 386 arch/powerpc/platforms/pseries/lpar.c i = be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG;