/linux-4.4.14/arch/x86/lguest/ |
D | boot.c | 124 hcall(call, arg1, arg2, arg3, arg4); in async_hcall() 157 hcall(call, arg1, 0, 0, 0); in lazy_hcall1() 168 hcall(call, arg1, arg2, 0, 0); in lazy_hcall2() 179 hcall(call, arg1, arg2, arg3, 0); in lazy_hcall3() 192 hcall(call, arg1, arg2, arg3, arg4); in lazy_hcall4() 205 hcall(LHCALL_FLUSH_ASYNC, 0, 0, 0, 0); in lguest_leave_lazy_mmu_mode() 218 hcall(LHCALL_FLUSH_ASYNC, 0, 0, 0, 0); in lguest_end_context_switch() 302 hcall(LHCALL_LOAD_IDT_ENTRY, entrynum, desc[0], desc[1], 0); in lguest_write_idt_entry() 316 hcall(LHCALL_LOAD_IDT_ENTRY, i, idt[i].a, idt[i].b, 0); in lguest_load_idt() 337 hcall(LHCALL_LOAD_GDT_ENTRY, i, gdt[i].a, gdt[i].b, 0); in lguest_load_gdt() [all …]
|
/linux-4.4.14/drivers/lguest/ |
D | hypercalls.c | 204 if (cpu->hcall->arg0 != LHCALL_LGUEST_INIT) { in initialize() 205 kill_guest(cpu, "hypercall %li before INIT", cpu->hcall->arg0); in initialize() 263 cpu->hcall = NULL; in do_hypercalls() 280 do_hcall(cpu, cpu->hcall); in do_hypercalls() 293 cpu->hcall = NULL; in do_hypercalls()
|
D | core.c | 225 if (cpu->hcall) in run_guest()
|
D | lg.h | 69 struct hcall_args *hcall; member
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | debugfs-pfo-nx-crypto | 15 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.
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | powerpc.c | 1227 pvinfo->hcall[0] = cpu_to_be32(inst_sc1); in kvm_vm_ioctl_get_pvinfo() 1228 pvinfo->hcall[1] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 1229 pvinfo->hcall[2] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 1230 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 1246 pvinfo->hcall[0] = cpu_to_be32(inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo() 1247 pvinfo->hcall[1] = cpu_to_be32(inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo() 1248 pvinfo->hcall[2] = cpu_to_be32(inst_sc); in kvm_vm_ioctl_get_pvinfo() 1249 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 1281 unsigned long hcall = cap->args[0]; in kvm_vm_ioctl_enable_cap() local 1284 if (hcall > MAX_HCALL_OPCODE || (hcall & 3) || in kvm_vm_ioctl_enable_cap() [all …]
|
D | book3s_pr_papr.c | 394 unsigned int hcall; in kvmppc_pr_init_default_hcalls() local 397 hcall = default_hcall_list[i]; in kvmppc_pr_init_default_hcalls() 398 WARN_ON(!kvmppc_hcall_impl_pr(hcall)); in kvmppc_pr_init_default_hcalls() 399 __set_bit(hcall / 4, kvm->arch.enabled_hcalls); in kvmppc_pr_init_default_hcalls()
|
D | book3s.c | 919 int kvmppc_book3s_hcall_implemented(struct kvm *kvm, unsigned long hcall) in kvmppc_book3s_hcall_implemented() argument 921 return kvm->arch.kvm_ops->hcall_implemented(hcall); in kvmppc_book3s_hcall_implemented()
|
D | book3s_xics.c | 815 static noinline int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) in kvmppc_xics_rm_complete() argument 821 hcall, icp->rm_action, icp->rm_dbgstate.raw, icp->rm_dbgtgt); in kvmppc_xics_rm_complete()
|
D | book3s_hv.c | 3154 unsigned int hcall; in init_default_hcalls() local 3157 hcall = default_hcall_list[i]; in init_default_hcalls() 3158 WARN_ON(!kvmppc_hcall_impl_hv(hcall)); in init_default_hcalls() 3159 __set_bit(hcall / 4, default_enabled_hcalls); in init_default_hcalls()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | lguest_hcall.h | 47 hcall(unsigned long call, in hcall() function
|
/linux-4.4.14/drivers/lguest/x86/ |
D | core.c | 445 cpu->hcall = (struct hcall_args *)cpu->regs; in lguest_arch_handle_trap() 659 if (!lguest_address_ok(cpu->lg, cpu->hcall->arg1, in lguest_arch_init_hypercalls() 670 cpu->lg->lguest_data = cpu->lg->mem_base + cpu->hcall->arg1; in lguest_arch_init_hypercalls()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | Kconfig | 125 this enables code that uses the hcall GetPerfCounterInfo and 24x7
|
/linux-4.4.14/Documentation/virtual/kvm/ |
D | ppc-pv.txt | 197 generic hypercalls are implemented here, like the ePAPR idle hcall. These are
|
D | api.txt | 1286 __u32 hcall[4]; 1293 The hcall array defines 4 instructions that make up a hypercall. 1300 /* the host supports the ePAPR idle hcall 1726 When the guest issues an H_PUT_TCE hcall on a liobn for which a TCE 3576 Parameters: args[0] is the sPAPR hcall number 3581 handling of an hcall is effective across the VM. On creation, an 3585 not to attempt to handle the hcall, but will always exit to userspace 3590 If the hcall number specified is not one that has an in-kernel
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 273 int (*hcall_implemented)(unsigned long hcall);
|
/linux-4.4.14/include/uapi/linux/ |
D | kvm.h | 628 __u32 hcall[4]; member
|