/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/powerpc/kvm/ |
D | powerpc.c | 1223 pvinfo->hcall[0] = cpu_to_be32(inst_sc1); in kvm_vm_ioctl_get_pvinfo() 1224 pvinfo->hcall[1] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 1225 pvinfo->hcall[2] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 1226 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 1242 pvinfo->hcall[0] = cpu_to_be32(inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo() 1243 pvinfo->hcall[1] = cpu_to_be32(inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask)); in kvm_vm_ioctl_get_pvinfo() 1244 pvinfo->hcall[2] = cpu_to_be32(inst_sc); in kvm_vm_ioctl_get_pvinfo() 1245 pvinfo->hcall[3] = cpu_to_be32(inst_nop); in kvm_vm_ioctl_get_pvinfo() 1277 unsigned long hcall = cap->args[0]; in kvm_vm_ioctl_enable_cap() local 1280 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 | 916 int kvmppc_book3s_hcall_implemented(struct kvm *kvm, unsigned long hcall) in kvmppc_book3s_hcall_implemented() argument 918 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 | 2700 unsigned int hcall; in init_default_hcalls() local 2703 hcall = default_hcall_list[i]; in init_default_hcalls() 2704 WARN_ON(!kvmppc_hcall_impl_hv(hcall)); in init_default_hcalls() 2705 __set_bit(hcall / 4, default_enabled_hcalls); in init_default_hcalls()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | lguest_hcall.h | 47 hcall(unsigned long call, in hcall() function
|
/linux-4.1.27/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.1.27/arch/powerpc/platforms/pseries/ |
D | Kconfig | 130 this enables code that uses the hcall GetPerfCounterInfo and 24x7
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | ppc-pv.txt | 197 generic hypercalls are implemented here, like the ePAPR idle hcall. These are
|
D | api.txt | 1254 __u32 hcall[4]; 1261 The hcall array defines 4 instructions that make up a hypercall. 1268 /* the host supports the ePAPR idle hcall 1690 When the guest issues an H_PUT_TCE hcall on a liobn for which a TCE 3501 Parameters: args[0] is the sPAPR hcall number 3506 handling of an hcall is effective across the VM. On creation, an 3510 not to attempt to handle the hcall, but will always exit to userspace 3515 If the hcall number specified is not one that has an in-kernel
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 271 int (*hcall_implemented)(unsigned long hcall);
|
/linux-4.1.27/include/uapi/linux/ |
D | kvm.h | 618 __u32 hcall[4]; member
|