Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/Documentation/ABI/testing/
Ddebugfs-pfo-nx-crypto15 only errors counted here are those returned from the hcall, H_COP_OP.
18 The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not
19 recorded here (the hcall will retry until -EBUSY goes away).
23 hcall.
Dsysfs-bus-papr-pmem9 response to H_SCM_HEALTH hcall. The details of the bit
10 flags returned in response to this hcall is available
/kernel/linux/linux-5.10/Documentation/powerpc/
Dpapr_hcalls.rst28 Hence a Hypercall (hcall) is essentially a request by the pseries guest
36 The ABI specification for a hcall between a pseries guest and PAPR hypervisor
38 done via the instruction **HVCS** that expects the Opcode for hcall is set in *r3*
39 and any in-arguments for the hcall are provided in registers *r4-r12*. If values
44 'HVCS' instruction the return value of the hcall is available in *r3* and any
55 Any hcall should follow same register convention as described in section 2.2.1.1
69 | r3 | Y | hcall opcode/return value |
122 After servicing the hcall, hypervisor sets the return-value in *r3* indicating
123 success or failure of the hcall. In case of a failure an error code indicates
127 In some cases a hcall can potentially take a long time and need to be issued
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_pr_papr.c464 unsigned int hcall; in kvmppc_pr_init_default_hcalls() local
467 hcall = default_hcall_list[i]; in kvmppc_pr_init_default_hcalls()
468 WARN_ON(!kvmppc_hcall_impl_pr(hcall)); in kvmppc_pr_init_default_hcalls()
469 __set_bit(hcall / 4, kvm->arch.enabled_hcalls); in kvmppc_pr_init_default_hcalls()
Dpowerpc.c2096 pvinfo->hcall[0] = cpu_to_be32(inst_sc1); in kvm_vm_ioctl_get_pvinfo()
2097 pvinfo->hcall[1] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo()
2098 pvinfo->hcall[2] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo()
2099 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo()
2115 pvinfo->hcall[0] = cpu_to_be32(inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo()
2116 pvinfo->hcall[1] = cpu_to_be32(inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo()
2117 pvinfo->hcall[2] = cpu_to_be32(inst_sc); in kvm_vm_ioctl_get_pvinfo()
2118 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo()
2150 unsigned long hcall = cap->args[0]; in kvm_vm_ioctl_enable_cap() local
2153 if (hcall > MAX_HCALL_OPCODE || (hcall & 3) || in kvm_vm_ioctl_enable_cap()
[all …]
Dbook3s.c986 int kvmppc_book3s_hcall_implemented(struct kvm *kvm, unsigned long hcall) in kvmppc_book3s_hcall_implemented() argument
988 return kvm->arch.kvm_ops->hcall_implemented(hcall); in kvmppc_book3s_hcall_implemented()
Dbook3s_xics.c848 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()
Dbook3s_hv.c5421 unsigned int hcall; in init_default_hcalls() local
5424 hcall = default_hcall_list[i]; in init_default_hcalls()
5425 WARN_ON(!kvmppc_hcall_impl_hv(hcall)); in init_default_hcalls()
5426 __set_bit(hcall / 4, default_enabled_hcalls); in init_default_hcalls()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dhyperv.c1705 return kvm_hv_hypercall_complete(vcpu, vcpu->run->hyperv.u.hcall.result); in kvm_hv_hypercall_complete_userspace()
1811 vcpu->run->hyperv.u.hcall.input = param; in kvm_hv_hypercall()
1812 vcpu->run->hyperv.u.hcall.params[0] = ingpa; in kvm_hv_hypercall()
1813 vcpu->run->hyperv.u.hcall.params[1] = outgpa; in kvm_hv_hypercall()
1880 vcpu->run->hyperv.u.hcall.input = param; in kvm_hv_hypercall()
1881 vcpu->run->hyperv.u.hcall.params[0] = ingpa; in kvm_hv_hypercall()
1882 vcpu->run->hyperv.u.hcall.params[1] = outgpa; in kvm_hv_hypercall()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_ppc.h300 int (*hcall_implemented)(unsigned long hcall);
605 extern int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall);
633 static inline int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) in kvmppc_xics_rm_complete() argument
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
DKconfig133 this enables code that uses the hcall GetPerfCounterInfo and 24x7
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dkvm.h143 } hcall; member
562 __u32 hcall[4]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dkvm.h155 } hcall; member
579 __u32 hcall[4]; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dkvm.h206 } hcall; member
760 __u32 hcall[4]; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dkvm.h206 } hcall; member
760 __u32 hcall[4]; member
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dppc-pv.rst207 generic hypercalls are implemented here, like the ePAPR idle hcall. These are
Dapi.rst1667 __u32 hcall[4];
1674 The hcall array defines 4 instructions that make up a hypercall.
1681 /* the host supports the ePAPR idle hcall
1973 When the guest issues an H_PUT_TCE hcall on a liobn for which a TCE
3682 IBM pSeries (sPAPR) guest starts using them if "hcall-multi-tce" is
5209 } hcall;
5637 :Parameters: args[0] is the sPAPR hcall number;
5642 handling of an hcall is effective across the VM. On creation, an
5646 not to attempt to handle the hcall, but will always exit to userspace
5651 If the hcall number specified is not one that has an in-kernel
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-parameters.txt938 Disable RADIX GTSE feature and use hcall for TLB