Home
last modified time | relevance | path

Searched full:emulated (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/linux/arch/powerpc/kvm/
H A Demulate.c77 enum emulation_result emulated = EMULATE_DONE; in kvmppc_emulate_mtspr() local
115 emulated = vcpu->kvm->arch.kvm_ops->emulate_mtspr(vcpu, sprn, in kvmppc_emulate_mtspr()
117 if (emulated == EMULATE_FAIL) in kvmppc_emulate_mtspr()
125 return emulated; in kvmppc_emulate_mtspr()
130 enum emulation_result emulated = EMULATE_DONE; in kvmppc_emulate_mfspr() local
176 emulated = vcpu->kvm->arch.kvm_ops->emulate_mfspr(vcpu, sprn, in kvmppc_emulate_mfspr()
178 if (unlikely(emulated == EMULATE_FAIL)) { in kvmppc_emulate_mfspr()
185 if (emulated == EMULATE_DONE) in kvmppc_emulate_mfspr()
189 return emulated; in kvmppc_emulate_mfspr()
199 enum emulation_result emulated; in kvmppc_emulate_instruction() local
[all …]
H A Dbook3s_paired_singles.c175 int emulated = EMULATE_FAIL; in kvmppc_emulate_fpr_load() local
191 emulated = kvmppc_handle_load(vcpu, KVM_MMIO_REG_FPR | rs, in kvmppc_emulate_fpr_load()
196 emulated = EMULATE_DONE; in kvmppc_emulate_fpr_load()
213 return emulated; in kvmppc_emulate_fpr_load()
219 int emulated = EMULATE_FAIL; in kvmppc_emulate_fpr_store() local
251 emulated = kvmppc_handle_store(vcpu, val, len, 1); in kvmppc_emulate_fpr_store()
253 emulated = EMULATE_DONE; in kvmppc_emulate_fpr_store()
259 return emulated; in kvmppc_emulate_fpr_store()
265 int emulated = EMULATE_FAIL; in kvmppc_emulate_psq_load() local
282 emulated = kvmppc_handle_load(vcpu, KVM_MMIO_REG_FPR | rs, in kvmppc_emulate_psq_load()
[all …]
H A Demulate_loadstore.c69 * are not emulated here: multiple and string instructions,
75 enum emulation_result emulated = EMULATE_FAIL; in kvmppc_emulate_loadstore() local
81 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &inst); in kvmppc_emulate_loadstore()
82 if (emulated != EMULATE_DONE) in kvmppc_emulate_loadstore()
83 return emulated; in kvmppc_emulate_loadstore()
94 emulated = EMULATE_FAIL; in kvmppc_emulate_loadstore()
107 emulated = kvmppc_handle_loads(vcpu, in kvmppc_emulate_loadstore()
110 emulated = kvmppc_handle_load(vcpu, in kvmppc_emulate_loadstore()
113 if ((op.type & UPDATE) && (emulated != EMULATE_FAIL)) in kvmppc_emulate_loadstore()
127 emulated = kvmppc_handle_loads(vcpu, in kvmppc_emulate_loadstore()
[all …]
H A De500_emulate.c89 int emulated = EMULATE_DONE; in kvmppc_e500_emul_ehpriv() local
97 emulated = EMULATE_EXIT_USER; in kvmppc_e500_emul_ehpriv()
101 emulated = EMULATE_FAIL; in kvmppc_e500_emul_ehpriv()
103 return emulated; in kvmppc_e500_emul_ehpriv()
131 int emulated = EMULATE_DONE; in kvmppc_core_emulate_op_e500() local
142 emulated = kvmppc_e500_emul_dcbtls(vcpu); in kvmppc_core_emulate_op_e500()
147 emulated = kvmppc_e500_emul_msgsnd(vcpu, rb); in kvmppc_core_emulate_op_e500()
151 emulated = kvmppc_e500_emul_msgclr(vcpu, rb); in kvmppc_core_emulate_op_e500()
156 emulated = kvmppc_e500_emul_tlbre(vcpu); in kvmppc_core_emulate_op_e500()
160 emulated = kvmppc_e500_emul_tlbwe(vcpu); in kvmppc_core_emulate_op_e500()
[all …]
H A Dbook3s_emulate.c237 int emulated = EMULATE_DONE; in kvmppc_core_emulate_op_pr() local
246 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
258 emulated = EMULATE_DONE; in kvmppc_core_emulate_op_pr()
288 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
363 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
378 emulated = EMULATE_EXIT_USER; in kvmppc_core_emulate_op_pr()
424 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
435 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
493 emulated = EMULATE_AGAIN; in kvmppc_core_emulate_op_pr()
518 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
[all …]
H A Dbooke_emulate.c45 int emulated = EMULATE_DONE; in kvmppc_booke_emulate_op() local
71 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_op()
102 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_op()
108 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_op()
111 return emulated; in kvmppc_booke_emulate_op()
115 * NOTE: some of these registers are not emulated on BOOKE_HV (GS-mode).
122 int emulated = EMULATE_DONE; in kvmppc_booke_emulate_mtspr() local
369 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_mtspr()
376 return emulated; in kvmppc_booke_emulate_mtspr()
381 int emulated = EMULATE_DONE; in kvmppc_booke_emulate_mfspr() local
[all …]
H A Dpowerpc.c1302 enum emulation_result emulated = EMULATE_DONE; in kvmppc_handle_vsx_load() local
1309 emulated = __kvmppc_handle_load(vcpu, rt, bytes, in kvmppc_handle_vsx_load()
1312 if (emulated != EMULATE_DONE) in kvmppc_handle_vsx_load()
1320 return emulated; in kvmppc_handle_vsx_load()
1443 enum emulation_result emulated = EMULATE_DONE; in kvmppc_handle_vsx_store() local
1455 emulated = kvmppc_handle_store(vcpu, in kvmppc_handle_vsx_store()
1458 if (emulated != EMULATE_DONE) in kvmppc_handle_vsx_store()
1467 return emulated; in kvmppc_handle_vsx_store()
1473 enum emulation_result emulated = EMULATE_FAIL; in kvmppc_emulate_mmio_vsx_loadstore() local
1479 emulated = kvmppc_handle_vsx_load(vcpu, vcpu->arch.io_gpr, in kvmppc_emulate_mmio_vsx_loadstore()
[all …]
/linux/drivers/target/tcm_remote/
H A Dtcm_remote.c113 * Register the remote_tpg as a emulated TCM Target Endpoint in tcm_remote_make_tpg()
120 pr_debug("TCM_Remote_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_remote_make_tpg()
138 * Deregister the remote_tpg as a emulated TCM Target Endpoint in tcm_remote_drop_tpg()
145 pr_debug("TCM_Remote_ConfigFS: Deallocated Emulated %s Target Port %s,t,0x%04x\n", in tcm_remote_drop_tpg()
164 * Determine the emulated Protocol Identifier and Target Port Name in tcm_remote_make_wwn()
186 pr_err("Unable to locate prefix for emulated Target Port: %s\n", in tcm_remote_make_wwn()
195 pr_err("Emulated NAA %s Address: %s, exceeds max: %d\n", in tcm_remote_make_wwn()
202 pr_debug("TCM_Remote_ConfigFS: Allocated emulated Target %s Address: %s\n", in tcm_remote_make_wwn()
215 pr_debug("TCM_Remote_ConfigFS: Deallocating emulated Target %s Address: %s\n", in tcm_remote_drop_wwn()
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-ebs.rst11 Supported emulated logical block sizes 512, 1024, 2048 and 4096.
18 <dev path> <offset> <emulated sectors> [<underlying sectors>]
27 has to be a multiple of <emulated sectors>.
28 <emulated sectors>:
29 Number of sectors defining the logical block size to be emulated;
/linux/drivers/mtd/ubi/
H A Ddebug.h224 * Returns true if power cut should be emulated, otherwise returns false.
238 * Returns true if a bit-flip should be emulated, otherwise returns false.
251 * Returns true if a write failure should be emulated, otherwise returns
265 * Returns true if an erase failure should be emulated, otherwise returns
279 * Returns true if a ECC error should be emulated, otherwise returns false.
290 * Returns true if a read failure should be emulated, otherwise returns
303 * Returns true if read region should be emulated 0xFF, otherwise
318 * Returns true if read region should be emulated 0xFF and error
331 * Returns true if a bad header error should be emulated, otherwise
346 * Returns true if a bad header with ECC error should be emulated, otherwise
/linux/mm/
H A Dnuma_emulation.c57 pr_err("NUMA: Too many emulated memblks, failing emulation\n"); in emu_setup_memblk()
255 * The limit on emulated nodes is MAX_NUMNODES, so the in split_nodes_size_interleave_uniform()
354 * to reflect the emulated configuration on success. @numa_dist_cnt is
359 * - @numa_meminfo is updated to reflect the emulated nodes.
362 * emulated nodes.
364 * - NUMA distance table is rebuilt to represent distances between emulated
365 * nodes. The distances are determined considering how emulated nodes
368 * - emu_nid_to_phys[] reflects how emulated nodes are mapped to physical
473 * Determine the max emulated nid and the default phys nid to use in numa_emulation()
478 /* Make sure numa_nodes_parsed only contains emulated node in numa_emulation()
[all...]
/linux/Documentation/arch/arm/
H A Dswp_emulation.rst9 Trapped instructions are emulated using an LDREX/STREX or LDREXB/STREXB
16 Emulated SWP: 12
17 Emulated SWPB: 0
/linux/Documentation/userspace-api/gpio/
H A Dgpio-v2-get-line-ioctl.rst90 supported directly by hardware, debouncing is emulated in software by the
109 The approach applied depends on whether the feature can reasonably be emulated
129 Debounce is emulated by applying a filter to hardware interrupts on the line.
134 Drive is emulated by switching the line to an input when the line should not
143 emulated, or is best effort.
H A Dgpio-get-linehandle-ioctl.rst92 The approach applied depends on whether the feature can reasonably be emulated
110 Drive is emulated by switching the line to an input when the line should not
116 emulated, or is best effort.
/linux/drivers/target/loopback/
H A Dtcm_loop.c4 * for emulated SAS initiator ports
387 * Called from tcm_loop_fabric_init() in tcl_loop_fabric.c to load the emulated in tcm_loop_driver_probe()
693 pr_debug("TCM_Loop_ConfigFS: Established I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_tpg_attrib_fabric_prot_type_store()
718 pr_debug("TCM_Loop_ConfigFS: Removing I_T Nexus to emulated %s Initiator Port: %s\n",
722 * Release the SCSI I_T Nexus to the emulated Target Port in tcm_loop_alloc_sess_cb()
772 pr_err("Emulated NAA Sas Address: %s, exceeds max: %d\n", in tcm_loop_drop_nexus()
808 pr_err("Unable to locate prefix for emulated Initiator Port: %s\n", in tcm_loop_tpg_nexus_show()
927 * Register the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_tpg_transport_status_store()
933 pr_debug("TCM_Loop_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_loop_tpg_transport_status_store()
955 * Deregister the tl_tpg as a emulated TC
[all...]
/linux/arch/mips/kernel/
H A Dfpu-probe.c147 static enum { STRICT, EMULATED, LEGACY, STD2008, RELAXED } ieee754 = STRICT; enumerator
163 case EMULATED: in cpu_set_nofpu_2008()
208 case EMULATED: in cpu_set_nan_2008()
234 else if (!strcmp(s, "emulated")) in ieee754_setup()
235 ieee754 = EMULATED; in ieee754_setup()
/linux/arch/x86/xen/
H A Dplatform-pci-unplug.c139 /* PVH guests don't have emulated devices. */ in xen_unplug_emulated_devices()
161 "been compiled for this kernel: unplug emulated NICs.\n"); in xen_unplug_emulated_devices()
166 "been compiled for this kernel: unplug emulated disks.\n" in xen_unplug_emulated_devices()
173 /* Now unplug the emulated devices */ in xen_unplug_emulated_devices()
/linux/arch/powerpc/kernel/
H A Duprobes.c123 * are emulated in the kernel. We get here only if the emulation in arch_uprobe_post_xol()
179 * See if the instruction can be emulated.
180 * Returns true if instruction was emulated, false otherwise.
187 * emulate_step() returns 1 if the insn was successfully emulated. in arch_uprobe_skip_sstep()
/linux/drivers/md/
H A Ddm-ebs-target.c22 /* Emulated block size context. */
31 unsigned int e_bs; /* Emulated block size in sectors exposed to upper layer. */
239 * Construct an emulated block size mapping: <dev_path> <offset> <ebs> [<ubs>]
243 * <ebs>: emulated block size in units of 512 bytes exposed to the upper layer
278 ti->error = "Invalid emulated block size"; in ebs_ctr()
310 DMINFO("Emulation superfluous: emulated equal to underlying block size"); in ebs_ctr()
466 MODULE_DESCRIPTION(DM_NAME " emulated block size target");
/linux/arch/mips/include/asm/
H A Ddsemul.h26 * @ir: The instruction to be 'emulated'.
32 * in the delay slots of emulated branch instructions, for example FP
84 * that was being 'emulated' has not yet executed, or advanced to the
/linux/drivers/pci/controller/
H A Dpcie-iproc.h21 * PAXC is the wrapper used in root complex dedicated for internal emulated
65 * @ep_is_internal: indicates an internal emulated endpoint device is connected
68 * enumeration against unconfigured physical functions emulated in the ASIC
/linux/Documentation/arch/powerpc/
H A Ddscr.rst64 works, as it is emulated following an illegal instruction exception
65 inside the kernel. Both mfspr and mtspr instructions are emulated.
69 all mfspr instruction based read attempts will get emulated and returned
/linux/arch/arm64/kernel/
H A Drsi.c90 * mapping, or an MMIO emulated in the Realm world).
95 * RIPAS_DEV - A trusted device memory or a trusted emulated MMIO (in the Realm
103 * The only case where something is emulated by the untrusted hypervisor or is
/linux/drivers/gpu/drm/sysfb/
H A Ddrm_sysfb_modeset.c104 * supported formats and additional emulated formats.
110 * emulated formats. Native formats with alpha channel will be replaced
125 * and it's currently the only format that should be emulated for in drm_sysfb_build_fourcc_list()
164 * The extra formats, emulated by the driver, go second. in drm_sysfb_build_fourcc_list()
173 drm_warn(dev, "Ignoring emulated format %p4cc\n", &fourcc); in drm_sysfb_build_fourcc_list()
177 drm_dbg_kms(dev, "adding emulated format %p4cc\n", &fourcc); in drm_sysfb_build_fourcc_list()
/linux/Documentation/virt/
H A Dne_overview.rst33 There is a NE emulated PCI device exposed to the primary VM. The driver for this
58 using virtio-vsock [5]. The primary VM has virtio-pci vsock emulated device,
59 while the enclave VM has a virtio-mmio vsock emulated device. The vsock device

12345678910>>...13