Searched refs:hypercall (Results 1 – 17 of 17) sorted by relevance
| /arch/arm/xen/ |
| A D | hypercall.S | 57 #define HYPERCALL_SIMPLE(hypercall) \ argument 58 ENTRY(HYPERVISOR_##hypercall) \ 59 mov r12, #__HYPERVISOR_##hypercall; \ 62 ENDPROC(HYPERVISOR_##hypercall) 70 #define HYPERCALL5(hypercall) \ argument 71 ENTRY(HYPERVISOR_##hypercall) \ 74 mov r12, #__HYPERVISOR_##hypercall; \ 78 ENDPROC(HYPERVISOR_##hypercall)
|
| A D | Makefile | 2 obj-y := enlighten.o hypercall.o grant-table.o p2m.o mm.o
|
| /arch/arm64/xen/ |
| A D | hypercall.S | 58 #define HYPERCALL_SIMPLE(hypercall) \ argument 59 SYM_FUNC_START(HYPERVISOR_##hypercall) \ 60 mov x16, #__HYPERVISOR_##hypercall; \ 63 SYM_FUNC_END(HYPERVISOR_##hypercall)
|
| A D | Makefile | 3 obj-y := xen-arm.o hypercall.o
|
| /arch/loongarch/kvm/ |
| A D | exit.c | 723 kvm_write_reg(vcpu, LOONGARCH_GPR_A0, run->hypercall.ret); in kvm_complete_user_service() 896 vcpu->run->hypercall.nr = KVM_HCALL_USER_SERVICE; in kvm_handle_hypercall() 897 vcpu->run->hypercall.args[0] = kvm_read_reg(vcpu, LOONGARCH_GPR_A0); in kvm_handle_hypercall() 898 vcpu->run->hypercall.args[1] = kvm_read_reg(vcpu, LOONGARCH_GPR_A1); in kvm_handle_hypercall() 899 vcpu->run->hypercall.args[2] = kvm_read_reg(vcpu, LOONGARCH_GPR_A2); in kvm_handle_hypercall() 900 vcpu->run->hypercall.args[3] = kvm_read_reg(vcpu, LOONGARCH_GPR_A3); in kvm_handle_hypercall() 901 vcpu->run->hypercall.args[4] = kvm_read_reg(vcpu, LOONGARCH_GPR_A4); in kvm_handle_hypercall() 902 vcpu->run->hypercall.args[5] = kvm_read_reg(vcpu, LOONGARCH_GPR_A5); in kvm_handle_hypercall() 903 vcpu->run->hypercall.flags = 0; in kvm_handle_hypercall() 907 vcpu->run->hypercall.ret = KVM_HCALL_INVALID_CODE; in kvm_handle_hypercall()
|
| /arch/x86/hyperv/ |
| A D | ivm.c | 64 } hypercall; member 94 hv_ghcb->hypercall.outputgpa = (u64)output; in hv_ghcb_hypercall() 95 hv_ghcb->hypercall.hypercallinput.asuint64 = 0; in hv_ghcb_hypercall() 96 hv_ghcb->hypercall.hypercallinput.callcode = control; in hv_ghcb_hypercall() 99 memcpy(hv_ghcb->hypercall.hypercalldata, input, input_size); in hv_ghcb_hypercall() 107 status = hv_ghcb->hypercall.hypercalloutput.callstatus; in hv_ghcb_hypercall()
|
| /arch/powerpc/platforms/ps3/ |
| A D | Kconfig | 91 bool "PS3 Verbose LV1 hypercall results" if PS3_ADVANCED 94 Enables more verbose log messages for LV1 hypercall results.
|
| /arch/arm64/kvm/ |
| A D | hypercalls.c | 259 run->hypercall = (typeof(run->hypercall)) { in kvm_prepare_hypercall_exit()
|
| /arch/x86/kvm/svm/ |
| A D | sev.c | 3648 if (vcpu->run->hypercall.ret) in snp_complete_psc_msr() 3673 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in snp_begin_psc_msr() 3680 vcpu->run->hypercall.ret = 0; in snp_begin_psc_msr() 3681 vcpu->run->hypercall.args[0] = gpa; in snp_begin_psc_msr() 3682 vcpu->run->hypercall.args[1] = 1; in snp_begin_psc_msr() 3742 if (vcpu->run->hypercall.ret) { in snp_complete_one_psc() 3850 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in snp_begin_psc() 3857 vcpu->run->hypercall.ret = 0; in snp_begin_psc() 3858 vcpu->run->hypercall.args[0] = gfn_to_gpa(gfn); in snp_begin_psc() 3859 vcpu->run->hypercall.args[1] = npages; in snp_begin_psc() [all …]
|
| A D | svm.c | 4409 svm_patch_hypercall(struct kvm_vcpu *vcpu, unsigned char *hypercall) in svm_patch_hypercall() argument 4414 hypercall[0] = 0x0f; in svm_patch_hypercall() 4415 hypercall[1] = 0x01; in svm_patch_hypercall() 4416 hypercall[2] = 0xd9; in svm_patch_hypercall()
|
| /arch/x86/kvm/vmx/ |
| A D | x86_ops.h | 89 void vmx_patch_hypercall(struct kvm_vcpu *vcpu, unsigned char *hypercall);
|
| A D | tdx.c | 1129 tdvmcall_set_return_code(vcpu, vcpu->run->hypercall.ret); in complete_hypercall_exit() 1156 if (vcpu->run->hypercall.ret) { in tdx_complete_vmcall_map_gpa() 1190 tdx->vcpu.run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in __tdx_map_gpa() 1197 tdx->vcpu.run->hypercall.ret = 0; in __tdx_map_gpa() 1198 tdx->vcpu.run->hypercall.args[0] = gpa & ~gfn_to_gpa(kvm_gfn_direct_bits(tdx->vcpu.kvm)); in __tdx_map_gpa() 1199 tdx->vcpu.run->hypercall.args[1] = size / PAGE_SIZE; in __tdx_map_gpa() 1200 tdx->vcpu.run->hypercall.args[2] = vt_is_tdx_private_gpa(tdx->vcpu.kvm, gpa) ? in __tdx_map_gpa() 1203 tdx->vcpu.run->hypercall.flags = KVM_EXIT_HYPERCALL_LONG_MODE; in __tdx_map_gpa()
|
| A D | main.c | 628 unsigned char *hypercall) in vt_patch_hypercall() argument 637 vmx_patch_hypercall(vcpu, hypercall); in vt_patch_hypercall()
|
| A D | vmx.c | 5314 void vmx_patch_hypercall(struct kvm_vcpu *vcpu, unsigned char *hypercall) in vmx_patch_hypercall() argument 5319 hypercall[0] = 0x0f; in vmx_patch_hypercall() 5320 hypercall[1] = 0x01; in vmx_patch_hypercall() 5321 hypercall[2] = 0xc1; in vmx_patch_hypercall()
|
| /arch/x86/kvm/ |
| A D | Kconfig | 205 bool "Support for Xen hypercall interface"
|
| A D | x86.c | 9934 u64 ret = vcpu->run->hypercall.ret; in complete_hypercall_exit() 10016 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in ____kvm_emulate_hypercall() 10023 vcpu->run->hypercall.ret = 0; in ____kvm_emulate_hypercall() 10024 vcpu->run->hypercall.args[0] = gpa; in ____kvm_emulate_hypercall() 10025 vcpu->run->hypercall.args[1] = npages; in ____kvm_emulate_hypercall() 10026 vcpu->run->hypercall.args[2] = attrs; in ____kvm_emulate_hypercall() 10027 vcpu->run->hypercall.flags = 0; in ____kvm_emulate_hypercall() 10029 vcpu->run->hypercall.flags |= KVM_EXIT_HYPERCALL_LONG_MODE; in ____kvm_emulate_hypercall() 10031 WARN_ON_ONCE(vcpu->run->hypercall.flags & KVM_EXIT_HYPERCALL_MBZ); in ____kvm_emulate_hypercall() 10041 vcpu->run->hypercall.ret = ret; in ____kvm_emulate_hypercall()
|
| /arch/powerpc/kernel/ |
| A D | exceptions-64e.S | 497 EXCEPTION_STUB(0x300, hypercall) 869 START_EXCEPTION(hypercall);
|
Completed in 837 milliseconds