Home
last modified time | relevance | path

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

1234567891011

/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 …]
/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/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/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/pci/controller/
H A Dpcie-iproc.h21 * PAXC is the wrapper used in root complex dedicated for internal emulated
64 * @ep_is_internal: indicates an internal emulated endpoint device is connected
67 * enumeration against unconfigured physical functions emulated in the ASIC
/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/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/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
277 ti->error = "Invalid emulated block size"; in ebs_ctr()
309 DMINFO("Emulation superfluous: emulated equal to underlying block size"); in ebs_ctr()
465 MODULE_DESCRIPTION(DM_NAME " emulated block size target");
/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
/linux/arch/m68k/ifpsp060/
H A DCHANGES80 PC = PC of instruction being emulated
82 ADDRESS = PC of instruction being emulated
102 PC = PC of instruction being emulated
/linux/arch/powerpc/
H A DKconfig.debug43 bool "Emulated instructions tracking"
47 emulated by the in-kernel emulator. Counters for the various classes
48 of emulated instructions are available under
53 emulated.
/linux/include/asm-generic/
H A Dlogic_io.h16 * If you want emulated IO memory to fall back to 'normal' IO memory
17 * if a region wasn't registered as emulated, then you need to have
/linux/Documentation/security/tpm/
H A Dtpm_vtpm_proxy.rst17 container gets its own unique, emulated, software TPM.
22 To make an emulated software TPM available to each container, the container
/linux/Documentation/i2c/
H A Dfunctionality.rst57 emulated by a real I2C adapter (using
95 hardware by the adapter, or emulated in software by i2c-core on top
127 implemented in hardware by the underlying adapter or emulated in

1234567891011