Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.12.1/arch/powerpc/kvm/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
Dpowerpc.c1314 enum emulation_result emulated = EMULATE_DONE; in kvmppc_handle_vsx_load() local
1321 emulated = __kvmppc_handle_load(vcpu, rt, bytes, in kvmppc_handle_vsx_load()
1324 if (emulated != EMULATE_DONE) in kvmppc_handle_vsx_load()
1332 return emulated; in kvmppc_handle_vsx_load()
1455 enum emulation_result emulated = EMULATE_DONE; in kvmppc_handle_vsx_store() local
1467 emulated = kvmppc_handle_store(vcpu, in kvmppc_handle_vsx_store()
1470 if (emulated != EMULATE_DONE) in kvmppc_handle_vsx_store()
1479 return emulated; in kvmppc_handle_vsx_store()
1485 enum emulation_result emulated = EMULATE_FAIL; in kvmppc_emulate_mmio_vsx_loadstore() local
1491 emulated = kvmppc_handle_vsx_load(vcpu, vcpu->arch.io_gpr, in kvmppc_emulate_mmio_vsx_loadstore()
[all …]
/linux-6.12.1/drivers/target/tcm_remote/
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-6.12.1/Documentation/admin-guide/device-mapper/
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-6.12.1/drivers/mtd/ubi/
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-6.12.1/mm/
Dnuma_emulation.c56 pr_err("NUMA: Too many emulated memblks, failing emulation\n"); in emu_setup_memblk()
254 * The limit on emulated nodes is MAX_NUMNODES, so the in split_nodes_size_interleave_uniform()
353 * to reflect the emulated configuration on success. @numa_dist_cnt is
358 * - @numa_meminfo is updated to reflect the emulated nodes.
361 * emulated nodes.
363 * - NUMA distance table is rebuilt to represent distances between emulated
364 * nodes. The distances are determined considering how emulated nodes
367 * - emu_nid_to_phys[] reflects how emulated nodes are mapped to physical
463 * Determine the max emulated nid and the default phys nid to use in numa_emulation()
471 /* Make sure numa_nodes_parsed only contains emulated nodes */ in numa_emulation()
[all …]
/linux-6.12.1/arch/x86/kvm/
Dkvm_emulate.h59 * The emulator assumes that an instruction accesses only one 'emulated memory'
62 * stack operations are assumed never to access emulated memory. The emulator
64 * emulated memory, and assumes that the other operand accesses normal memory.
67 * 1. The emulator isn't very smart about emulated vs. standard memory.
68 * 'Emulated memory' access addresses should be checked for sanity.
114 * read_std: Read bytes of standard (non-emulated/special) memory.
127 * write_std: Write bytes of standard (non-emulated/special) memory.
138 * fetch: Read bytes of standard (non-emulated/special) memory.
149 * read_emulated: Read bytes from emulated/special memory area.
159 * write_emulated: Write bytes to emulated/special memory area.
[all …]
/linux-6.12.1/Documentation/arch/arm/
Dswp_emulation.rst9 Trapped instructions are emulated using an LDREX/STREX or LDREXB/STREXB
16 Emulated SWP: 12
17 Emulated SWPB: 0
/linux-6.12.1/drivers/target/loopback/
Dtcm_loop.c4 * for emulated SAS initiator ports
401 * Called from tcm_loop_fabric_init() in tcl_loop_fabric.c to load the emulated
707 pr_debug("TCM_Loop_ConfigFS: Established I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_make_nexus()
732 pr_debug("TCM_Loop_ConfigFS: Removing I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_drop_nexus()
736 * Release the SCSI I_T Nexus to the emulated Target Port in tcm_loop_drop_nexus()
786 pr_err("Emulated NAA Sas Address: %s, exceeds max: %d\n", in tcm_loop_tpg_nexus_store()
822 pr_err("Unable to locate prefix for emulated Initiator Port: %s\n", in tcm_loop_tpg_nexus_store()
938 * Register the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_make_naa_tpg()
944 pr_debug("TCM_Loop_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_loop_make_naa_tpg()
966 * Deregister the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_drop_naa_tpg()
[all …]
/linux-6.12.1/Documentation/userspace-api/gpio/
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.
/linux-6.12.1/arch/mips/kernel/
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-6.12.1/arch/powerpc/kernel/
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-6.12.1/arch/powerpc/include/asm/
Dsstep.h142 * Return value is 1 if the instruction can be emulated just by
161 * Returns 1 if the instruction was emulated successfully,
162 * 0 if it could not be emulated, or -1 for an instruction that
163 * should not be emulated (rfid, mtmsrd clearing MSR_RI, etc.).
/linux-6.12.1/arch/x86/xen/
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-6.12.1/arch/x86/kernel/
Dumip.c44 * not the actual location of the table. The result is emulated as a hard-coded
48 * The instruction SMSW is emulated to return the value that the register CR0
50 * SLDT and STR are emulated to return the values that the kernel programmatically
141 * instruction that can be emulated.
146 * can be emulated.
149 * emulated.
191 * @data_size: Size of the emulated result
/linux-6.12.1/drivers/pci/controller/
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-6.12.1/arch/mips/include/asm/
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-6.12.1/Documentation/arch/powerpc/
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-6.12.1/drivers/md/
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()
458 MODULE_DESCRIPTION(DM_NAME " emulated block size target");
/linux-6.12.1/Documentation/userspace-api/
Dvduse.rst8 the hardware or emulated by software. VDUSE is a framework that makes it
9 possible to implement software-emulated vDPA devices in userspace. And
10 to make the device emulation more secure, the emulated vDPA device's
101 configuration space, the number of virtqueues and so on for this emulated device.

12345678910>>...17