Searched refs:hypercall (Results 1 - 25 of 65) sorted by last modified time

123

/linux-master/arch/x86/kvm/
H A Dx86.c10045 u64 ret = vcpu->run->hypercall.ret;
10133 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE;
10134 vcpu->run->hypercall.args[0] = gpa;
10135 vcpu->run->hypercall.args[1] = npages;
10136 vcpu->run->hypercall.args[2] = attrs;
10137 vcpu->run->hypercall.flags = 0;
10139 vcpu->run->hypercall.flags |= KVM_EXIT_HYPERCALL_LONG_MODE;
10141 WARN_ON_ONCE(vcpu->run->hypercall.flags & KVM_EXIT_HYPERCALL_MBZ);
/linux-master/arch/x86/kvm/vmx/
H A Dvmx.c5375 vmx_patch_hypercall(struct kvm_vcpu *vcpu, unsigned char *hypercall) argument
5380 hypercall[0] = 0x0f;
5381 hypercall[1] = 0x01;
5382 hypercall[2] = 0xc1;
/linux-master/arch/x86/kvm/svm/
H A Dsvm.c3915 * flush the NPT mappings via hypercall as flushing the ASID only
4276 svm_patch_hypercall(struct kvm_vcpu *vcpu, unsigned char *hypercall) argument
4281 hypercall[0] = 0x0f;
4282 hypercall[1] = 0x01;
4283 hypercall[2] = 0xd9;
/linux-master/tools/include/uapi/linux/
H A Dkvm.h272 } hypercall; member in union:kvm_run::__anon162
/linux-master/arch/x86/kernel/
H A Dcallthunks.c23 #include <asm/xen/hypercall.h>
/linux-master/drivers/xen/events/
H A Devents_base.c53 #include <asm/xen/hypercall.h>
/linux-master/drivers/xen/
H A Dballoon.c68 #include <asm/xen/hypercall.h>
H A Dprivcmd.c35 #include <asm/xen/hypercall.h>
58 "Maximum number of buffers per dm_op hypercall");
64 "Maximum size of a dm_op hypercall buffer");
78 struct privcmd_hypercall hypercall; local
85 if (copy_from_user(&hypercall, udata, sizeof(hypercall)))
89 ret = privcmd_call(hypercall.op,
90 hypercall.arg[0], hypercall.arg[1],
91 hypercall
[all...]
H A Dpcpu.c48 #include <asm/xen/hypercall.h>
/linux-master/arch/x86/xen/
H A Dsetup.c27 #include <asm/xen/hypercall.h>
H A Denlighten_pvh.c15 #include <asm/xen/hypercall.h>
H A Denlighten.c19 #include <asm/xen/hypercall.h>
174 * However, the hypercall can only be done once (see below) so if a VCPU
175 * is offlined and comes back online then let's not redo the hypercall.
191 * N.B. This hypercall can _only_ be called once per CPU.
194 * hypercall does not allow to over-write info.mfn and
H A Dmmu_pv.c73 #include <asm/xen/hypercall.h>
126 * hypercall to set the vcpu cr3 is complete (so it may be a little
292 * emulate the PTE write, but a hypercall is much cheaper.
488 * Raw hypercall-based set_p4d, intended for in early boot before
1445 * and doing a hypercall for these is unnecessary and expensive. At
2277 * Perform the hypercall to exchange a region of our pfns to point to
H A Dsmp_pv.c41 #include <asm/xen/hypercall.h>
313 * Why is this a BUG? If the hypercall fails then everything can be
H A Denlighten_pv.c56 #include <asm/xen/hypercall.h>
119 * passed in the update_descriptor hypercall we keep shadow copies to
271 * from the hardware and hypercall.
295 * ecx and edx. The hypercall provides only partial information.
437 * we probe the target and when we issue the hypercall. We'll
524 * hypercall. The page can also be in the kernel's
H A Dapic.c8 #include <asm/xen/hypercall.h>
H A Dirq.c12 #include <asm/xen/hypercall.h>
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dprivate_mem_conversions_test.c54 * Execute KVM hypercall to map/unmap gpa range which will cause userspace exit
293 uint64_t gpa = run->hypercall.args[0];
294 uint64_t size = run->hypercall.args[1] * PAGE_SIZE;
295 bool set_attributes = run->hypercall.args[2] & MAP_GPA_SET_ATTRIBUTES;
296 bool map_shared = run->hypercall.args[2] & MAP_GPA_SHARED;
297 bool do_fallocate = run->hypercall.args[2] & MAP_GPA_DO_FALLOCATE;
300 TEST_ASSERT(run->hypercall.nr == KVM_HC_MAP_GPA_RANGE,
302 KVM_HC_MAP_GPA_RANGE, run->hypercall.nr);
310 run->hypercall.ret = 0;
/linux-master/include/uapi/linux/
H A Dkvm.h272 } hypercall; member in union:kvm_run::__anon894
/linux-master/drivers/block/xen-blkback/
H A Dblkback.c50 #include <asm/xen/hypercall.h>
1415 * the hypercall to unmap the grants - that is all done in
/linux-master/arch/x86/hyperv/
H A Divm.c62 } hypercall; member in union:hv_ghcb
92 hv_ghcb->hypercall.outputgpa = (u64)output;
93 hv_ghcb->hypercall.hypercallinput.asuint64 = 0;
94 hv_ghcb->hypercall.hypercallinput.callcode = control;
97 memcpy(hv_ghcb->hypercall.hypercalldata, input, input_size);
105 status = hv_ghcb->hypercall.hypercalloutput.callstatus;
/linux-master/tools/testing/selftests/kvm/aarch64/
H A Dsmccc_filter.c214 TEST_ASSERT(run->hypercall.nr == func_id,
215 "Unexpected SMCCC function: %llu", run->hypercall.nr);
218 TEST_ASSERT(run->hypercall.flags & KVM_HYPERCALL_EXIT_SMC,
221 TEST_ASSERT(!(run->hypercall.flags & KVM_HYPERCALL_EXIT_SMC),
/linux-master/drivers/net/xen-netback/
H A Dnetback.c49 #include <asm/xen/hypercall.h>
/linux-master/arch/powerpc/kernel/
H A Dexceptions-64e.S497 EXCEPTION_STUB(0x300, hypercall)
869 START_EXCEPTION(hypercall);
/linux-master/arch/arm/xen/
H A Denlighten.c17 #include <asm/xen/hypercall.h>
239 * they call special hypercall which executes relevant EFI functions)
572 /* In the hypercall.S file. */

Completed in 611 milliseconds

123