/linux-4.4.14/arch/powerpc/platforms/pseries/ |
H A D | firmware.c | 43 {FW_FEATURE_PFT, "hcall-pft"}, 44 {FW_FEATURE_TCE, "hcall-tce"}, 45 {FW_FEATURE_SPRG0, "hcall-sprg0"}, 46 {FW_FEATURE_DABR, "hcall-dabr"}, 47 {FW_FEATURE_COPY, "hcall-copy"}, 48 {FW_FEATURE_ASR, "hcall-asr"}, 49 {FW_FEATURE_DEBUG, "hcall-debug"}, 50 {FW_FEATURE_PERF, "hcall-perf"}, 51 {FW_FEATURE_DUMP, "hcall-dump"}, 52 {FW_FEATURE_INTERRUPT, "hcall-interrupt"}, 53 {FW_FEATURE_MIGRATE, "hcall-migrate"}, 54 {FW_FEATURE_PERFMON, "hcall-perfmon"}, 55 {FW_FEATURE_CRQ, "hcall-crq"}, 56 {FW_FEATURE_VIO, "hcall-vio"}, 57 {FW_FEATURE_RDMA, "hcall-rdma"}, 58 {FW_FEATURE_LLAN, "hcall-lLAN"}, 59 {FW_FEATURE_BULK_REMOVE, "hcall-bulk"}, 60 {FW_FEATURE_XDABR, "hcall-xdabr"}, 61 {FW_FEATURE_MULTITCE, "hcall-multi-tce"}, 62 {FW_FEATURE_SPLPAR, "hcall-splpar"}, 63 {FW_FEATURE_VPHN, "hcall-vphn"}, 64 {FW_FEATURE_SET_MODE, "hcall-set-mode"}, 65 {FW_FEATURE_BEST_ENERGY, "hcall-best-energy-1*"},
|
H A D | hvconsole.c | 74 /* hcall will ret H_PARAMETER if 'count' exceeds firmware max.*/ hvc_put_chars()
|
H A D | lpar.c | 673 * We optimise our hcall path by placing hcall_tracepoint_refcount 674 * directly in the TOC so we can check if the hcall tracepoints are 756 * H_GET_MPP hcall returns info in 7 parms
|
H A D | hvcserver.c | 136 * Dealt with as longs because of the hcall interface even though the hvcs_get_partner_info()
|
H A D | lparcfg.c | 88 * H_GET_PPP hcall returns info in 4 parms.
|
H A D | cmm.c | 250 * Makes hcall to query the current page loan request from the hypervisor.
|
/linux-4.4.14/arch/powerpc/perf/ |
H A D | hv-gpci.h | 25 /* O, 0 (zero) if version < 0x3. Must be set to 0 when making hcall */
|
H A D | hv-24x7.c | 78 * - Think of the hcall as an interface to a 4d array of counters: 89 * - limited number of requests per hcall (must fit into 4K bytes) 91 * - 255 requests per hcall 1026 pr_notice_ratelimited("hcall failed: [%d %#x %#x %d] => " log_24x7_hcall() 1035 * Start the process for a new H_GET_24x7_DATA hcall. 1049 * Commit (i.e perform) the H_GET_24x7_DATA hcall using the data collected 1075 * Note that H_GET_24X7_DATA hcall allows reading several counters' 1135 /* process result from hcall */ single_24x7_request() 1213 pr_devel("test hcall failed\n"); h_24x7_event_init() 1386 /* Update event counts from hcall */ h_24x7_event_commit_txn()
|
H A D | hv-gpci.c | 156 pr_devel("hcall failed: 0x%lx\n", ret); single_gpci_request() 263 pr_devel("gpci hcall failed\n"); h_gpci_event_init()
|
/linux-4.4.14/drivers/lguest/ |
H A D | hypercalls.c | 134 * checking for a normal hcall). 204 if (cpu->hcall->arg0 != LHCALL_LGUEST_INIT) { initialize() 205 kill_guest(cpu, "hypercall %li before INIT", cpu->hcall->arg0); initialize() 263 cpu->hcall = NULL; do_hypercalls() 280 do_hcall(cpu, cpu->hcall); do_hypercalls() 282 * Tricky point: we reset the hcall pointer to mark the do_hypercalls() 283 * hypercall as "done". We use the hcall pointer rather than do_hypercalls() 293 cpu->hcall = NULL; do_hypercalls()
|
H A D | lg.h | 69 struct hcall_args *hcall; member in struct:lg_cpu
|
H A D | core.c | 225 if (cpu->hcall) run_guest()
|
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | book3s_pr_papr.c | 368 * List of hcall numbers to enable by default. 370 * all hcalls that were implemented before the hcall-enabling 394 unsigned int hcall; kvmppc_pr_init_default_hcalls() local 397 hcall = default_hcall_list[i]; kvmppc_pr_init_default_hcalls() 398 WARN_ON(!kvmppc_hcall_impl_pr(hcall)); kvmppc_pr_init_default_hcalls() 399 __set_bit(hcall / 4, kvm->arch.enabled_hcalls); kvmppc_pr_init_default_hcalls()
|
H A D | powerpc.c | 1227 pvinfo->hcall[0] = cpu_to_be32(inst_sc1); kvm_vm_ioctl_get_pvinfo() 1228 pvinfo->hcall[1] = cpu_to_be32(inst_nop); kvm_vm_ioctl_get_pvinfo() 1229 pvinfo->hcall[2] = cpu_to_be32(inst_nop); kvm_vm_ioctl_get_pvinfo() 1230 pvinfo->hcall[3] = cpu_to_be32(inst_nop); kvm_vm_ioctl_get_pvinfo() 1246 pvinfo->hcall[0] = cpu_to_be32(inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask)); kvm_vm_ioctl_get_pvinfo() 1247 pvinfo->hcall[1] = cpu_to_be32(inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask)); kvm_vm_ioctl_get_pvinfo() 1248 pvinfo->hcall[2] = cpu_to_be32(inst_sc); kvm_vm_ioctl_get_pvinfo() 1249 pvinfo->hcall[3] = cpu_to_be32(inst_nop); kvm_vm_ioctl_get_pvinfo() 1281 unsigned long hcall = cap->args[0]; kvm_vm_ioctl_enable_cap() local 1284 if (hcall > MAX_HCALL_OPCODE || (hcall & 3) || kvm_vm_ioctl_enable_cap() 1287 if (!kvmppc_book3s_hcall_implemented(kvm, hcall)) kvm_vm_ioctl_enable_cap() 1290 set_bit(hcall / 4, kvm->arch.enabled_hcalls); kvm_vm_ioctl_enable_cap() 1292 clear_bit(hcall / 4, kvm->arch.enabled_hcalls); kvm_vm_ioctl_enable_cap()
|
H A D | book3s.c | 919 int kvmppc_book3s_hcall_implemented(struct kvm *kvm, unsigned long hcall) kvmppc_book3s_hcall_implemented() argument 921 return kvm->arch.kvm_ops->hcall_implemented(hcall); kvmppc_book3s_hcall_implemented()
|
H A D | trace_hv.h | 356 TP_printk("VCPU %d: hcall=%s GPR4-7=0x%lx,0x%lx,0x%lx,0x%lx",
|
H A D | book3s_hv.c | 887 /* hcall - punt to userspace */ kvmppc_handle_exit_hv() 3121 * List of hcall numbers to enable by default. 3123 * all hcalls that were implemented before the hcall-enabling 3154 unsigned int hcall; init_default_hcalls() local 3157 hcall = default_hcall_list[i]; init_default_hcalls() 3158 WARN_ON(!kvmppc_hcall_impl_hv(hcall)); init_default_hcalls() 3159 __set_bit(hcall / 4, default_enabled_hcalls); init_default_hcalls()
|
H A D | book3s_hv_rmhandlers.S | 1214 /* See if this is an hcall we can handle in real mode */ 1874 * Try to handle an hcall in real mode. 1879 * r5 - r8 contain hcall args, 1890 /* See if this hcall is enabled for in-kernel handling */ 1926 /* We've attempted a real mode hcall, but it's punted it back 2188 li r12,0 /* set trap to 0 to say hcall is handled */
|
H A D | book3s_xics.c | 815 static noinline int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) kvmppc_xics_rm_complete() argument 821 hcall, icp->rm_action, icp->rm_dbgstate.raw, icp->rm_dbgtgt); kvmppc_xics_rm_complete()
|
H A D | booke.c | 1202 * hcall from guest userspace -- send privileged kvmppc_handle_exit()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | hvconsole.h | 28 * hcall.
|
H A D | hvcall.h | 295 * the hcall. Use this version where possible, its slightly faster than 314 * plpar_hcall_raw: - Make a hypervisor call without calculating hcall stats 339 /* For hcall instrumentation. One structure per-hcall, per-CPU */
|
H A D | epapr_hcalls.h | 2 * ePAPR hcall interface
|
H A D | kvm_ppc.h | 273 int (*hcall_implemented)(unsigned long hcall);
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | epapr_paravirt.c | 43 insts = of_get_flat_dt_prop(node, "hcall-instructions", &len); early_init_dt_scan_epapr()
|
H A D | idle_book3e.S | 82 /* epapr_ev_idle_start below is patched with the proper hcall
|
H A D | setup_64.c | 216 * in pSeries_setup_arch() using the H_SET_MODE hcall. cpu_ready_for_interrupts()
|
H A D | asm-offsets.c | 271 /* hcall statistics */ main()
|
H A D | rtas.c | 1077 * endian, or at least the hcall within it requires it. ppc_rtas()
|
H A D | vio.c | 1136 dev_dbg(dev, "%s: hcall ret(%ld), retrying.\n", __func__, hret); vio_h_cop_sync()
|
/linux-4.4.14/drivers/crypto/nx/ |
H A D | nx.h | 131 struct nx_csbcpb *csbcpb; /* aligned page given to phyp @ hcall time */ 132 struct vio_pfo_op op; /* operation struct with hcall parameters */
|
H A D | nx.c | 44 * nx_hcall_sync - make an H_COP_OP hcall for the passed in op structure 50 * Make the hcall, retrying while the hardware is busy. If we cannot yield 68 "hcall rc: %ld\n", rc, op->hcall_err); nx_hcall_sync()
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
H A D | epapr_hcalls.h | 2 * ePAPR hcall interface 90 #define EV_EINVAL 8 /* An argument supplied to the hcall
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | lguest_hcall.h | 47 hcall(unsigned long call, hcall() function
|
/linux-4.4.14/arch/x86/lguest/ |
H A D | boot.c | 123 /* Table full, so do normal hcall which will flush table. */ async_hcall() 124 hcall(call, arg1, arg2, arg3, arg4); async_hcall() 141 * Notice the lazy_hcall() above, rather than hcall(). This is our first real 157 hcall(call, arg1, 0, 0, 0); lazy_hcall1() 168 hcall(call, arg1, arg2, 0, 0); lazy_hcall2() 179 hcall(call, arg1, arg2, arg3, 0); lazy_hcall3() 192 hcall(call, arg1, arg2, arg3, arg4); lazy_hcall4() 205 hcall(LHCALL_FLUSH_ASYNC, 0, 0, 0, 0); lguest_leave_lazy_mmu_mode() 218 hcall(LHCALL_FLUSH_ASYNC, 0, 0, 0, 0); lguest_end_context_switch() 302 hcall(LHCALL_LOAD_IDT_ENTRY, entrynum, desc[0], desc[1], 0); lguest_write_idt_entry() 316 hcall(LHCALL_LOAD_IDT_ENTRY, i, idt[i].a, idt[i].b, 0); lguest_load_idt() 337 hcall(LHCALL_LOAD_GDT_ENTRY, i, gdt[i].a, gdt[i].b, 0); lguest_load_gdt() 349 hcall(LHCALL_LOAD_GDT_ENTRY, entrynum, lguest_write_gdt_entry() 990 hcall(LHCALL_SET_CLOCKEVENT, delta, 0, 0, 0); lguest_clockevent_set_next_event() 997 hcall(LHCALL_SET_CLOCKEVENT, 0, 0, 0, 0); lguest_clockevent_shutdown() 1156 hcall(LHCALL_HALT, 0, 0, 0, 0); lguest_safe_halt() 1168 hcall(LHCALL_SHUTDOWN, __pa("Power down"), lguest_power_off() 1179 hcall(LHCALL_SHUTDOWN, __pa(p), LGUEST_SHUTDOWN_POWEROFF, 0, 0); lguest_panic() 1180 /* The hcall won't return, but to keep gcc happy, we're "done". */ lguest_panic() 1341 hcall(LHCALL_SHUTDOWN, __pa(reason), LGUEST_SHUTDOWN_RESTART, 0, 0); lguest_restart()
|
/linux-4.4.14/drivers/net/ethernet/ibm/ |
H A D | ibmveth.h | 51 /* hcall macros */
|
/linux-4.4.14/drivers/lguest/x86/ |
H A D | core.c | 445 cpu->hcall = (struct hcall_args *)cpu->regs; lguest_arch_handle_trap() 659 if (!lguest_address_ok(cpu->lg, cpu->hcall->arg1, lguest_arch_init_hypercalls() 670 cpu->lg->lguest_data = cpu->lg->mem_base + cpu->hcall->arg1; lguest_arch_init_hypercalls()
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
H A D | ehca_mrmw.c | 54 /* max number of rpages (per hcall register_rpages) */ 1398 * note: after using rereg hcall with len=0, ehca_unmap_one_fmr() 1399 * rereg hcall must be used again for registering pages ehca_unmap_one_fmr()
|
H A D | ehca_qp.c | 1167 /* this hcall is not supported on base QPs */ check_for_left_cqes()
|
/linux-4.4.14/drivers/tty/hvc/ |
H A D | hvcs.c | 167 * The hcall interface involves putting 8 chars into each of two registers. 1017 * removed or there really could be an hcall error due to the parameter hvcs_partner_connect()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | kvm.h | 628 __u32 hcall[4]; member in struct:kvm_ppc_pvinfo
|