Home
last modified time | relevance | path

Searched refs:hcall (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/kvm/
Dpowerpc.c1686 pvinfo->hcall[0] = cpu_to_be32(inst_sc1); in kvm_vm_ioctl_get_pvinfo()
1687 pvinfo->hcall[1] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo()
1688 pvinfo->hcall[2] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo()
1689 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo()
1705 pvinfo->hcall[0] = cpu_to_be32(inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo()
1706 pvinfo->hcall[1] = cpu_to_be32(inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo()
1707 pvinfo->hcall[2] = cpu_to_be32(inst_sc); in kvm_vm_ioctl_get_pvinfo()
1708 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo()
1740 unsigned long hcall = cap->args[0]; in kvm_vm_ioctl_enable_cap() local
1743 if (hcall > MAX_HCALL_OPCODE || (hcall & 3) || in kvm_vm_ioctl_enable_cap()
[all …]
Dbook3s_pr_papr.c465 unsigned int hcall; in kvmppc_pr_init_default_hcalls() local
468 hcall = default_hcall_list[i]; in kvmppc_pr_init_default_hcalls()
469 WARN_ON(!kvmppc_hcall_impl_pr(hcall)); in kvmppc_pr_init_default_hcalls()
470 __set_bit(hcall / 4, kvm->arch.enabled_hcalls); in kvmppc_pr_init_default_hcalls()
Dbook3s.c950 int kvmppc_book3s_hcall_implemented(struct kvm *kvm, unsigned long hcall) in kvmppc_book3s_hcall_implemented() argument
952 return kvm->arch.kvm_ops->hcall_implemented(hcall); in kvmppc_book3s_hcall_implemented()
Dbook3s_xics.c853 int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) in kvmppc_xics_rm_complete() argument
859 hcall, icp->rm_action, icp->rm_dbgstate.raw, icp->rm_dbgtgt); in kvmppc_xics_rm_complete()
Dbook3s_hv.c4208 unsigned int hcall; in init_default_hcalls() local
4211 hcall = default_hcall_list[i]; in init_default_hcalls()
4212 WARN_ON(!kvmppc_hcall_impl_hv(hcall)); in init_default_hcalls()
4213 __set_bit(hcall / 4, default_enabled_hcalls); in init_default_hcalls()
/arch/x86/kvm/
Dhyperv.c1227 kvm_hv_hypercall_set_result(vcpu, run->hyperv.u.hcall.result); in kvm_hv_hypercall_complete_userspace()
1290 vcpu->run->hyperv.u.hcall.input = param; in kvm_hv_hypercall()
1291 vcpu->run->hyperv.u.hcall.params[0] = ingpa; in kvm_hv_hypercall()
1292 vcpu->run->hyperv.u.hcall.params[1] = outgpa; in kvm_hv_hypercall()
/arch/powerpc/include/asm/
Dkvm_ppc.h311 int (*hcall_implemented)(unsigned long hcall);
511 extern int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall);
539 static inline int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) in kvmppc_xics_rm_complete() argument
/arch/powerpc/platforms/pseries/
DKconfig127 this enables code that uses the hcall GetPerfCounterInfo and 24x7