Searched refs:hcall (Results 1 - 18 of 18) sorted by relevance

/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_features.c85 static void guest_hcall(vm_vaddr_t pgs_gpa, struct hcall_data *hcall) argument
90 GUEST_ASSERT_NE(hcall->control, 0);
95 if (!(hcall->control & HV_HYPERCALL_FAST_BIT)) {
102 vector = __hyperv_hypercall(hcall->control, input, output, &res);
103 if (hcall->ud_expected) {
106 hcall->control, vector);
110 hcall->control, vector);
111 GUEST_ASSERT_EQ(res, hcall->expect);
527 struct hcall_data *hcall; local
538 hcall
[all...]
H A Dxen_vmcall_test.c112 TEST_ASSERT_EQ(run->xen.u.hcall.cpl, 0);
113 TEST_ASSERT_EQ(run->xen.u.hcall.longmode, 1);
114 TEST_ASSERT_EQ(run->xen.u.hcall.input, INPUTVALUE);
115 TEST_ASSERT_EQ(run->xen.u.hcall.params[0], ARGVALUE(1));
116 TEST_ASSERT_EQ(run->xen.u.hcall.params[1], ARGVALUE(2));
117 TEST_ASSERT_EQ(run->xen.u.hcall.params[2], ARGVALUE(3));
118 TEST_ASSERT_EQ(run->xen.u.hcall.params[3], ARGVALUE(4));
119 TEST_ASSERT_EQ(run->xen.u.hcall.params[4], ARGVALUE(5));
120 TEST_ASSERT_EQ(run->xen.u.hcall.params[5], ARGVALUE(6));
121 run->xen.u.hcall
[all...]
H A Dhyperv_extended_hypercalls.c76 outval = addr_gpa2hva(vm, run->hyperv.u.hcall.params[1]);
78 run->hyperv.u.hcall.result = HV_STATUS_SUCCESS;
/linux-master/arch/powerpc/kvm/
H A Dbook3s_pr_papr.c459 * List of hcall numbers to enable by default.
461 * all hcalls that were implemented before the hcall-enabling
489 unsigned int hcall; local
492 hcall = default_hcall_list[i];
493 WARN_ON(!kvmppc_hcall_impl_pr(hcall));
494 __set_bit(hcall / 4, kvm->arch.enabled_hcalls);
H A Dpowerpc.c2124 pvinfo->hcall[0] = cpu_to_be32(inst_sc1);
2125 pvinfo->hcall[1] = cpu_to_be32(inst_nop);
2126 pvinfo->hcall[2] = cpu_to_be32(inst_nop);
2127 pvinfo->hcall[3] = cpu_to_be32(inst_nop);
2143 pvinfo->hcall[0] = cpu_to_be32(inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask));
2144 pvinfo->hcall[1] = cpu_to_be32(inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask));
2145 pvinfo->hcall[2] = cpu_to_be32(inst_sc);
2146 pvinfo->hcall[3] = cpu_to_be32(inst_nop);
2193 unsigned long hcall = cap->args[0]; local
2196 if (hcall > MAX_HCALL_OPCOD
[all...]
H A Dbook3s.c1015 int kvmppc_book3s_hcall_implemented(struct kvm *kvm, unsigned long hcall) argument
1017 return kvm->arch.kvm_ops->hcall_implemented(hcall);
H A Dbook3s_xics.c848 int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) argument
854 hcall, icp->rm_action, icp->rm_dbgstate.raw, icp->rm_dbgtgt);
H A Dbook3s_hv.c1081 * H_RPT_INVALIDATE hcall handler for nested guests.
1420 * Handle H_CEDE in the P9 path where we don't call the real-mode hcall
1738 * handles this case in realmode hcall handlers.
1743 * may be a PR KVM hcall. It must be reflected
1761 * hcall - gather args and set exit_reason. This will next be
2819 {"hypercall", offsetof(struct kvm_vcpu, arch.hcall)},
4137 pr_err("KVM Guest Run VCPU hcall failed\n");
4217 * nested hv case which needs to abort the hcall or zero the
5001 accumulate_time(vcpu, &vcpu->arch.hcall);
5560 pr_err("KVM: Create Guest hcall faile
6082 unsigned int hcall; local
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dvas.h271 int h_query_vas_capabilities(const u64 hcall, u8 query_type, u64 result);
H A Dkvm_ppc.h301 int (*hcall_implemented)(unsigned long hcall);
672 extern int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall);
701 static inline int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) argument
H A Dkvm_host.h859 struct kvmhv_tb_accumulator hcall; member in struct:kvmppc_slb::kvm_vcpu_arch
/linux-master/arch/powerpc/platforms/pseries/
H A Dvas.c51 * Allocate VAS window hcall
86 * Deallocate VAS window hcall.
108 * After the window is opened with allocate window hcall, configure it
136 * This hcall is used to determine the capabilities from the hypervisor.
137 * @hcall: H_QUERY_VAS_CAPABILITIES or H_QUERY_NX_CAPABILITIES
148 int h_query_vas_capabilities(const u64 hcall, u8 query_type, u64 result) argument
152 rc = plpar_hcall_norets(hcall, query_type, result);
160 (hcall == H_QUERY_VAS_CAPABILITIES) ?
171 * hcall to get fault CRB from the hypervisor.
195 * So one fault CRB to process for each H_GET_NX_FAULT hcall
[all...]
/linux-master/arch/x86/kvm/
H A Dxen.c1368 return kvm_xen_hypercall_set_result(vcpu, run->xen.u.hcall.result);
1701 vcpu->run->xen.u.hcall.longmode = longmode;
1702 vcpu->run->xen.u.hcall.cpl = cpl;
1703 vcpu->run->xen.u.hcall.input = input;
1704 vcpu->run->xen.u.hcall.params[0] = params[0];
1705 vcpu->run->xen.u.hcall.params[1] = params[1];
1706 vcpu->run->xen.u.hcall.params[2] = params[2];
1707 vcpu->run->xen.u.hcall.params[3] = params[3];
1708 vcpu->run->xen.u.hcall.params[4] = params[4];
1709 vcpu->run->xen.u.hcall
[all...]
H A Dhyperv.c2401 return kvm_hv_hypercall_complete(vcpu, vcpu->run->hyperv.u.hcall.result);
2682 vcpu->run->hyperv.u.hcall.input = hc.param;
2683 vcpu->run->hyperv.u.hcall.params[0] = hc.ingpa;
2684 vcpu->run->hyperv.u.hcall.params[1] = hc.outgpa;
/linux-master/include/uapi/linux/
H A Dkvm.h111 } hcall; member in union:kvm_hyperv_exit::__anon1228
134 } hcall; member in union:kvm_xen_exit::__anon1232
/linux-master/tools/include/uapi/linux/
H A Dkvm.h111 } hcall; member in union:kvm_hyperv_exit::__anon1607
134 } hcall; member in union:kvm_xen_exit::__anon1611
/linux-master/arch/powerpc/include/uapi/asm/
H A Dkvm.h742 __u32 hcall[4]; member in struct:kvm_ppc_pvinfo
/linux-master/tools/arch/powerpc/include/uapi/asm/
H A Dkvm.h742 __u32 hcall[4]; member in struct:kvm_ppc_pvinfo

Completed in 199 milliseconds