Searched refs:hcall (Results 1 – 12 of 12) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_pr_papr.c | 489 unsigned int hcall; in kvmppc_pr_init_default_hcalls() local 492 hcall = default_hcall_list[i]; in kvmppc_pr_init_default_hcalls() 493 WARN_ON(!kvmppc_hcall_impl_pr(hcall)); in kvmppc_pr_init_default_hcalls() 494 __set_bit(hcall / 4, kvm->arch.enabled_hcalls); in kvmppc_pr_init_default_hcalls()
|
D | powerpc.c | 2132 pvinfo->hcall[0] = cpu_to_be32(inst_sc1); in kvm_vm_ioctl_get_pvinfo() 2133 pvinfo->hcall[1] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 2134 pvinfo->hcall[2] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 2135 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 2151 pvinfo->hcall[0] = cpu_to_be32(inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo() 2152 pvinfo->hcall[1] = cpu_to_be32(inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo() 2153 pvinfo->hcall[2] = cpu_to_be32(inst_sc); in kvm_vm_ioctl_get_pvinfo() 2154 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 2201 unsigned long hcall = cap->args[0]; in kvm_vm_ioctl_enable_cap() local 2204 if (hcall > MAX_HCALL_OPCODE || (hcall & 3) || in kvm_vm_ioctl_enable_cap() [all …]
|
D | book3s.c | 1024 int kvmppc_book3s_hcall_implemented(struct kvm *kvm, unsigned long hcall) in kvmppc_book3s_hcall_implemented() argument 1026 return kvm->arch.kvm_ops->hcall_implemented(hcall); in kvmppc_book3s_hcall_implemented()
|
D | book3s_xics.c | 848 int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) in kvmppc_xics_rm_complete() argument 854 hcall, icp->rm_action, icp->rm_dbgstate.raw, icp->rm_dbgtgt); in kvmppc_xics_rm_complete()
|
D | book3s_hv.c | 2762 {"hypercall", offsetof(struct kvm_vcpu, arch.hcall)}, 4883 accumulate_time(vcpu, &vcpu->arch.hcall); in kvmppc_vcpu_run_hv() 5919 unsigned int hcall; in init_default_hcalls() local 5922 hcall = default_hcall_list[i]; in init_default_hcalls() 5923 WARN_ON(!kvmppc_hcall_impl_hv(hcall)); in init_default_hcalls() 5924 __set_bit(hcall / 4, default_enabled_hcalls); in init_default_hcalls()
|
/arch/powerpc/include/asm/ |
D | vas.h | 271 int h_query_vas_capabilities(const u64 hcall, u8 query_type, u64 result);
|
D | kvm_ppc.h | 302 int (*hcall_implemented)(unsigned long hcall); 637 extern int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall); 666 static inline int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) in kvmppc_xics_rm_complete() argument
|
D | kvm_host.h | 841 struct kvmhv_tb_accumulator hcall; member
|
/arch/x86/kvm/ |
D | xen.c | 1156 return kvm_xen_hypercall_set_result(vcpu, run->xen.u.hcall.result); in kvm_xen_hypercall_complete_userspace() 1515 vcpu->run->xen.u.hcall.longmode = longmode; in kvm_xen_hypercall() 1516 vcpu->run->xen.u.hcall.cpl = cpl; in kvm_xen_hypercall() 1517 vcpu->run->xen.u.hcall.input = input; in kvm_xen_hypercall() 1518 vcpu->run->xen.u.hcall.params[0] = params[0]; in kvm_xen_hypercall() 1519 vcpu->run->xen.u.hcall.params[1] = params[1]; in kvm_xen_hypercall() 1520 vcpu->run->xen.u.hcall.params[2] = params[2]; in kvm_xen_hypercall() 1521 vcpu->run->xen.u.hcall.params[3] = params[3]; in kvm_xen_hypercall() 1522 vcpu->run->xen.u.hcall.params[4] = params[4]; in kvm_xen_hypercall() 1523 vcpu->run->xen.u.hcall.params[5] = params[5]; in kvm_xen_hypercall()
|
D | hyperv.c | 2351 return kvm_hv_hypercall_complete(vcpu, vcpu->run->hyperv.u.hcall.result); in kvm_hv_hypercall_complete_userspace() 2632 vcpu->run->hyperv.u.hcall.input = hc.param; in kvm_hv_hypercall() 2633 vcpu->run->hyperv.u.hcall.params[0] = hc.ingpa; in kvm_hv_hypercall() 2634 vcpu->run->hyperv.u.hcall.params[1] = hc.outgpa; in kvm_hv_hypercall()
|
/arch/powerpc/platforms/pseries/ |
D | vas.c | 148 int h_query_vas_capabilities(const u64 hcall, u8 query_type, u64 result) in h_query_vas_capabilities() argument 152 rc = plpar_hcall_norets(hcall, query_type, result); in h_query_vas_capabilities() 160 (hcall == H_QUERY_VAS_CAPABILITIES) ? in h_query_vas_capabilities()
|
D | Kconfig | 137 this enables code that uses the hcall GetPerfCounterInfo and 24x7
|