Home
last modified time | relevance | path

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

12345678910>>...16

/Linux-v6.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()
198 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.c1328 enum emulation_result emulated = EMULATE_DONE; in kvmppc_handle_vsx_load() local
1335 emulated = __kvmppc_handle_load(vcpu, rt, bytes, in kvmppc_handle_vsx_load()
1338 if (emulated != EMULATE_DONE) in kvmppc_handle_vsx_load()
1346 return emulated; in kvmppc_handle_vsx_load()
1469 enum emulation_result emulated = EMULATE_DONE; in kvmppc_handle_vsx_store() local
1481 emulated = kvmppc_handle_store(vcpu, in kvmppc_handle_vsx_store()
1484 if (emulated != EMULATE_DONE) in kvmppc_handle_vsx_store()
1493 return emulated; in kvmppc_handle_vsx_store()
1499 enum emulation_result emulated = EMULATE_FAIL; in kvmppc_emulate_mmio_vsx_loadstore() local
1505 emulated = kvmppc_handle_vsx_load(vcpu, vcpu->arch.io_gpr, in kvmppc_emulate_mmio_vsx_loadstore()
[all …]
/Linux-v6.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-v6.1/arch/x86/kvm/
Dkvm_emulate.h58 * The emulator assumes that an instruction accesses only one 'emulated memory'
61 * stack operations are assumed never to access emulated memory. The emulator
63 * emulated memory, and assumes that the other operand accesses normal memory.
66 * 1. The emulator isn't very smart about emulated vs. standard memory.
67 * 'Emulated memory' access addresses should be checked for sanity.
107 * read_std: Read bytes of standard (non-emulated/special) memory.
120 * read_phys: Read bytes of standard (non-emulated/special) memory.
130 * write_std: Write bytes of standard (non-emulated/special) memory.
141 * fetch: Read bytes of standard (non-emulated/special) memory.
152 * read_emulated: Read bytes from emulated/special memory area.
[all …]
/Linux-v6.1/arch/x86/mm/
Dnuma_emulation.c54 pr_err("NUMA: Too many emulated memblks, failing emulation\n"); in emu_setup_memblk()
252 * The limit on emulated nodes is MAX_NUMNODES, so the in split_nodes_size_interleave_uniform()
351 * to reflect the emulated configuration on success. @numa_dist_cnt is
356 * - @numa_meminfo is updated to reflect the emulated nodes.
359 * emulated nodes.
361 * - NUMA distance table is rebuilt to represent distances between emulated
362 * nodes. The distances are determined considering how emulated nodes
365 * - emu_nid_to_phys[] reflects how emulated nodes are mapped to physical
465 * Determine the max emulated nid and the default phys nid to use in numa_emulation()
473 /* Make sure numa_nodes_parsed only contains emulated nodes */ in numa_emulation()
[all …]
/Linux-v6.1/Documentation/arm/
Dswp_emulation.rst9 Trapped instructions are emulated using an LDREX/STREX or LDREXB/STREXB
16 Emulated SWP: 12
17 Emulated SWPB: 0
/Linux-v6.1/drivers/target/loopback/
Dtcm_loop.c4 * for emulated SAS initiator ports
408 * Called from tcm_loop_fabric_init() in tcl_loop_fabric.c to load the emulated
748 pr_debug("TCM_Loop_ConfigFS: Established I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_make_nexus()
773 pr_debug("TCM_Loop_ConfigFS: Removing I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_drop_nexus()
777 * Release the SCSI I_T Nexus to the emulated Target Port in tcm_loop_drop_nexus()
827 pr_err("Emulated NAA Sas Address: %s, exceeds max: %d\n", in tcm_loop_tpg_nexus_store()
863 pr_err("Unable to locate prefix for emulated Initiator Port: %s\n", in tcm_loop_tpg_nexus_store()
979 * Register the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_make_naa_tpg()
985 pr_debug("TCM_Loop_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_loop_make_naa_tpg()
1007 * Deregister the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_drop_naa_tpg()
[all …]
/Linux-v6.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()
Dpmu.c319 bool emulated; in pmu_msr_read() local
321 if (!pmu_msr_chk_emulated(msr, val, true, &emulated)) in pmu_msr_read()
324 if (!emulated) { in pmu_msr_read()
335 bool emulated; in pmu_msr_write() local
337 if (!pmu_msr_chk_emulated(msr, &val, false, &emulated)) in pmu_msr_write()
340 if (!emulated) { in pmu_msr_write()
/Linux-v6.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-v6.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-v6.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-v6.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-v6.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-v6.1/Documentation/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-v6.1/drivers/md/
Ddm-ebs-target.c21 /* Emulated block size context. */
30 unsigned int e_bs; /* Emulated block size in sectors exposed to upper layer. */
238 * Construct an emulated block size mapping: <dev_path> <offset> <ebs> [<ubs>]
242 * <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()
474 MODULE_DESCRIPTION(DM_NAME " emulated block size target");
/Linux-v6.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.
/Linux-v6.1/drivers/mtd/ubi/
Ddebug.h71 * Returns non-zero if a bit-flip should be emulated, otherwise returns zero.
84 * Returns non-zero if a write failure should be emulated, otherwise returns
98 * Returns non-zero if an erase failure should be emulated, otherwise returns
/Linux-v6.1/arch/m68k/ifpsp060/
DCHANGES80 PC = PC of instruction being emulated
82 ADDRESS = PC of instruction being emulated
102 PC = PC of instruction being emulated
/Linux-v6.1/Documentation/virt/
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>>...16